public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/benchmark/
@ 2024-11-08 14:22 Hans de Graaff
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff @ 2024-11-08 14:22 UTC (permalink / raw
  To: gentoo-commits

commit:     611769c7b2c506b31168f45ba4358da41b313e1e
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  8 10:51:17 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Nov  8 14:22:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=611769c7

dev-ruby/benchmark: new package, add 0.4.0

Extracted from dev-lang/ruby, keeping its keywords.

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/benchmark/Manifest               |  1 +
 dev-ruby/benchmark/benchmark-0.4.0.ebuild | 27 +++++++++++++++++++++++++++
 dev-ruby/benchmark/metadata.xml           | 12 ++++++++++++
 3 files changed, 40 insertions(+)

diff --git a/dev-ruby/benchmark/Manifest b/dev-ruby/benchmark/Manifest
new file mode 100644
index 000000000000..b76fc430ad81
--- /dev/null
+++ b/dev-ruby/benchmark/Manifest
@@ -0,0 +1 @@
+DIST benchmark-0.4.0.tar.gz 11561 BLAKE2B 81dca57ab141fcd446738ebeb83dbbe02190ccd05a113871c6dd5950da3706c9e7453a6866e4bddf76724404c92a5b481c0ee6cf5661672228049e7772d30d35 SHA512 08876e837fb0fac08cc8cf9af06f19e3bea20e1d14d9ab94a3eb9be17c9603bf54b253e76ca9bd1a54b65f814578ce8b880ba861fea195b1037e1259d450e55f

diff --git a/dev-ruby/benchmark/benchmark-0.4.0.ebuild b/dev-ruby/benchmark/benchmark-0.4.0.ebuild
new file mode 100644
index 000000000000..5b30d74c345b
--- /dev/null
+++ b/dev-ruby/benchmark/benchmark-0.4.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_GEMSPEC="benchmark.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A performance benchmarking library"
+HOMEPAGE="https://github.com/ruby/benchmark"
+SRC_URI="https://github.com/ruby/benchmark/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Ruby BSD-2"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+
+all_ruby_prepare() {
+	sed -e 's:_relative ": "./:' \
+		-e 's/__FILE__/"benchmark.gemspec"/' \
+		-e 's/__dir__/"."/' \
+		-i ${RUBY_FAKEGEM_GEMSPEC} || die
+}

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/benchmark/
@ 2024-12-30  7:58 Hans de Graaff
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff @ 2024-12-30  7:58 UTC (permalink / raw
  To: gentoo-commits

commit:     5f342eb23d48b3602a02ddcb6fb4b10a45799dbb
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 30 07:50:49 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Dec 30 07:58:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f342eb2

dev-ruby/benchmark: enable ruby34

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/benchmark/benchmark-0.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/benchmark/benchmark-0.4.0.ebuild b/dev-ruby/benchmark/benchmark-0.4.0.ebuild
index 5b30d74c345b..f6770e98461e 100644
--- a/dev-ruby/benchmark/benchmark-0.4.0.ebuild
+++ b/dev-ruby/benchmark/benchmark-0.4.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby31 ruby32 ruby33"
+USE_RUBY="ruby31 ruby32 ruby33 ruby34"
 
 RUBY_FAKEGEM_EXTRADOC="README.md"
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-30  7:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-08 14:22 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/benchmark/ Hans de Graaff
  -- strict thread matches above, loose matches on Subject: below --
2024-12-30  7:58 Hans de Graaff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox