summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-09-07 07:08:35 +0200
committerHans de Graaff <graaff@gentoo.org>2020-09-07 07:20:36 +0200
commit1621120e44087b8e288f428e6deb6afd5cce4ad0 (patch)
tree12697bb6f71a71e15d8be0d5b18a115a40a27446 /dev-ruby/timers
parentmail-filter/gld: ppc stable (bug #739586) (diff)
downloadgentoo-1621120e44087b8e288f428e6deb6afd5cce4ad0.tar.gz
gentoo-1621120e44087b8e288f428e6deb6afd5cce4ad0.tar.bz2
gentoo-1621120e44087b8e288f428e6deb6afd5cce4ad0.zip
dev-ruby/timers: add 4.3.2
Package-Manager: Portage-3.0.4, Repoman-3.0.1 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.2.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/timers/Manifest b/dev-ruby/timers/Manifest
index 4a2bfb665a49..cb9f3e390f69 100644
--- a/dev-ruby/timers/Manifest
+++ b/dev-ruby/timers/Manifest
@@ -1 +1,2 @@
DIST timers-4.3.0.gem 14848 BLAKE2B b6dfa758b8b16fbc2a28da08df05ade4551d398cfcf1ce09cc080dac4ac6adda4e741a9c5dc89d71594fbc81e5b55303556b012b03bd836ab1f63f0565acafc4 SHA512 6783424cf79f7f36292198621f93e17540e93011146c3a33b1b14a118c31a508352e56e479e3df8d9692c6f95b366561f27b374611851e88ad3fb6bbd1606037
+DIST timers-4.3.2.tar.gz 10741 BLAKE2B 2f04c012f161c3af53103e5c5f05da53f089b2db2b356cb271f3ad318c2b66d78a2275665b27fb718dfeab7e8f76993637153eae193616f84f3da1c3db42680d SHA512 306669da275e26f2902c05c94fd94caf15a37dafa6dc5ec16b3780091dea72ed6c2ff41d05139244ff1191f5630d3ffbab2718e04be67f784643386ca456f450
diff --git a/dev-ruby/timers/timers-4.3.2.ebuild b/dev-ruby/timers/timers-4.3.2.ebuild
new file mode 100644
index 000000000000..33868f0c914d
--- /dev/null
+++ b/dev-ruby/timers/timers-4.3.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 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 ~x86-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
+}