commit:     eeb02d4612b50e24827dded3371acd32f70542a4
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 13 13:47:54 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Feb 13 13:49:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeb02d46

dev-ruby/benchmark-ips: import of 2.9.2

New dependency for dev-ruby/activerecord

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/benchmark-ips/Manifest                   |  1 +
 dev-ruby/benchmark-ips/benchmark-ips-2.9.2.ebuild | 27 +++++++++++++++++++++++
 dev-ruby/benchmark-ips/metadata.xml               | 11 +++++++++
 3 files changed, 39 insertions(+)

diff --git a/dev-ruby/benchmark-ips/Manifest b/dev-ruby/benchmark-ips/Manifest
new file mode 100644
index 000000000000..3eb889e4448e
--- /dev/null
+++ b/dev-ruby/benchmark-ips/Manifest
@@ -0,0 +1 @@
+DIST benchmark-ips-2.9.2.gem 21504 BLAKE2B 
e1ff44841c42a2ac919bc33be517aab8c09ede32fcf2d72d143a21bbaf8c67a99ea8abcfc10a473afc456be735836fa44135ff3c295380bf21d09cc43337977e
 SHA512 
b20d80e42a6175a2c2b75be7a1d423b0ecd1aa201be9cb443f838bcdbfba08d54cdd5e43a203834d451b9ce37219b6e1c8227a5196ee84a132c7ed9fd9431270

diff --git a/dev-ruby/benchmark-ips/benchmark-ips-2.9.2.ebuild 
b/dev-ruby/benchmark-ips/benchmark-ips-2.9.2.ebuild
new file mode 100644
index 000000000000..cbdd985b2004
--- /dev/null
+++ b/dev-ruby/benchmark-ips/benchmark-ips-2.9.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_EXTRADOC="History.txt README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A iterations per second enhancement to Benchmark"
+HOMEPAGE="https://github.com/evanphx/benchmark-ips";
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+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
+}
+
+each_ruby_test() {
+       ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
+}

diff --git a/dev-ruby/benchmark-ips/metadata.xml 
b/dev-ruby/benchmark-ips/metadata.xml
new file mode 100644
index 000000000000..d1f507c20b56
--- /dev/null
+++ b/dev-ruby/benchmark-ips/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="project">
+    <email>r...@gentoo.org</email>
+    <name>Gentoo Ruby Project</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">evanphx/benchmark-ips</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to