summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-08-24 06:58:37 +0200
committerHans de Graaff <graaff@gentoo.org>2015-08-24 06:58:37 +0200
commit1291d0d1acd80ed42e59014b5169ca491700e072 (patch)
tree2e384b0f7372d0a070681beccd7959af55ed8cc9 /dev-ruby/timers
parentnet-misc/youtube-dl: Version bump. (diff)
downloadgentoo-1291d0d1acd80ed42e59014b5169ca491700e072.tar.gz
gentoo-1291d0d1acd80ed42e59014b5169ca491700e072.tar.bz2
gentoo-1291d0d1acd80ed42e59014b5169ca491700e072.zip
dev-ruby/timers: version bump
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby/timers')
-rw-r--r--dev-ruby/timers/Manifest1
-rw-r--r--dev-ruby/timers/timers-4.1.1.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/timers/Manifest b/dev-ruby/timers/Manifest
index 5b2982413548..1e1f43f7c5e3 100644
--- a/dev-ruby/timers/Manifest
+++ b/dev-ruby/timers/Manifest
@@ -1,2 +1,3 @@
DIST timers-4.0.1.gem 14848 SHA256 f45ca1b8ce6b26e29226c2144c512801a9019c3e781054d878c205cb0fd8500d SHA512 4fb0b70d845885bd1863831795b4094a5e282797641cbe95045ed013a5b5caa404da6ed60a148e3c313988c5acdf0042b0021dd476585f5032099895aaef283d WHIRLPOOL 6c33918e5b685dbee889657bf202b71575ece24797b8c629ac27433905e0505c72fe1f15fc75975d35a4e5ddc75e18a2b0aa0626132c5dec8f91daed23bad6db
DIST timers-4.1.0.gem 15360 SHA256 4c7a57998202d1e911dd3200e4834bb0c7efd87905670aa24ac22a4813b73e44 SHA512 8cff4c7d211f7f2f13017d6362d29fa91b771d4e1b7e4743c05799aea5002ee926a1563985849e762e7ce2c3b77cc8937999e9cd0e7bb4c528a90751f0f9e173 WHIRLPOOL 41a6e441568e2bbc923a730c2b3ef46dd2b895d346d7b9df9d2c68115540e3dfae8510d0b0ebda93f886217eaf22af4ad00c26667c69d248fa9ca8068edc96d7
+DIST timers-4.1.1.gem 15360 SHA256 8ccb9a3918a57e0aca8fb52516b4d89b86c553f3df002d4be32bcd4ce2356ce9 SHA512 7652612737b1d20135eae02f02bfefa57c8a6cb6923ec69af32810d6f0fb9e924d727efa66b0832424bc35b6d7099a968eee77dfd2db3803959f517e1ca7f683 WHIRLPOOL 701d31cd868d2ba38432f0164b911e68c4cc0481597c07ea8181c1438f92aae277c885f6105bb7fb53876c5bbef2ea2ddb909d398dffabdb338a6c030a0289eb
diff --git a/dev-ruby/timers/timers-4.1.1.ebuild b/dev-ruby/timers/timers-4.1.1.ebuild
new file mode 100644
index 000000000000..33b904bf3c56
--- /dev/null
+++ b/dev-ruby/timers/timers-4.1.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Pure Ruby one-shot and periodic timers"
+HOMEPAGE="https://github.com/tarcieri/timers"
+
+LICENSE="MIT"
+SLOT="4"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/hitimes"
+
+all_ruby_prepare() {
+ rm Gemfile || die
+ sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die
+ sed -i -e '/coveralls/ s:^:#:' spec/spec_helper.rb || die
+ sed -i -e '/Coveralls/ s:^:#:' spec/spec_helper.rb || die
+
+ # Remove performance spec due to dependencies and being to dependent
+ # on machine specifics.
+ rm spec/performance_spec.rb
+
+ # Remove rspec3 configuration so we can still run with rspec2.
+ sed -e '/expose/ s:^:#:' -i spec/spec_helper.rb || die
+}