commit:     6ffa077cb646310056b8d3bd122fd13d6d5e864a
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 15 06:14:25 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Jun 15 06:14:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ffa077c

dev-ruby/immutable-ruby: new package, add 0.1.0

New dependency for forthcoming nanoc release, replacing
dev-ruby/hamster.

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

 dev-ruby/immutable-ruby/Manifest                   |  1 +
 .../immutable-ruby/immutable-ruby-0.1.0.ebuild     | 33 ++++++++++++++++++++++
 dev-ruby/immutable-ruby/metadata.xml               | 12 ++++++++
 3 files changed, 46 insertions(+)

diff --git a/dev-ruby/immutable-ruby/Manifest b/dev-ruby/immutable-ruby/Manifest
new file mode 100644
index 000000000000..c9f514f4076f
--- /dev/null
+++ b/dev-ruby/immutable-ruby/Manifest
@@ -0,0 +1 @@
+DIST immutable-ruby-0.1.0.tar.gz 134479 BLAKE2B 
c113ab9bf6b9accdc40eed351cc3177745e52926546d3c4c001786b47790b2c2eba97dfd0751000fd51ad11eb760039c82a2c6f0618776d87a460a16bfc1b9cf
 SHA512 
3136884f791f0d9c1e460a848192723753f5c63f230faa2cec32445ea875392871d38de09222521fd78493397561a4dddbc61e9b020d5089d1c90694c46bde19

diff --git a/dev-ruby/immutable-ruby/immutable-ruby-0.1.0.ebuild 
b/dev-ruby/immutable-ruby/immutable-ruby-0.1.0.ebuild
new file mode 100644
index 000000000000..6078251ff622
--- /dev/null
+++ b/dev-ruby/immutable-ruby/immutable-ruby-0.1.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_GEMSPEC="immutable-ruby.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+# Releases are not tagged upstream
+COMMIT=84dba7382284fe7e85816a65abf5c2fc9bbc089e
+
+inherit ruby-fakegem
+
+DESCRIPTION="Efficient, immutable, thread-safe collection classes for Ruby"
+HOMEPAGE="https://github.com/immutable-ruby/immutable-ruby";
+SRC_URI="https://github.com/immutable-ruby/immutable-ruby/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
+RUBY_S="${PN}-${COMMIT}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+       >=dev-ruby/concurrent-ruby-1.1:1
+       dev-ruby/sorted_set:0
+"
+
+all_ruby_prepare() {
+       sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb 
spec/lib/immutable/vector/insert_spec.rb || die
+}

diff --git a/dev-ruby/immutable-ruby/metadata.xml 
b/dev-ruby/immutable-ruby/metadata.xml
new file mode 100644
index 000000000000..061e7a1bb6bb
--- /dev/null
+++ b/dev-ruby/immutable-ruby/metadata.xml
@@ -0,0 +1,12 @@
+<?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">immutable-ruby/immutable-ruby</remote-id>
+    <remote-id type="rubygems">immutable-ruby</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to