diff options
author | Hans de Graaff <graaff@gentoo.org> | 2015-12-08 07:35:50 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2015-12-09 07:00:40 +0100 |
commit | 46f05abc2a6a7e848b2cd468781dadc13b7cd109 (patch) | |
tree | da8e784268cbfd326e957f0234377cae9afcc87a /dev-ruby/psych | |
parent | dev-ruby/psych: cleanup (diff) | |
download | gentoo-46f05abc2a6a7e848b2cd468781dadc13b7cd109.tar.gz gentoo-46f05abc2a6a7e848b2cd468781dadc13b7cd109.tar.bz2 gentoo-46f05abc2a6a7e848b2cd468781dadc13b7cd109.zip |
dev-ruby/psych: add 2.0.16
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby/psych')
-rw-r--r-- | dev-ruby/psych/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/psych/psych-2.0.16.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/psych/Manifest b/dev-ruby/psych/Manifest index 30be931bbe7a..3e6abda16392 100644 --- a/dev-ruby/psych/Manifest +++ b/dev-ruby/psych/Manifest @@ -1 +1,2 @@ DIST psych-2.0.15.gem 128000 SHA256 ac7afd35a2e6ec6eef08a3c7b5e1127be20e6521b4c8346988acd3d46548982f SHA512 895d726a4ecd0d2d18c350aa9aa8bdfb8da3193211ce275313907dc46d45907731d60b41485e01a1ffb5d49133021d837416376340cc1468358970b2eeba7002 WHIRLPOOL 7e055e394cd9cb84d3c433cb80235e82a688a13d7e8d9be79e5b8c0c43cdbe414a14bb36fcd7ffe218b78d2ea0b324b6297837d36cae62fc008ebfeef9ca41b8 +DIST psych-2.0.16.gem 128000 SHA256 17e2e26295571de42a494e3cd74f7d0d8990e87defe5b1c4a1a3f958c26a1d5d SHA512 373f191163a677bdcbfe68ab6e81b7a4b020e86d3c4181f72e09ebe4b0016b728db67cf9055258357e2a786cab98c4e8765066693dfff3389a516f12c6bb1923 WHIRLPOOL 33064a1079f9039d13b4f592078c5daafc5a7681f6a4476216b642fcb526f6ef1130707b9b820da394719d569319c3e08564d1ffe58145e0fcfc77ece1c80a5d diff --git a/dev-ruby/psych/psych-2.0.16.ebuild b/dev-ruby/psych/psych-2.0.16.ebuild new file mode 100644 index 000000000000..3d3ff13c68ce --- /dev/null +++ b/dev-ruby/psych/psych-2.0.16.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc" + +inherit multilib ruby-fakegem + +DESCRIPTION="A libyaml wrapper for Ruby" +HOMEPAGE="https://github.com/tenderlove/psych" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND+=" >=dev-libs/libyaml-0.1.6" + +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 +} |