diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-06-24 06:31:28 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-06-24 07:45:31 +0200 |
commit | 100709215778e0ec7873130605e54c3f62ba3ee8 (patch) | |
tree | 5137994c07eff640ab8c36f0181d39aaeab7b2e6 /dev-ruby | |
parent | 549939cac87c141a2bee931ffee92e71a6d6dfbe (diff) | |
download | gentoo-100709215778e0ec7873130605e54c3f62ba3ee8.tar.gz gentoo-100709215778e0ec7873130605e54c3f62ba3ee8.tar.xz |
dev-ruby/ox: add 2.4.2
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/ox/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/ox/ox-2.4.2.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/ox/Manifest b/dev-ruby/ox/Manifest index ec7a5939697..e6967478b8e 100644 --- a/dev-ruby/ox/Manifest +++ b/dev-ruby/ox/Manifest @@ -1 +1,2 @@ DIST ox-2.4.1.tar.gz 188550 SHA256 c9f26c026d614e1af52585dd271cbd4c794b861242ac1b71b08c2e195b10b1b9 SHA512 69f0d24d8b712cdc34e3da2ab72e503af40c96387c0f6eeb73f4a753e4b64ebd0c2f214c10511d2d02395ceb86dffb6f0b94bee5272577e203f731bf4fde4630 WHIRLPOOL 99006b2963a1c61a6efd7da47c8e28b5e3fb23660a9a493cb94c99674789fc42a455a50f78bd0f511ced52913229b3a7ee5875cdbb2e3aa3056bccc969aeeb68 +DIST ox-2.4.2.tar.gz 188957 SHA256 375755d57786519c98ffdb6a2bd34337d1bb02b80ec12f547ea411eb11857c7f SHA512 64bfbe7d57878901b7b30ff3bc078edfad8a5d5a28ffac243193ab51a7c22d15781056f4b92505dbadbc860a231661cdab8ca06f65e548709f1bb5105ffa32d1 WHIRLPOOL 2a4f975492dd88a713229c610ef80f210692aa00c581d5638d84048bbc8baec0986ba33f171052dab1b0699b73b540168394b5ae2eb5be99ba0aa3e4430431e8 diff --git a/dev-ruby/ox/ox-2.4.2.ebuild b/dev-ruby/ox/ox-2.4.2.ebuild new file mode 100644 index 00000000000..71373194215 --- /dev/null +++ b/dev-ruby/ox/ox-2.4.2.ebuild @@ -0,0 +1,33 @@ +# 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_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 ~ppc64 ~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 +} |