summaryrefslogtreecommitdiff
path: root/dev-ruby/benchmark-ips
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/benchmark-ips')
-rw-r--r--dev-ruby/benchmark-ips/Manifest2
-rw-r--r--dev-ruby/benchmark-ips/benchmark-ips-2.13.0.ebuild30
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/benchmark-ips/Manifest b/dev-ruby/benchmark-ips/Manifest
index d4a38bc3bc5a..974f404625ff 100644
--- a/dev-ruby/benchmark-ips/Manifest
+++ b/dev-ruby/benchmark-ips/Manifest
@@ -1,3 +1,5 @@
DIST benchmark-ips-2.12.0.tar.gz 20676 BLAKE2B 1473fb8cc42d62cf6b7206d91c9d959707109e3ade9d712d82ab5ccfdcc48bb4874bae4c37370561aa60fe8c99078564a22a5a216daa6b870015329db1094af1 SHA512 ad4a7133b73d3ead583513704cbf00ef858b7fc5477686d3841614f05a83f3b4551b1fcab78e9a8affe7c8487112d9fde5012bf8a8e13621d289d792ff27c061
+DIST benchmark-ips-2.13.0.tar.gz 20781 BLAKE2B 61a04395559a75b012c168345926f0f92954453081da4a0280b99f95f91c66633b04f99caf485a2b35036428719149154792e463cf7b4f6ab57c176506456235 SHA512 a167dbd4ecaf233c36da7cbfb2283447124ef190b174dc4f9f3281bf4de01b86044e55972fd25560b2612b1eed329e6f2d737f16d2e0961e04fce861b64a747f
EBUILD benchmark-ips-2.12.0.ebuild 875 BLAKE2B 56a5e7c946bc0491ba5dafbddd8da062c9140c408281f76b12ed1950730bae924e82553e8a1fba0834ef208bc060919f24c0d8ba2d896ca576352bed07b366b5 SHA512 82d7676ce0f050935ebc073c91d7965dd8c2b783df96552e2f383ab77f6da9c2a5c4d1674d713baaf96a348b0d4d2adabda7a3bb63107b752aceec8c50fd3783
+EBUILD benchmark-ips-2.13.0.ebuild 863 BLAKE2B 6dc5fa16228fefbe4cb1cf4dd9386f9bcbbc240f0a162f39d7248a8e0fe5c58b7bdd221afebfed33c3eef9b01503d96e379b94268a43d0d2d60dd93652c402f5 SHA512 ed7af1b937fb76124a285590b1912db993ee0b6218af9421ba9c08aaae9baec71a3d0dbc2256d69dfef042eb8072ed49a379d29c304e9f4658bc30eed5b3be32
MISC metadata.xml 348 BLAKE2B 2c14d35b0157af73ef1085f5a1997ea79d342463d29afa1556b14cdc7edf9d305dfc90bab8020707b3974adce83adb7c56bb04ef372388da329ffddb8ccf3712 SHA512 7e2cad94bf587518835350f2abcb06f7096b3283ebc1f9b22eb1b7d8ea8b21edd5fd9aaf963a9461d57eca7290dcb98c5f6c9a4d0a0cbae4308a6b7448479063
diff --git a/dev-ruby/benchmark-ips/benchmark-ips-2.13.0.ebuild b/dev-ruby/benchmark-ips/benchmark-ips-2.13.0.ebuild
new file mode 100644
index 000000000000..0dbd0377103b
--- /dev/null
+++ b/dev-ruby/benchmark-ips/benchmark-ips-2.13.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+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 ~ppc ~ppc64 ~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
+}