summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-08-17 07:50:48 +0200
committerHans de Graaff <graaff@gentoo.org>2015-08-17 07:51:05 +0200
commit4a9362fe8165bad070c513fdcd998620d3fb136f (patch)
treeb5171a0e6bcc6b773b86c432c7fce57926bfc56e /dev-ruby/timers
parentdev-python/pywavelets: bump & update phases re distutils-r1 (diff)
downloadgentoo-4a9362fe8165bad070c513fdcd998620d3fb136f.tar.gz
gentoo-4a9362fe8165bad070c513fdcd998620d3fb136f.tar.bz2
gentoo-4a9362fe8165bad070c513fdcd998620d3fb136f.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.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/timers/Manifest b/dev-ruby/timers/Manifest
index aad60dc92d59..5b2982413548 100644
--- a/dev-ruby/timers/Manifest
+++ b/dev-ruby/timers/Manifest
@@ -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
index 000000000000..33b904bf3c56
--- /dev/null
+++ b/dev-ruby/timers/timers-4.1.0.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
+}