commit:     970aeda80262e88edc3b2989087e5d8faf2fc212
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 12 06:56:45 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Mar 12 07:21:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=970aeda8

dev-ruby/psych: import of 4.0.3

Dependency for dev-ruby/rdoc

Extracted from dev-lang/ruby so keywords set accordingly.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/psych/Manifest           |  1 +
 dev-ruby/psych/metadata.xml       | 11 +++++++++++
 dev-ruby/psych/psych-4.0.3.ebuild | 25 +++++++++++++++++++++++++
 3 files changed, 37 insertions(+)

diff --git a/dev-ruby/psych/Manifest b/dev-ruby/psych/Manifest
new file mode 100644
index 000000000000..b3917a04fe77
--- /dev/null
+++ b/dev-ruby/psych/Manifest
@@ -0,0 +1 @@
+DIST psych-4.0.3.gem 93184 BLAKE2B 
dd3dbd561a4abd97dfc5396d17966dca20205b8f5e7a13f858398ac7160610fb623a63b4e70cd91516c7e6e64fa5cb9986b9e3fa3c74dbb7b0752cb37f0467b9
 SHA512 
d28d3d4e5f9e00949f8ead2ef2224ac494c5d1b6d8c45f176e0563500829dab85b2366f10cd7b01339b4a4b6bf8f57c4616b84e3d3e245e551e382ebb3b6d0ad

diff --git a/dev-ruby/psych/metadata.xml b/dev-ruby/psych/metadata.xml
new file mode 100644
index 000000000000..d8a98a8fa324
--- /dev/null
+++ b/dev-ruby/psych/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="project">
+    <email>[email protected]</email>
+    <name>Gentoo Ruby Project</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">ruby/psych</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-ruby/psych/psych-4.0.3.ebuild 
b/dev-ruby/psych/psych-4.0.3.ebuild
new file mode 100644
index 000000000000..531b925e6c18
--- /dev/null
+++ b/dev-ruby/psych/psych-4.0.3.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2022 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_EXTENSIONS=(ext/psych/extconf.rb)
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A YAML parser and emitter"
+HOMEPAGE="https://github.com/ruby/psych";
+
+LICENSE="BSD-2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+SLOT="0"
+IUSE="test"
+
+ruby_add_rdepend "dev-ruby/stringio"
+
+each_ruby_test() {
+       ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each{|f| require f}' 
|| die
+}

Reply via email to