summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-09-07 06:44:59 +0200
committerHans de Graaff <graaff@gentoo.org>2016-09-07 06:44:59 +0200
commitdd3a374fe9f8ebdc77996c220e3fae64f751dd56 (patch)
treed69d30c2382cf6a843ec2158c97d7a4da171e1d0
parentnet-misc/openssh: Update hpn patch in another attempt to fix the deadlock bei... (diff)
downloadgentoo-dd3a374fe9f8ebdc77996c220e3fae64f751dd56.tar.gz
gentoo-dd3a374fe9f8ebdc77996c220e3fae64f751dd56.tar.bz2
gentoo-dd3a374fe9f8ebdc77996c220e3fae64f751dd56.zip
dev-ruby/psych: add 2.1.1
Package-Manager: portage-2.2.28
-rw-r--r--dev-ruby/psych/Manifest1
-rw-r--r--dev-ruby/psych/psych-2.1.1.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/psych/Manifest b/dev-ruby/psych/Manifest
index aed2e14a3aba..057dc6f7540e 100644
--- a/dev-ruby/psych/Manifest
+++ b/dev-ruby/psych/Manifest
@@ -1,2 +1,3 @@
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
+DIST psych-2.1.1.tar.gz 132735 SHA256 c98c173060042b9a4740e553d4cc8da01a688564c40bccdaef9859d698161cad SHA512 d4e26004153dc66179194c83800b8d8a3d1230efe1ee16c6f9939d87365f6d3707d9988e95c513e4411661cfa704aef067df23cc44f9172b428a0575ea893f6b WHIRLPOOL 06f072f563dec2a7249ed3d32254c61582f786f21a4b65f5bf01242f25a9a3534f6f069712204d22d3b540b87ded71a647ce2047f845de4a25dbfb322c38027e
diff --git a/dev-ruby/psych/psych-2.1.1.ebuild b/dev-ruby/psych/psych-2.1.1.ebuild
new file mode 100644
index 000000000000..04a712b52ffb
--- /dev/null
+++ b/dev-ruby/psych/psych-2.1.1.ebuild
@@ -0,0 +1,43 @@
+# 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"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+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.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
+}