summaryrefslogtreecommitdiff
path: root/dev-ruby/bsearch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/bsearch')
-rw-r--r--dev-ruby/bsearch/Manifest1
-rw-r--r--dev-ruby/bsearch/bsearch-1.5.0-r4.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/bsearch/Manifest b/dev-ruby/bsearch/Manifest
index e62bacd47039..ab8c400bc34c 100644
--- a/dev-ruby/bsearch/Manifest
+++ b/dev-ruby/bsearch/Manifest
@@ -1,3 +1,4 @@
DIST bsearch-1.5.0.gem 27648 BLAKE2B 6b57cfbdfbb56df9c1c8374fccc59746241a7571aa7328519ef2f5c85e13e0cf8f54c90cb55deef2b08a902c9123c63d0b299ca7026ccde9b02aad02d4411181 SHA512 6246921be42e15ac35cf862833e156a01a0de9e0d2bff53af8eaadb3e7a512b7ab1e9dbef5b05282b82b26e589e45ecb6e31567b382dfc6eb62757e658cdc660
EBUILD bsearch-1.5.0-r3.ebuild 603 BLAKE2B f2e297486b984d06ed376301798f0230ee19cc9f3c1c8db156ff95d34119c4ad8fb1b8501ac151547278f790989f5b7ec9aefc08a071beb1f07709385415f534 SHA512 d891741412f9ce43aca3e17127df08241694bd098ebb9fb99c102a6f4c080fea9198a632258a4d050e9e266701c8cc5b66db47c53b4c5479afd1575db258fad4
+EBUILD bsearch-1.5.0-r4.ebuild 600 BLAKE2B 9d3912a8b0e6aba557a41ea6e93ef0a579009e0edb37fcfa674406cc98fb6c2c19d152bbd533e6cb057e702e9a8caa2bda58efed1207e0d7b40b064527eb87c8 SHA512 b9f16395d0112cce5484e99a3119b53c7e1ca475c91097db3805213ca8672addeb7a2607571d8570b91f8294f80631ed70d3dd9a79335afb1975bc1fcb50831f
MISC metadata.xml 248 BLAKE2B 0c876bde3c72e61d28284a95a837103e6d594c9f6fccbd6d7d1039f9c5a604347c20c334c9a57d80b152888fed536196f2807b477e8d0336c80affb0e28c9dc9 SHA512 b2b64178cf6cbbaa5fb4671ffe1ab88b83c920de363ae099ef74fa3e5eb8c8f0285c749cabc0cebf344951503d1b7309ae294afe9e7cf5172700182d8843fa14
diff --git a/dev-ruby/bsearch/bsearch-1.5.0-r4.ebuild b/dev-ruby/bsearch/bsearch-1.5.0-r4.ebuild
new file mode 100644
index 000000000000..7114761df7a9
--- /dev/null
+++ b/dev-ruby/bsearch/bsearch-1.5.0-r4.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_EXTRADOC="doc/*"
+
+USE_RUBY="ruby30 ruby31 ruby32"
+
+inherit ruby-fakegem
+DESCRIPTION="A binary search library for Ruby"
+HOMEPAGE="http://0xcc.net/ruby-bsearch/"
+
+LICENSE="Ruby-BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -i 's/ruby/\$\{RUBY\}/' test/test.sh || die
+}
+
+each_ruby_test() {
+ pushd test
+ RUBY=${RUBY} sh test.sh || die
+ popd
+}