dev-ruby/timers: version bump
authorHans de Graaff <graaff@gentoo.org>
Mon, 17 Aug 2015 05:50:48 +0000 (07:50 +0200)
committerHans de Graaff <graaff@gentoo.org>
Mon, 17 Aug 2015 05:51:05 +0000 (07:51 +0200)
Package-Manager: portage-2.2.20.1

dev-ruby/timers/Manifest
dev-ruby/timers/timers-4.1.0.ebuild [new file with mode: 0644]

index aad60dc92d5972b85538fb422816926a05cf8204..5b2982413548e8cb941c63339bed922767842ffa 100644 (file)
@@ -1 +1,2 @@
 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
diff --git a/dev-ruby/timers/timers-4.1.0.ebuild b/dev-ruby/timers/timers-4.1.0.ebuild
new file mode 100644 (file)
index 0000000..33b904b
--- /dev/null
@@ -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
+}