summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-02-14 07:15:26 +0100
committerHans de Graaff <graaff@gentoo.org>2021-02-14 07:15:26 +0100
commit8ff72e410f7f60f3709608665c17825d063bf88a (patch)
tree35375b2ccd4601b951cbd0820d0e4e64238cc268 /dev-ruby/timers
parentdev-ruby/activeldap: add 6.1.0 (diff)
downloadgentoo-8ff72e410f7f60f3709608665c17825d063bf88a.tar.gz
gentoo-8ff72e410f7f60f3709608665c17825d063bf88a.tar.bz2
gentoo-8ff72e410f7f60f3709608665c17825d063bf88a.zip
dev-ruby/timers: add 4.3.3
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/timers')
-rw-r--r--dev-ruby/timers/Manifest1
-rw-r--r--dev-ruby/timers/timers-4.3.3.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/timers/Manifest b/dev-ruby/timers/Manifest
index cb9f3e390f69..124c4f3614c7 100644
--- a/dev-ruby/timers/Manifest
+++ b/dev-ruby/timers/Manifest
@@ -1,2 +1,3 @@
DIST timers-4.3.0.gem 14848 BLAKE2B b6dfa758b8b16fbc2a28da08df05ade4551d398cfcf1ce09cc080dac4ac6adda4e741a9c5dc89d71594fbc81e5b55303556b012b03bd836ab1f63f0565acafc4 SHA512 6783424cf79f7f36292198621f93e17540e93011146c3a33b1b14a118c31a508352e56e479e3df8d9692c6f95b366561f27b374611851e88ad3fb6bbd1606037
DIST timers-4.3.2.tar.gz 10741 BLAKE2B 2f04c012f161c3af53103e5c5f05da53f089b2db2b356cb271f3ad318c2b66d78a2275665b27fb718dfeab7e8f76993637153eae193616f84f3da1c3db42680d SHA512 306669da275e26f2902c05c94fd94caf15a37dafa6dc5ec16b3780091dea72ed6c2ff41d05139244ff1191f5630d3ffbab2718e04be67f784643386ca456f450
+DIST timers-4.3.3.tar.gz 12928 BLAKE2B af64b44116565a8cb6b68349de6a46e8b67d22508e16e204af104ed7a59cc1db1dae0c36917ccde1932c33e53d9d71fc57cb317570cc24aaee82531ce178f37c SHA512 4a715e4a786f98ec429a250de53cfa67bed6b5a99b6298c21251e6dcf1315f1185d8c45bea01025832046381ebac462cd35415f7573d58c55c30b47c2567d4bf
diff --git a/dev-ruby/timers/timers-4.3.3.ebuild b/dev-ruby/timers/timers-4.3.3.ebuild
new file mode 100644
index 000000000000..fe52c2bb6f01
--- /dev/null
+++ b/dev-ruby/timers/timers-4.3.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="timers.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Pure Ruby one-shot and periodic timers"
+HOMEPAGE="https://github.com/tarcieri/timers"
+SRC_URI="https://github.com/tarcieri/timers/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="4"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ sed -i -e '/bundler/I s:^:#:' spec/spec_helper.rb || die
+ sed -i -e '/covered/ s:^:#:' spec/spec_helper.rb || die
+
+ # Avoid performance specs to avoid ruby-prof dependency and
+ # because we cannot provide a good environment for performance testing.
+ rm -f spec/timers/performance_spec.rb || die
+}