diff options
Diffstat (limited to 'dev-ruby/psych')
-rw-r--r-- | dev-ruby/psych/Manifest | 5 | ||||
-rw-r--r-- | dev-ruby/psych/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/psych/psych-2.2.4.ebuild | 45 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-ruby/psych/Manifest b/dev-ruby/psych/Manifest new file mode 100644 index 000000000000..b1a3327a1d15 --- /dev/null +++ b/dev-ruby/psych/Manifest @@ -0,0 +1,5 @@ +DIST psych-2.2.4.tar.gz 133451 SHA256 343ce1c43b83b63648afa20f6eb593b680495d778c4830ddbd0d04a4a9ee63bb SHA512 f56b0e68ba2c6884eaf645f4784dfe56667b8527def29bcd2a36e9f47e11acbdd4a0bb7025988b28cca1413f9f15524ef9fbe61efef3ff295cce4733d3143894 WHIRLPOOL efb164d7e9e81afc4dddbed401d182cbed794b4e0b295128686f452ae4caadb276123477e8e4e479a2527723df68256e9f4826de368139d12a56c6bb78bc4f6d +EBUILD psych-2.2.4.ebuild 1069 SHA256 165813940fd2115dd160c13d21d7b37e9b8f7056541f96a1d464354d597a28a6 SHA512 6c3268e18d4996f23856fba4f6c3db2f9d100ed72a742fc86e40ebfe2a5a22f55ff4d029409a85c7852eab56bf85732834ab7e621eb1baf2d39bad2b39887cc5 WHIRLPOOL bdb055ecf337ff280541adac499e376adcc74c461e881e091d080bb858c22832b88c7c8939304966f968a55518baa2e5a6acb21961ef4e7f74bbef0a49bdeb72 +MISC ChangeLog 4605 SHA256 f12c1f8001435147ea18011276ca564674f352d6949f643e411eef24836aca26 SHA512 da43dd2e4e9fe8aae33fe6a7ffcb30732a5a2994e255521234ef5fcc346fff05136d58f033a2a569261bb7534b580e4ff119ad01fa31cd45584264c2bc78f482 WHIRLPOOL cc2e615c0bac62addb14aa537bbb448d71ce87142335ce3dcc67cd9da7de2d4a6e051f6a614058dc2e99a5cdb5d5825e4fe53ab798a4321fe380dba24418162f +MISC ChangeLog-2015 1601 SHA256 ef9255b5d931f674d7d729da1f0f68351b9661aab339f903e4397d6d6afe2a2f SHA512 2bfd068e52eb72605f52924de08d70880fc6565c0443ef5dd68fb999e0f2f9d8a96b3f85b85fb048b4ac834f7b9670df2a056eb832e19846ee697fa7bf752752 WHIRLPOOL b0e989a65b45edaf2c0ca9d583943520ef6da7cad64fdc820361a9dc1f9b3fc028a8773ecf0b79b34bd1f9326ffba71d90e0a618c904c6d10683539215512dc0 +MISC metadata.xml 342 SHA256 63df250f774eed2a4a75cdc2a1f05c98cf51b82c9ea31aaf8aa8b953fcf3b949 SHA512 d1246a904cc4a3185ba2d91dcc6be5230461555cb57d71f1715c163caf5f8954937cbf58ddd71647a0662b65e59e917dc2dcf59d2ce92e9d8e600a3818422ca0 WHIRLPOOL 2222e6f8e8fd3b5dea149fa9432e4772749ce7afe3cf259ff38c8055a1dbf98d1481098865f60209cecae186044a3196f476de2c803473487ba3ef81c6e13c05 diff --git a/dev-ruby/psych/metadata.xml b/dev-ruby/psych/metadata.xml new file mode 100644 index 000000000000..3b82d1915150 --- /dev/null +++ b/dev-ruby/psych/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">tenderlove/psych</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/psych/psych-2.2.4.ebuild b/dev-ruby/psych/psych-2.2.4.ebuild new file mode 100644 index 000000000000..20f837948b5d --- /dev/null +++ b/dev-ruby/psych/psych-2.2.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +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" +IUSE="" + +DEPEND+=" >=dev-libs/libyaml-0.1.7" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + sed -i -e '1igem "minitest", "~>5.0"' test/psych/helper.rb || die + sed -i -e '/s.files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || 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 +} |