diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-12-10 08:46:56 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-12-10 08:47:34 +0100 |
commit | 501d51904837a1a5a70c159fbb8976ac85ec9d75 (patch) | |
tree | 7f4d583fa079460153514d33aecf1c1ba2ba0bed /dev-ruby/psych | |
parent | dev-python/isort: Bump to 5.13.0 (diff) | |
download | gentoo-501d51904837a1a5a70c159fbb8976ac85ec9d75.tar.gz gentoo-501d51904837a1a5a70c159fbb8976ac85ec9d75.tar.bz2 gentoo-501d51904837a1a5a70c159fbb8976ac85ec9d75.zip |
dev-ruby/psych: add 5.1.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/psych')
-rw-r--r-- | dev-ruby/psych/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/psych/psych-5.1.1.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/psych/Manifest b/dev-ruby/psych/Manifest index 03942483825e..78d2320df7eb 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.1.0.gem 39936 BLAKE2B f4d1b2b3699e36cf5f5101ad038ac3fd2e44b434df3e91516b850511684daeeb1eda32901ffbff870f533b8bda859b09bbd63e5ebe8a5ca3ce271ce869ef3a16 SHA512 94dd2a7b98d9d452fb24ba14d42d91969aa0d93f5737728e41a5032d76bad45d0e0b365f53447664cece448559d2e47ab35d95b4989016d9f0daf03b76d8a5cc +DIST psych-5.1.1.tar.gz 84699 BLAKE2B 5b45ddf8964c6bbbc7cac641d80c2967805125dfe338a2383a4f2c413b75b74d6ff5f2c0885ec1ad75c8f406afeaa5ba4fbf12e2bbc6abffb0d41cd88cc570a3 SHA512 a417459b038c1b9c66a93e7666c62c556ea0d2728405fb3ddde309ccd87a92992b82cca1f6be592395cfac75f6ac24e8ee52b8aa0c0cf28233e1cab0bf8a3a2f diff --git a/dev-ruby/psych/psych-5.1.1.ebuild b/dev-ruby/psych/psych-5.1.1.ebuild new file mode 100644 index 000000000000..43ecf2660829 --- /dev/null +++ b/dev-ruby/psych/psych-5.1.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTENSIONS=(ext/psych/extconf.rb) +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="psych.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A YAML parser and emitter" +HOMEPAGE="https://github.com/ruby/psych" +SRC_URI="https://github.com/ruby/psych/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-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" + +ruby_add_bdepend "test? ( + dev-ruby/test-unit + dev-ruby/test-unit-ruby-core +)" + +all_ruby_prepare() { + sed -e 's/__dir__/"."/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'require "lib/helper"; Dir["test/**/test_*.rb"].each{|f| require f}' || die +} |