diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-11-07 07:28:52 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-11-07 08:18:14 +0100 |
commit | b8ef9f9bde3626e197975cf58bd49129dce99d1a (patch) | |
tree | 9a1a48dcf5741f4edd7d6c95c3bc09c20d46443e /dev-ruby/timers | |
parent | dev-ruby/stringex: add 2.8.5 (diff) | |
download | gentoo-b8ef9f9bde3626e197975cf58bd49129dce99d1a.tar.gz gentoo-b8ef9f9bde3626e197975cf58bd49129dce99d1a.tar.bz2 gentoo-b8ef9f9bde3626e197975cf58bd49129dce99d1a.zip |
dev-ruby/timers: add 4.2.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/timers')
-rw-r--r-- | dev-ruby/timers/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/timers/timers-4.2.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/timers/Manifest b/dev-ruby/timers/Manifest index dd0b261df24b..ba4c3e20b5ca 100644 --- a/dev-ruby/timers/Manifest +++ b/dev-ruby/timers/Manifest @@ -1 +1,2 @@ DIST timers-4.1.2.gem 15360 BLAKE2B 2480b6051825e26c9c30418e4acd7f9d8d0173d21038349ff16c086a2712eff7e9349720d270ed6505d8f90b14fc4dc99cf06d948922a222196d338b7933b5a8 SHA512 8c43f6ab09b918fc047056de20e85371929cd6841d7e26dedf54d565585eba040e23cef83c8747eb0ec43df8c9d9cf5915b5ea0ac6f6d551a0b086de3a9f3499 +DIST timers-4.2.0.gem 14848 BLAKE2B 0d3c1b70e6b4dade1664eac6951dfa1ff876098747d2f6eab21a2dff2f334cd614ac2c73e0651b93e92b3850c7933445a14bc4f43b50adbf1895b49c05d9507d SHA512 c5516c45e47bcd35bb5f16be0ddb31a2b1370bf06ee833c50b3121a7c36437fb418c58986b0d71979cd01af47bceb1ccd2ff50b1472592868175c4271c85e15c diff --git a/dev-ruby/timers/timers-4.2.0.ebuild b/dev-ruby/timers/timers-4.2.0.ebuild new file mode 100644 index 000000000000..25acc7e22960 --- /dev/null +++ b/dev-ruby/timers/timers-4.2.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="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 + + # 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 +} |