summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-10-20 07:17:02 +0200
committerHans de Graaff <graaff@gentoo.org>2018-10-20 07:17:02 +0200
commit435ab3af91913ed8a943764695ed6977f5bbd923 (patch)
tree19c81d84fe40001703de80ce64efb7b91d537302 /dev-ruby
parentdev-ruby/itextomml: add 1.5.8 (diff)
downloadgentoo-435ab3af91913ed8a943764695ed6977f5bbd923.tar.gz
gentoo-435ab3af91913ed8a943764695ed6977f5bbd923.tar.bz2
gentoo-435ab3af91913ed8a943764695ed6977f5bbd923.zip
dev-ruby/psych: add 3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/psych/Manifest1
-rw-r--r--dev-ruby/psych/psych-3.0.3.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/psych/Manifest b/dev-ruby/psych/Manifest
index f70eb405088a..cb1cc3f41049 100644
--- a/dev-ruby/psych/Manifest
+++ b/dev-ruby/psych/Manifest
@@ -1,3 +1,4 @@
DIST psych-2.2.4.tar.gz 133451 BLAKE2B 665a234b88ff9b5f2dcd6ddc0fb249e2af6a2594b1e3817e68fa47d58556f211568b61d416be3afc91a1cd40237530bd0751d52d49a63ccccf2ff196d7ec4faf SHA512 f56b0e68ba2c6884eaf645f4784dfe56667b8527def29bcd2a36e9f47e11acbdd4a0bb7025988b28cca1413f9f15524ef9fbe61efef3ff295cce4733d3143894
DIST psych-3.0.1.tar.gz 133120 BLAKE2B 322b44a23bfa5afdfaa7f90681b2c0c4525efc88c30950ae4506e7d990ca117c840491b2bcc0ab1d931a4febe8fe67cab73933ed5265a41cac451746e93a9138 SHA512 7a77b6e0b881428f07c147ff4e4752dc563e4c76f8a3d3f9fdf5ec9b95efd2d2fd8109f131a5f911d905f420f0bdc8631411b80f38f753d91511ca7153937075
DIST psych-3.0.2.tar.gz 133139 BLAKE2B c337389b9bde02ca6e7d8058a605c1597aa17e5a8b3543e21195c471b29d0e3fc865c29126fb9c58bcb7be47f03483d47437f26f680138033a07f6a670410110 SHA512 158a14added34fc410f6ef46b3c64081a16d22021f99e000fe83e9ee7cef65c4bfbc37d580873794f678f60f8070275d3c7c471d5eb75c6e1fbc5c36655b0d46
+DIST psych-3.0.3.tar.gz 133778 BLAKE2B c28ba4ca2fa8b042bd8f13294330c7704401d861ff082fc2b97c59b7f5ab29001a44184992eadd78fa125ec14ca71c9e79c5e71bafe46471643ed0fd62180165 SHA512 cc2289dcdcaa7f812d03580bd05894fb66c7c3c161535c8f17f790a6a9c35c5623462102276f63c54b884a82d86359b3e0f455b2427db3b6987ac5d71010c8b4
diff --git a/dev-ruby/psych/psych-3.0.3.ebuild b/dev-ruby/psych/psych-3.0.3.ebuild
new file mode 100644
index 000000000000..8d17eb10b18c
--- /dev/null
+++ b/dev-ruby/psych/psych-3.0.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+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 ~ppc64 ~x86"
+IUSE=""
+
+DEPEND+=" >=dev-libs/libyaml-0.2.1"
+
+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
+}