diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-12-26 06:50:22 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-12-26 06:50:22 +0100 |
commit | ae315ab95b74e154c750b882818caa9b49dac1a2 (patch) | |
tree | 8d29ba2a89c9091c0db3f48553e9ab145d6a31bd /dev-ruby | |
parent | app-shells/pdmenu: clean up old. (diff) | |
download | gentoo-ae315ab95b74e154c750b882818caa9b49dac1a2.tar.gz gentoo-ae315ab95b74e154c750b882818caa9b49dac1a2.tar.bz2 gentoo-ae315ab95b74e154c750b882818caa9b49dac1a2.zip |
dev-ruby/psych: add 2.2.2
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/psych/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/psych/psych-2.2.2.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/psych/Manifest b/dev-ruby/psych/Manifest index ab101578fbf6..1730740ff804 100644 --- a/dev-ruby/psych/Manifest +++ b/dev-ruby/psych/Manifest @@ -1,3 +1,4 @@ DIST psych-2.1.1.tar.gz 132735 SHA256 c98c173060042b9a4740e553d4cc8da01a688564c40bccdaef9859d698161cad SHA512 d4e26004153dc66179194c83800b8d8a3d1230efe1ee16c6f9939d87365f6d3707d9988e95c513e4411661cfa704aef067df23cc44f9172b428a0575ea893f6b WHIRLPOOL 06f072f563dec2a7249ed3d32254c61582f786f21a4b65f5bf01242f25a9a3534f6f069712204d22d3b540b87ded71a647ce2047f845de4a25dbfb322c38027e DIST psych-2.2.0.tar.gz 133402 SHA256 97936452a7c246a3e1c813c3d0066504255da867a13978aea8f7e507988e4f19 SHA512 b8abbb99d2ee3bd0213ddd410485a7b3ef80a1497535ce0a922211b0ac0baca501b83c2deb2e2cee3644c29a2f550b6199af104b9eaf5d822ae592563d0cd362 WHIRLPOOL 1f17eadab16cbcb9cb170b6ba5f405d539f2b911912dddbba74fc44f816b1256d1f04d5ee75909617fa9f87dd5f05a63f23bbf6439dc2b8d3bd1681a25f065cf DIST psych-2.2.1.tar.gz 133482 SHA256 a80d5455657de0348106f8bf585448415231016ca653497e9f00249b0b1c99af SHA512 4a79a5e5ba32482b9fd0467bb272d38ffebf8e8f621dc93b75d0848ba1b9b658e4d318c01fef7fe317c27d81b280cb6d4288112d29c9ae43768ecfc9ad7e19da WHIRLPOOL c045b84224ebfe7d1c183d15c049e4833ed73c225112e4ac548911d902888f3a544cfe9ca558d746568b1bac5cb94c2a16ceb3f8f78bb9f2d1a65b53e54c3dd6 +DIST psych-2.2.2.tar.gz 133468 SHA256 e7b05fbb50733a69f2759b6657c2c1c1c545744cfb15549b0392a02b1aed6bed SHA512 671a3e6ff60b765f997a193b63fedd34ce11022b749b0c9bda0f18f84ded5972d614981e5ce5a15690795cd96d0840c0963dd4258c16ac61eb48e3c59e82abee WHIRLPOOL 402a0c513fa44ff05a0c19d06f6744f500fdc90c883be1c77300d1a06835213223a2a7fdd00c6f20f90f45d17c215f0a0aba6ab9f1347de29409333612836f04 diff --git a/dev-ruby/psych/psych-2.2.2.ebuild b/dev-ruby/psych/psych-2.2.2.ebuild new file mode 100644 index 000000000000..2726cf04a579 --- /dev/null +++ b/dev-ruby/psych/psych-2.2.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +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 + sed -i -e '/s.files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || 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 +} |