summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-12-10 11:02:47 +0100
committerHans de Graaff <graaff@gentoo.org>2022-12-11 07:27:47 +0100
commit6f3043de9e9448cb3fd2b6dfb080838bf19714c7 (patch)
tree4a81c6f146c4a1ee9304012a15acd245f5168fdc /dev-ruby/psych
parentdev-ruby/net-protocol: add 0.2.1 (diff)
downloadgentoo-6f3043de9e9448cb3fd2b6dfb080838bf19714c7.tar.gz
gentoo-6f3043de9e9448cb3fd2b6dfb080838bf19714c7.tar.bz2
gentoo-6f3043de9e9448cb3fd2b6dfb080838bf19714c7.zip
dev-ruby/psych: add 5.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/psych')
-rw-r--r--dev-ruby/psych/Manifest1
-rw-r--r--dev-ruby/psych/psych-5.0.1.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/psych/Manifest b/dev-ruby/psych/Manifest
index 6e5fa0606251..9e55cdb2da61 100644
--- a/dev-ruby/psych/Manifest
+++ b/dev-ruby/psych/Manifest
@@ -2,3 +2,4 @@ DIST psych-4.0.3.gem 93184 BLAKE2B dd3dbd561a4abd97dfc5396d17966dca20205b8f5e7a1
DIST psych-4.0.4.gem 93696 BLAKE2B a70998ff33cf6590d6f9743b1b0b60907ce104f349aa8bdc011560d9d131c6e0563fc204128a39ebeb63c7d3e6336dc024ef2613c274453dfeb3b37960a2782b SHA512 976f2686b00339c98da125a19ca4128a3c3098a1ae5980a3a8b0adf521c8bda4610dd0df0180f9ca0b902b98f0dac93e081d8270ea2f0799e20addb0bf8275a2
DIST psych-4.0.5.gem 93696 BLAKE2B 4a084a24251aa0c009c56f7091494f37a41dc2340be67cc5c55ba48c6af227e1473e5d8dd17fa5091fc703e0b1323a9178492e230a1b203b54f9142927c8a19a SHA512 2e24a044e8735c67c052704f2df565aefc653769a991f9c47fecb8df8d303357e2a8627b5111e404d6a0cef0e85eee1de0e943067c22051a5e350a71fbbbb3ac
DIST psych-4.0.6.gem 93696 BLAKE2B f5bea8262b401c0c291514dbd5ddc4aff389aeadb0b6483901b70a9562d267460260ddc5991e1540e51fb371a79d3a4a831bfdb8cb0b5dd9bd53cac939287545 SHA512 31f0ff5cd48e80ae81977f9519aa7952685b2da4a88b202aeb7214a364932cb1ca256f0934bed158d44a7d4d6e8cbb34928d33e731d0a8ba1a9885733ed32cd1
+DIST psych-5.0.1.gem 39936 BLAKE2B 281beff933541db82b02bb20ae50ed4015cce5916654351b71b6f8d3a537830456277ece122eeede3f1323b3a1704821ee1135673175726c4062253d4b0bde05 SHA512 dca1e881124bea09995367d952d519d5dc74eb5578a4305234cf97f1b0e3e03065b427a7190b5c033e4d4c424b558e3cdf44ef35effbe1d808f8379c93fd6bb2
diff --git a/dev-ruby/psych/psych-5.0.1.ebuild b/dev-ruby/psych/psych-5.0.1.ebuild
new file mode 100644
index 000000000000..c79a5288fd87
--- /dev/null
+++ b/dev-ruby/psych/psych-5.0.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+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 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+SLOT="$(ver_cut 1)"
+IUSE="test"
+
+RDEPEND+=" >=dev-libs/libyaml-0.2.5"
+BDEPEND+=" >=dev-libs/libyaml-0.2.5"
+
+ruby_add_rdepend "dev-ruby/stringio"
+
+each_ruby_test() {
+ ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die
+}