summaryrefslogtreecommitdiff
path: root/dev-ruby/benchmark
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-09 03:03:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-09 03:03:12 +0000
commit2be329ae14bbf99f0fc4de7567e2386bbb529fdc (patch)
tree99e1d21f40429392d5eb255ec008fdd96e4fa284 /dev-ruby/benchmark
parent2cd9ff612e84f0c1ef63c9e9e13be53fe576cc2b (diff)
gentoo auto-resync : 09:11:2024 - 03:03:12
Diffstat (limited to 'dev-ruby/benchmark')
-rw-r--r--dev-ruby/benchmark/Manifest3
-rw-r--r--dev-ruby/benchmark/benchmark-0.4.0.ebuild27
-rw-r--r--dev-ruby/benchmark/metadata.xml12
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/benchmark/Manifest b/dev-ruby/benchmark/Manifest
new file mode 100644
index 000000000000..e463afd7e328
--- /dev/null
+++ b/dev-ruby/benchmark/Manifest
@@ -0,0 +1,3 @@
+DIST benchmark-0.4.0.tar.gz 11561 BLAKE2B 81dca57ab141fcd446738ebeb83dbbe02190ccd05a113871c6dd5950da3706c9e7453a6866e4bddf76724404c92a5b481c0ee6cf5661672228049e7772d30d35 SHA512 08876e837fb0fac08cc8cf9af06f19e3bea20e1d14d9ab94a3eb9be17c9603bf54b253e76ca9bd1a54b65f814578ce8b880ba861fea195b1037e1259d450e55f
+EBUILD benchmark-0.4.0.ebuild 796 BLAKE2B a1a727f73f2693fc9e0d325afda01f9f03db778dea4d341f190b3d6eb2808d0792c6dafc100436ddcb0ea89700f5944b75d51a194c7faa4b09910a0871d54f3b SHA512 5ebfe8065c13fffbec5c8fc9f3d9db14db55ab7e0a83812b10640289024676f976fd95ce04dbb44c42cd2890260585feddda065048ab74fd13a1ffb78c2f2319
+MISC metadata.xml 397 BLAKE2B f242344646e1d49b8b20bb86b7dafcb83f1e4bd1f2c666754240120ac05cb5d59aa22a7f20501269ba6614d4451e70cac2c8a7f2bfcf23cf9b12f88c63f243c7 SHA512 161963ec6d12317f15446101ffbb0a2bf3521a21e4f12efff96a419383c1f5bd27d6418646a47825d0838f75b5adaca12638cba5fd17cb5e48aa62a62b3583fa
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>