summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/psych')
-rw-r--r--dev-ruby/psych/Manifest1
-rw-r--r--dev-ruby/psych/psych-2.0.17.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/psych/Manifest b/dev-ruby/psych/Manifest
index 3e6abda16392..d8ab196256bb 100644
--- a/dev-ruby/psych/Manifest
+++ b/dev-ruby/psych/Manifest
@@ -1,2 +1,3 @@
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
+DIST psych-2.0.17.gem 128000 SHA256 e85529ced4f91728a63c945f8bdf5206e71fc3192b9ac0e7ba251dbf0d398513 SHA512 f82bb015986941193878c6223fee69930c4e643d2432057d83399dd1763834ea0116b360b23c371d1b050414f2a769bb6762d3e0dd6e891d1b94ebe260194452 WHIRLPOOL 2455312625d12110e0de5514f1b52d8a7c7c3855289115edd270b0f7804f9bcef6c9879b731bcad696e4c038a4aef0b046bd23a58f771cc4b51d41c96c537483
diff --git a/dev-ruby/psych/psych-2.0.17.ebuild b/dev-ruby/psych/psych-2.0.17.ebuild
new file mode 100644
index 000000000000..3d3ff13c68ce
--- /dev/null
+++ b/dev-ruby/psych/psych-2.0.17.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
+}