diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-03-12 07:56:45 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-03-12 08:21:18 +0100 |
commit | 970aeda80262e88edc3b2989087e5d8faf2fc212 (patch) | |
tree | 7ebd7cee734d36995de0cce41855b001c0f74bac /dev-ruby/psych | |
parent | dev-ruby/stringio: import of 3.0.1 (diff) | |
download | gentoo-970aeda80262e88edc3b2989087e5d8faf2fc212.tar.gz gentoo-970aeda80262e88edc3b2989087e5d8faf2fc212.tar.bz2 gentoo-970aeda80262e88edc3b2989087e5d8faf2fc212.zip |
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@gentoo.org>
Diffstat (limited to 'dev-ruby/psych')
-rw-r--r-- | dev-ruby/psych/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/psych/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/psych/psych-4.0.3.ebuild | 25 |
3 files changed, 37 insertions, 0 deletions
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>ruby@gentoo.org</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 +} |