diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-06-26 07:28:16 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-06-26 07:28:16 +0200 |
commit | 7b37fba36344def790488054f6100791919c45d1 (patch) | |
tree | 8eb0d347f7c9c96e7b86a31e79e39aaa4975212e /dev-ruby | |
parent | dev-ruby/meterpreter_bins: drop ruby19 (diff) | |
download | gentoo-7b37fba36344def790488054f6100791919c45d1.tar.gz gentoo-7b37fba36344def790488054f6100791919c45d1.tar.bz2 gentoo-7b37fba36344def790488054f6100791919c45d1.zip |
dev-ruby/psych: add 2.1.0
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/psych/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/psych/psych-2.1.0.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/psych/Manifest b/dev-ruby/psych/Manifest index 746815ae5e89..aed2e14a3aba 100644 --- a/dev-ruby/psych/Manifest +++ b/dev-ruby/psych/Manifest @@ -1 +1,2 @@ DIST psych-2.0.17.gem 128000 SHA256 e85529ced4f91728a63c945f8bdf5206e71fc3192b9ac0e7ba251dbf0d398513 SHA512 f82bb015986941193878c6223fee69930c4e643d2432057d83399dd1763834ea0116b360b23c371d1b050414f2a769bb6762d3e0dd6e891d1b94ebe260194452 WHIRLPOOL 2455312625d12110e0de5514f1b52d8a7c7c3855289115edd270b0f7804f9bcef6c9879b731bcad696e4c038a4aef0b046bd23a58f771cc4b51d41c96c537483 +DIST psych-2.1.0.gem 128512 SHA256 92bf0d9bd47e4fafc74f6fad89e207f21348878c201ac36967ec587526d3dde9 SHA512 767d33759f7536e2b1c87c85f0659856f37be2c5c9b48d07bd8b7c538b42a40527335df300ad1b53e5212f6020e156e9066b3babc2fde1b758e330fd53106c48 WHIRLPOOL 969f01c2658b880ac92295a158da2629f6b5cad988c1135d8dda88c822fe0a0d55f90c5682d394a6aea8b05cc3d575b59245e3c51a4767d8485862c801a88243 diff --git a/dev-ruby/psych/psych-2.1.0.ebuild b/dev-ruby/psych/psych-2.1.0.ebuild new file mode 100644 index 000000000000..ad0bc4b6090e --- /dev/null +++ b/dev-ruby/psych/psych-2.1.0.ebuild @@ -0,0 +1,40 @@ +# 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.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 +} |