diff options
Diffstat (limited to 'dev-ruby/ox')
-rw-r--r-- | dev-ruby/ox/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/ox/metadata.xml | 8 | ||||
-rw-r--r-- | dev-ruby/ox/ox-2.2.0-r1.ebuild | 33 | ||||
-rw-r--r-- | dev-ruby/ox/ox-2.2.1.ebuild | 33 |
4 files changed, 76 insertions, 0 deletions
diff --git a/dev-ruby/ox/Manifest b/dev-ruby/ox/Manifest new file mode 100644 index 000000000000..317dec586667 --- /dev/null +++ b/dev-ruby/ox/Manifest @@ -0,0 +1,2 @@ +DIST ox-2.2.0.tar.gz 173019 SHA256 33fad7a3cafa38f62ff65ee93485028048d2369e504fd8c80a65cef7d9566c8c SHA512 817eae55ae3f0ee3edced2da58be2e0c95b2be0e8788f511b648f88d38096367416802f2e82a2dacb7ec48efdd35cb8c36766ffb7b46a4944137e55bf23bd02a WHIRLPOOL 82adce4c9465c28dacd8514279ddf40832ac47e4c48355758c91681835e81124eb3233b2d15081b542775acd2501622ff85cf6d4146fd10ec8a6f435d0e1b2c1 +DIST ox-2.2.1.tar.gz 174511 SHA256 67d064cd52c174ee0539f2ca1398b8afc64c22f7cfa5f12749d28fc25d03a9cc SHA512 3ad836e0446f39ac16d4fad9ed85b3c7711531e9db0c9bf2582bfaf08ccb198fa758d0e3193a9916ec4161dd06ef19468bee64590e2671caabd62cc604ab0f98 WHIRLPOOL 5c83081b44dd5e8da84161dbbb568ad25e5c52c8df9c6565a38610eed0b71d67acf971ffd018796b63e9d4f6ef17af0e7bf02f23bd4788f85317781af7a5f6ff diff --git a/dev-ruby/ox/metadata.xml b/dev-ruby/ox/metadata.xml new file mode 100644 index 000000000000..38c9d79e0a3a --- /dev/null +++ b/dev-ruby/ox/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>ruby</herd> + <upstream> + <remote-id type="github">ohler55/ox</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/ox/ox-2.2.0-r1.ebuild b/dev-ruby/ox/ox-2.2.0-r1.ebuild new file mode 100644 index 000000000000..5e36f96bb5e3 --- /dev/null +++ b/dev-ruby/ox/ox-2.2.0-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_TASK_DOC="" + +inherit ruby-fakegem + +DESCRIPTION="A fast XML parser and Object marshaller" +HOMEPAGE="http://www.ohler.com/ox/ https://github.com/ohler55/ox" +SRC_URI="https://github.com/ohler55/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +each_ruby_configure() { + ${RUBY} -Cext/ox extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/ox + cp ext/ox/ox$(get_modname) lib/ox/ || die +} + +each_ruby_test() { + ${RUBY} test/tests.rb || die +} diff --git a/dev-ruby/ox/ox-2.2.1.ebuild b/dev-ruby/ox/ox-2.2.1.ebuild new file mode 100644 index 000000000000..5e36f96bb5e3 --- /dev/null +++ b/dev-ruby/ox/ox-2.2.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_TASK_DOC="" + +inherit ruby-fakegem + +DESCRIPTION="A fast XML parser and Object marshaller" +HOMEPAGE="http://www.ohler.com/ox/ https://github.com/ohler55/ox" +SRC_URI="https://github.com/ohler55/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +each_ruby_configure() { + ${RUBY} -Cext/ox extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/ox + cp ext/ox/ox$(get_modname) lib/ox/ || die +} + +each_ruby_test() { + ${RUBY} test/tests.rb || die +} |