diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-12-17 06:57:35 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-12-17 06:57:35 +0100 |
commit | 311ca8f83d98ef858d618be3c8a25b5e40dd914b (patch) | |
tree | bbf631cf11fbf60ccb755041e701f21d46a65419 /dev-ruby/psych | |
parent | media-gfx/asymptote: cleaning old (diff) | |
download | gentoo-311ca8f83d98ef858d618be3c8a25b5e40dd914b.tar.gz gentoo-311ca8f83d98ef858d618be3c8a25b5e40dd914b.tar.bz2 gentoo-311ca8f83d98ef858d618be3c8a25b5e40dd914b.zip |
dev-ruby/psych: add 3.0.1
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ruby/psych')
-rw-r--r-- | dev-ruby/psych/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/psych/psych-3.0.1.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/psych/Manifest b/dev-ruby/psych/Manifest index 53b991e08ab7..bebb2892abf9 100644 --- a/dev-ruby/psych/Manifest +++ b/dev-ruby/psych/Manifest @@ -1 +1,2 @@ DIST psych-2.2.4.tar.gz 133451 BLAKE2B 665a234b88ff9b5f2dcd6ddc0fb249e2af6a2594b1e3817e68fa47d58556f211568b61d416be3afc91a1cd40237530bd0751d52d49a63ccccf2ff196d7ec4faf SHA512 f56b0e68ba2c6884eaf645f4784dfe56667b8527def29bcd2a36e9f47e11acbdd4a0bb7025988b28cca1413f9f15524ef9fbe61efef3ff295cce4733d3143894 +DIST psych-3.0.1.tar.gz 133120 BLAKE2B 322b44a23bfa5afdfaa7f90681b2c0c4525efc88c30950ae4506e7d990ca117c840491b2bcc0ab1d931a4febe8fe67cab73933ed5265a41cac451746e93a9138 SHA512 7a77b6e0b881428f07c147ff4e4752dc563e4c76f8a3d3f9fdf5ec9b95efd2d2fd8109f131a5f911d905f420f0bdc8631411b80f38f753d91511ca7153937075 diff --git a/dev-ruby/psych/psych-3.0.1.ebuild b/dev-ruby/psych/psych-3.0.1.ebuild new file mode 100644 index 000000000000..c13c82580ef8 --- /dev/null +++ b/dev-ruby/psych/psych-3.0.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit multilib ruby-fakegem + +DESCRIPTION="A libyaml wrapper for Ruby" +HOMEPAGE="https://github.com/tenderlove/psych" +SRC_URI="https://github.com/tenderlove/psych/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND+=" >=dev-libs/libyaml-0.1.7" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + sed -i -e '1igem "minitest", "~>5.0"' test/psych/helper.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/${PN} extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/${PN}$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:test/${PN}:. -e "Dir['test/psych/**/test_*.rb'].each {|f| require f}" || die +} |