summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-11-30 08:43:30 +0100
committerHans de Graaff <graaff@gentoo.org>2024-11-30 08:43:30 +0100
commit69100ce59250a7f26e17a2f1066de9155c11a113 (patch)
tree3fefb72af46e1f5523eed6816ec95a02f737e223 /dev-ruby
parentdev-ruby/regexp_parser: drop 2.8.2 (diff)
downloadgentoo-69100ce59250a7f26e17a2f1066de9155c11a113.tar.gz
gentoo-69100ce59250a7f26e17a2f1066de9155c11a113.tar.bz2
gentoo-69100ce59250a7f26e17a2f1066de9155c11a113.zip
dev-ruby/set: add 1.1.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/set/Manifest1
-rw-r--r--dev-ruby/set/set-1.1.1.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/set/Manifest b/dev-ruby/set/Manifest
index cf3985714a91..20d127f83b33 100644
--- a/dev-ruby/set/Manifest
+++ b/dev-ruby/set/Manifest
@@ -1 +1,2 @@
DIST set-1.1.0.tar.gz 14923 BLAKE2B 6f66a6fa53c7cd7b82ddeb91c1f820a5a062e21b3a9b0ce9df6ae433ed35b1fc9090adde43cb886435b6953f43ea59c1d7e7dc62de2b9d81ffacc342b2e19d76 SHA512 cc7b79ca07d1df9490cf6500c77afc4e972138a4d4c133e8eecbd1c2f80d5622c613040f36771beaeb1a8712f7a6c12dec592833b966f65be9beb454062e2970
+DIST set-1.1.1.tar.gz 15053 BLAKE2B 37ff1694da6f1bddd368550ece3c48bc9b727ab109a4ba37e576535a0c7d1349cbce4e30b49e6a5e2ee3d6c33e0580f9fbdd449a91ca9a19cc0eca351c5f39e8 SHA512 852fc3956769548af51ad0bd83dc26e07dc99496b11dbd2afc5111fee2d0c2fdb701e24d90f2b63ee98bb82cc9a0aeecda6a7f03db71894de10bfce6298b5f92
diff --git a/dev-ruby/set/set-1.1.1.ebuild b/dev-ruby/set/set-1.1.1.ebuild
new file mode 100644
index 000000000000..380232b03cf3
--- /dev/null
+++ b/dev-ruby/set/set-1.1.1.ebuild
@@ -0,0 +1,28 @@
+# 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_BINWRAP=""
+RUBY_FAKEGEM_GEMSPEC="set.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Provides a class to deal with collections of unordered, unique values"
+HOMEPAGE="https://github.com/ruby/set"
+SRC_URI="https://github.com/ruby/set/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+all_ruby_prepare() {
+ sed -e 's/git ls-files -z/find * -print0/' \
+ -e 's/__FILE__/"set.gemspec"/' \
+ -e 's/__dir__/"."/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ sed -e '/test_error/aomit "Fails when sorted_set gem is installed"' \
+ -i test/test_sorted_set.rb || die
+}