summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-08-07 09:30:49 +0200
committerHans de Graaff <graaff@gentoo.org>2021-08-07 09:30:49 +0200
commit5aa63c09fff50e91049428b864f6fb08f201e94e (patch)
tree288e0cb53e90ecf2421dcd7e0e7e4b169afbce79 /dev-ruby/set
parentdev-ruby/rr: add 3.0.6 (diff)
downloadgentoo-5aa63c09fff50e91049428b864f6fb08f201e94e.tar.gz
gentoo-5aa63c09fff50e91049428b864f6fb08f201e94e.tar.bz2
gentoo-5aa63c09fff50e91049428b864f6fb08f201e94e.zip
dev-ruby/set: initial import of 1.0.1
New indirect dependency of dev-ruby/bunny. Code extraced from dev-lang/ruby. Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/set')
-rw-r--r--dev-ruby/set/Manifest1
-rw-r--r--dev-ruby/set/metadata.xml8
-rw-r--r--dev-ruby/set/set-1.0.1.ebuild23
3 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/set/Manifest b/dev-ruby/set/Manifest
new file mode 100644
index 000000000000..a6c44f426863
--- /dev/null
+++ b/dev-ruby/set/Manifest
@@ -0,0 +1 @@
+DIST set-1.0.1.tar.gz 12567 BLAKE2B 0677108ff15108fda793f150586f7e7620d1f83e3636724881227021b7d78e4259e14b7191688bf41c512e49fe26d5d57872f4a369408f7e277967759f765be1 SHA512 0fbe6dd5d14f1f08725958892afed85c9f9a11912a0dc7d5456cc54782e348ab19973b21abfdfb5109e511e8b6932a469f7888f3387024e178c6a63fba8ba795
diff --git a/dev-ruby/set/metadata.xml b/dev-ruby/set/metadata.xml
new file mode 100644
index 000000000000..3df5c34efc94
--- /dev/null
+++ b/dev-ruby/set/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/dev-ruby/set/set-1.0.1.ebuild b/dev-ruby/set/set-1.0.1.ebuild
new file mode 100644
index 000000000000..984a7c7a8aaf
--- /dev/null
+++ b/dev-ruby/set/set-1.0.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+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"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}