dev-ruby/ox: add 2.11.0
authorHans de Graaff <graaff@gentoo.org>
Sat, 15 Jun 2019 04:50:57 +0000 (06:50 +0200)
committerHans de Graaff <graaff@gentoo.org>
Sat, 15 Jun 2019 09:55:33 +0000 (11:55 +0200)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

dev-ruby/ox/Manifest
dev-ruby/ox/ox-2.11.0.ebuild [new file with mode: 0644]

index 010a4c646fd0acc0364b2426da3c0c000a2888ca..d560352d7f46e08de54b40e0b53f0e46de16210e 100644 (file)
@@ -1,3 +1,4 @@
 DIST ox-2.10.0.tar.gz 199144 BLAKE2B e2d175c379e4c860d540313642ab4ea39cca1eed7d5a0a896f6eb09786d0c421f5a2a0e4af5880c07b757a1604a8ede47ef4737739eaf53f9ba733b67b3e0091 SHA512 0fc7809f86528c745cc6719fd92bb51fe7c895c62b2cd27c02f2b596c19078f04aacfee90e489bede0ecd47876e36280e6852509f6d34f9b4a6292441745763a
 DIST ox-2.10.1.tar.gz 200165 BLAKE2B 46daff5d1f0b4230fddfe72217b25a77de03f3a9431a6daa93e7bc88c46482b80717f1f2bc623fbf94f3bee90e2c3655aa1b6f6d48cb9b31cc5e530c14aef25a SHA512 b1f6ec2337e5d7db96cb2b3bacb4850b9b2b64426250203de7613845fa83ce68dddba0bb6a6560c8e04f0a6416a0dc9443a469d40261e6d6bc42b14239a1eaff
+DIST ox-2.11.0.tar.gz 201028 BLAKE2B 52c908be2a1d08ad563137f99e68f7734c2fa6aa87391ddd5efddc60d2e4efcea93cba9097e3bf0373ee9d22fa101d6117e092414c7266045ed6d93a32951b12 SHA512 4a755f6d1f832ec41b50b92deb686307d177c35eb1e27bb1e61c0b0a698db7730239fa4167f8a84892a9fb81cc67abeef059b1138b01759ba993a57471e4eff7
 DIST ox-2.9.4.tar.gz 198547 BLAKE2B 4a088fb9d8ff0aa89c6496f8d1228ca33445e34fd66476de288c4373401421b27fceced671d4754b23ddc4da0b49b1ddba1ce060c5468723a146e4d5d10b7a0f SHA512 babb1e4a88596553ddba79afeaa2bad0221e90e08cc0505c8297b61b6a1acb7c9e458ee71da420ee49378c4ac8d3b8545d1ab7e05710da556c452f3f7bb133f1
diff --git a/dev-ruby/ox/ox-2.11.0.ebuild b/dev-ruby/ox/ox-2.11.0.ebuild
new file mode 100644 (file)
index 0000000..801336f
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+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 ~ppc ~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
+}