summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-01-22 09:29:46 +0100
committerHans de Graaff <graaff@gentoo.org>2023-01-22 09:30:11 +0100
commit8a72afcf27a25f892c7246cf5afb5aae866e2ae6 (patch)
tree3ed7fdde8a3a3d0886a8e15aa7230f06d599c666 /dev-ruby/psych
parentdev-ruby/pry: add 0.14.2 (diff)
downloadgentoo-8a72afcf27a25f892c7246cf5afb5aae866e2ae6.tar.gz
gentoo-8a72afcf27a25f892c7246cf5afb5aae866e2ae6.tar.bz2
gentoo-8a72afcf27a25f892c7246cf5afb5aae866e2ae6.zip
dev-ruby/psych: add 5.0.2
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.2.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/psych/Manifest b/dev-ruby/psych/Manifest
index 1b0a49a49475..5abd38ed98f5 100644
--- a/dev-ruby/psych/Manifest
+++ b/dev-ruby/psych/Manifest
@@ -1,2 +1,3 @@
DIST psych-4.0.6.gem 93696 BLAKE2B f5bea8262b401c0c291514dbd5ddc4aff389aeadb0b6483901b70a9562d267460260ddc5991e1540e51fb371a79d3a4a831bfdb8cb0b5dd9bd53cac939287545 SHA512 31f0ff5cd48e80ae81977f9519aa7952685b2da4a88b202aeb7214a364932cb1ca256f0934bed158d44a7d4d6e8cbb34928d33e731d0a8ba1a9885733ed32cd1
DIST psych-5.0.1.gem 39936 BLAKE2B 281beff933541db82b02bb20ae50ed4015cce5916654351b71b6f8d3a537830456277ece122eeede3f1323b3a1704821ee1135673175726c4062253d4b0bde05 SHA512 dca1e881124bea09995367d952d519d5dc74eb5578a4305234cf97f1b0e3e03065b427a7190b5c033e4d4c424b558e3cdf44ef35effbe1d808f8379c93fd6bb2
+DIST psych-5.0.2.gem 39936 BLAKE2B eadd26ad4703d67009927dc1c60727e91ec1f27b1f1d94ca96488ade75c511a15c3ac49654ad064070932ae0f998355b7314e187ed9539391ae16afec09c0450 SHA512 9edca88c8fb8a21ffcaef42b83170e78be76e12c357ceb59c2c80d58f8e946034f4b8ee08eaded12a1e4f326bdf71dbfbd3e2efc231bef9739d0155ddfda8b2c
diff --git a/dev-ruby/psych/psych-5.0.2.ebuild b/dev-ruby/psych/psych-5.0.2.ebuild
new file mode 100644
index 000000000000..4f5a5a2581c2
--- /dev/null
+++ b/dev-ruby/psych/psych-5.0.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2023 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
+}