summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-11-28 07:40:41 +0100
committerHans de Graaff <graaff@gentoo.org>2016-11-28 07:40:41 +0100
commit9102a5e2fe033f86434edcf871dbc9808944e3bb (patch)
treed09bba6faeae796a3aa95cb16bf54c241b027a4e /dev-ruby/timers
parentdev-ruby/power_assert: add 0.4.1 (diff)
downloadgentoo-9102a5e2fe033f86434edcf871dbc9808944e3bb.tar.gz
gentoo-9102a5e2fe033f86434edcf871dbc9808944e3bb.tar.bz2
gentoo-9102a5e2fe033f86434edcf871dbc9808944e3bb.zip
dev-ruby/timers: add 4.1.2
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/timers')
-rw-r--r--dev-ruby/timers/Manifest1
-rw-r--r--dev-ruby/timers/timers-4.1.2.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/timers/Manifest b/dev-ruby/timers/Manifest
index 1e1f43f7c5e3..5b2a7ae64016 100644
--- a/dev-ruby/timers/Manifest
+++ b/dev-ruby/timers/Manifest
@@ -1,3 +1,4 @@
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
+DIST timers-4.1.2.gem 15360 SHA256 a7a7148409d5d6a7c04624277f4cc99f7748b40be394afcc4187ada73c2a5d71 SHA512 8c43f6ab09b918fc047056de20e85371929cd6841d7e26dedf54d565585eba040e23cef83c8747eb0ec43df8c9d9cf5915b5ea0ac6f6d551a0b086de3a9f3499 WHIRLPOOL b41d0e36be3c76f7201fce5f77df802e933dc3784a03f9639c558c93dfa302c4a1651df02820ade68de2b7ccf0cc61d904f4a417ae4afa8595ca46ce173cf389
diff --git a/dev-ruby/timers/timers-4.1.2.ebuild b/dev-ruby/timers/timers-4.1.2.ebuild
new file mode 100644
index 000000000000..3e47ae421983
--- /dev/null
+++ b/dev-ruby/timers/timers-4.1.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+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 ~arm ~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
+}