diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-03-13 09:26:14 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-03-14 07:33:57 +0100 |
commit | c75859c2c8eed38501c9cce375468467580b6ad6 (patch) | |
tree | 2672a674adcb4ca92616fbaa97829a8e9e5affd2 /dev-ruby/benchmark-ips | |
parent | dev-ruby/net-ssh: add ruby30; EAPI 8 (diff) | |
download | gentoo-c75859c2c8eed38501c9cce375468467580b6ad6.tar.gz gentoo-c75859c2c8eed38501c9cce375468467580b6ad6.tar.bz2 gentoo-c75859c2c8eed38501c9cce375468467580b6ad6.zip |
dev-ruby/benchmark-ips: add 2.10.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/benchmark-ips')
-rw-r--r-- | dev-ruby/benchmark-ips/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/benchmark-ips/benchmark-ips-2.10.0.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/benchmark-ips/Manifest b/dev-ruby/benchmark-ips/Manifest index 3eb889e4448e..c108e1b48b17 100644 --- a/dev-ruby/benchmark-ips/Manifest +++ b/dev-ruby/benchmark-ips/Manifest @@ -1 +1,2 @@ +DIST benchmark-ips-2.10.0.tar.gz 19840 BLAKE2B 53c219921144632dc91971fa3558bcaf106887d7deafbd7145c1ad12d09d37ecbe17dd07a3da7f8a2c5bedea4a228d76d72bd8e54b14c94c4b21f2e9823cb8f6 SHA512 aeb86bfd80c6ac6a16df8dced2681e81bcb6a0a31848524956b348cd699addebdda4b1a32c6eab85884b89bfb9c26e01f40af7da5a58e187af3a737ad582b8dc DIST benchmark-ips-2.9.2.gem 21504 BLAKE2B e1ff44841c42a2ac919bc33be517aab8c09ede32fcf2d72d143a21bbaf8c67a99ea8abcfc10a473afc456be735836fa44135ff3c295380bf21d09cc43337977e SHA512 b20d80e42a6175a2c2b75be7a1d423b0ecd1aa201be9cb443f838bcdbfba08d54cdd5e43a203834d451b9ce37219b6e1c8227a5196ee84a132c7ed9fd9431270 diff --git a/dev-ruby/benchmark-ips/benchmark-ips-2.10.0.ebuild b/dev-ruby/benchmark-ips/benchmark-ips-2.10.0.ebuild new file mode 100644 index 000000000000..ea565378aba9 --- /dev/null +++ b/dev-ruby/benchmark-ips/benchmark-ips-2.10.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md" +RUBY_FAKEGEM_GEMSPEC="benchmark-ips.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A iterations per second enhancement to Benchmark" +HOMEPAGE="https://github.com/evanphx/benchmark-ips" +SRC_URI="https://github.com/evanphx/benchmark-ips/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~riscv ~sparc ~x86" +SLOT="0" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.6:5 )" + +all_ruby_prepare() { + sed -i -e '1i require "tempfile"' test/test_benchmark_ips.rb || die + sed -i -e 's/git ls-files --/find/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} |