summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2019-11-21 06:10:29 +0100
committerHans de Graaff <hans@degraaff.org>2019-11-21 06:10:29 +0100
commit9db9226df6a3a7a69f604ae17a7bd4b74f4d8283 (patch)
tree614df1f77dd454c4a0a53d5ab281e605a0636aeb /dev-ruby/icalendar-recurrence
parentdev-ruby/mixlib-config: add 3.0.5 (diff)
downloadgraaff-9db9226df6a3a7a69f604ae17a7bd4b74f4d8283.tar.gz
graaff-9db9226df6a3a7a69f604ae17a7bd4b74f4d8283.tar.bz2
graaff-9db9226df6a3a7a69f604ae17a7bd4b74f4d8283.zip
dev-ruby/icalendar-recurrence: add 1.1.3
Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Hans de Graaff <hans@degraaff.org>
Diffstat (limited to 'dev-ruby/icalendar-recurrence')
-rw-r--r--dev-ruby/icalendar-recurrence/Manifest1
-rw-r--r--dev-ruby/icalendar-recurrence/icalendar-recurrence-1.1.3.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/icalendar-recurrence/Manifest b/dev-ruby/icalendar-recurrence/Manifest
index fb13426c..6b7a02c8 100644
--- a/dev-ruby/icalendar-recurrence/Manifest
+++ b/dev-ruby/icalendar-recurrence/Manifest
@@ -1 +1,2 @@
DIST icalendar-recurrence-1.1.2.gem 15872 BLAKE2B b7a6d60b5d312f7ea5a99218debc0e12ddc6272a3611727d8140881f2ad1b644b87f37f70966a16d549c66e8f5d559467de47bf9287fb2b9c1a3d154e8399665 SHA512 9652b7067f8806de9eefe9f749e32253629aba6d5f208d46fc89078d0d988c8c9037e0e356f94737ce5ecdd102bcdfddb49657415dfeaa9f586de50fe89386de
+DIST icalendar-recurrence-1.1.3.gem 16384 BLAKE2B f3a1594d7e554592e113b93dd3d46f23b51d42b5c70eb64995b495995a791dfed9e13d0eeb5120da49fecc0544db94bbe004555aeb9999216375a0f75981fd67 SHA512 4dfdeb93b93851524339415783daf4286faeaafd361625b2d684594bf0193e4815c5cb3e6bd23fe20f11a53a329d31b42be1f461d3f94ec872eafe3c78621dff
diff --git a/dev-ruby/icalendar-recurrence/icalendar-recurrence-1.1.3.ebuild b/dev-ruby/icalendar-recurrence/icalendar-recurrence-1.1.3.ebuild
new file mode 100644
index 00000000..32c76cc7
--- /dev/null
+++ b/dev-ruby/icalendar-recurrence/icalendar-recurrence-1.1.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC=${PN}.gemspec
+
+inherit ruby-fakegem
+
+DESCRIPTION="Provides recurrence to icalendar gem"
+HOMEPAGE="https://github.com/icalendar/icalendar-recurrence"
+LICENSE="|| ( GPL-2 BSD Ruby )"
+
+KEYWORDS="~amd64"
+SLOT="1"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/icalendar:2 >=dev-ruby/ice_cube-0.16"
+
+all_ruby_prepare() {
+ sed -i -e '/\(awesome\|pry\)/ s:^:#:' spec/spec_helper.rb || die
+
+ # Avoid output on STDOUT for warnings
+ # https://github.com/icalendar/icalendar-recurrence/issues/13
+ sed -i -e '58 s/warn/#warn/' lib/icalendar/recurrence/schedule.rb || die
+}