summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-05-19 06:42:50 +0200
committerHans de Graaff <graaff@gentoo.org>2017-05-19 06:42:50 +0200
commit78197962cff20093d14f10f0ca2c719e4dba52e2 (patch)
tree25fc34ce9806a6dfd35544c5a493cfcf4b76d17e /dev-ruby
parentdev-ruby/ox: cleanup (diff)
downloadgentoo-78197962cff20093d14f10f0ca2c719e4dba52e2.tar.gz
gentoo-78197962cff20093d14f10f0ca2c719e4dba52e2.tar.bz2
gentoo-78197962cff20093d14f10f0ca2c719e4dba52e2.zip
dev-ruby/ox: add 2.5.0
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/ox/Manifest1
-rw-r--r--dev-ruby/ox/ox-2.5.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/ox/Manifest b/dev-ruby/ox/Manifest
index 022b8e67f34b..b74e4afda56e 100644
--- a/dev-ruby/ox/Manifest
+++ b/dev-ruby/ox/Manifest
@@ -1,2 +1,3 @@
DIST ox-2.4.11.tar.gz 191015 SHA256 fbd6f64dc1b38099b5a1e4cbc4726f1cf1f1541f4202f9565d4a59e3bf11fe45 SHA512 504820125127e2076d275d885d16e92f508b0e02728ecaec390a56dc57d5ab655bb76bf0e809c99a17c68e3eb1e38f217aca809ca76c3fe67152a544387e1a07 WHIRLPOOL 74dc44b8e85ac778aa8b0301d892ac021259ba4155447caaaae8b81f1385d9a76615770a1fea52743853c142ab6d2aed5c3d8cf3b273a8697be28d4cc7392c38
DIST ox-2.4.13.tar.gz 191174 SHA256 a5918f804bc33a887c5f4663b665d96ab7fd2fc11c902baa572841b092767e79 SHA512 98ed5549ba58461ee02945c3862dce27b3c6330ee3669f207cf3d58f27767ff5c5ac9f9f8d640720bb5ed3380f0f37d45a850e25c43f72acc8f7f3ab069ec771 WHIRLPOOL 45602639bc137b0bd5e1fb887977d9d31dc448f10c8410c143770c68dd6468a78db4464c3bb981b62b9a3881b9a643e0d7bee09faf7dae2cd26d2e985efe69d6
+DIST ox-2.5.0.tar.gz 191422 SHA256 01c6a98cb925b864ecefa40f297416a489c95b08715db4d2b276db8bb0c30edd SHA512 470c3b281e44423ab4197989f5b6fdb85e979a13dbcb9add192b4b36de1e768add4768f8cb4bee798aac424b9fe453e925f24af5a13c4cde4157e7fcebd0a3a2 WHIRLPOOL 8c843047ecf0431c810689698e4f5b6f025a5a093d68881cef09fdd919998fb98648d495be73c2eacdaec26ae38aaf235bcf423bcf38fef7690c6fe120309bcb
diff --git a/dev-ruby/ox/ox-2.5.0.ebuild b/dev-ruby/ox/ox-2.5.0.ebuild
new file mode 100644
index 000000000000..eee48251f7b1
--- /dev/null
+++ b/dev-ruby/ox/ox-2.5.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+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
+}