summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRepository QA checks <repo-qa-checks@gentoo.org>2016-05-02 05:42:22 +0000
committerRepository QA checks <repo-qa-checks@gentoo.org>2016-05-02 05:42:22 +0000
commitf985349a3987ca32c7121653d72fed1837de923f (patch)
tree13cdb23bb0024f76cad2cffa3d8167af7094b012
parent2016-05-02 04:44:15 UTC (diff)
parentdev-db/rqlite: update github remote-id (diff)
downloadgentoo-f985349a3987ca32c7121653d72fed1837de923f.tar.gz
gentoo-f985349a3987ca32c7121653d72fed1837de923f.tar.bz2
gentoo-f985349a3987ca32c7121653d72fed1837de923f.zip
Merge updates from master
-rw-r--r--dev-db/rqlite/Manifest1
-rw-r--r--dev-db/rqlite/metadata.xml2
-rw-r--r--dev-db/rqlite/rqlite-3.0.1.ebuild94
-rw-r--r--dev-db/rqlite/rqlite-9999.ebuild7
-rw-r--r--dev-ruby/ansi/ansi-1.5.0.ebuild2
-rw-r--r--dev-ruby/hashery/Manifest1
-rw-r--r--dev-ruby/hashery/hashery-2.1.2.ebuild31
-rw-r--r--dev-ruby/http_parser_rb/http_parser_rb-0.6.0.ebuild32
-rw-r--r--dev-ruby/libxml/libxml-2.8.0-r1.ebuild2
-rw-r--r--dev-ruby/libxml/libxml-2.8.0.ebuild64
-rw-r--r--dev-ruby/ox/Manifest1
-rw-r--r--dev-ruby/ox/ox-2.4.1.ebuild33
12 files changed, 167 insertions, 103 deletions
diff --git a/dev-db/rqlite/Manifest b/dev-db/rqlite/Manifest
index 19eba91fe308..f146efa3c6f7 100644
--- a/dev-db/rqlite/Manifest
+++ b/dev-db/rqlite/Manifest
@@ -5,3 +5,4 @@ DIST go-sqlite3-1.1.0_p20160307.tar.gz 1847839 SHA256 f3551d37bb2a485ef2c62c205b
DIST hashicorp-boltdb-d1e82c1ec3f15ee991f7cc7ffd5b67ff6f5bbaee.tar.gz 8881 SHA256 490ced07cc72baede9b997dcf92499fa0d4298926fbc51ee632bde3d3ea0979e SHA512 4f98cf8cf375561f255822cbd21b6926d3bd12ff2a1d9307b59ce5e12628034f197f6efc85d9cc9cf951eac7402b36954c2ea686bb033075ec840106614f2039 WHIRLPOOL 337d399c6b73893bb72d77a77e6b2c7b5ee914d191b719dec13f72975c0a4ece1ee6a902d32197bbf0f0300bdc3ce8efda082363a1e79a7d3f2d8aec6eb2d436
DIST hashicorp-raft-057b893fd996696719e98b6c44649ea14968c811.tar.gz 60617 SHA256 0a97044468f5a7b0640296c0bf25c9b66c2f78a6df9fdd8bf8ea5d624549ea93 SHA512 cc98717d405e3ee2479d44d79a98228faba3ca3ff41064490dde7555ca35bc65d3a8765778298fd0372b6a8afd0b00e5a557b8ad736709a0534c3fc85f61f3d7 WHIRLPOOL 74fd868a541d356284482c4af37b8affd61bf9588ec8c8f631cdb65d5c019cb5e4c78472b2fe111b137bf3aaf414c49c994e03a08522342047cd140df20986c6
DIST rqlite-2.1.tar.gz 22054 SHA256 0720cbf6972e83c7ca588440dee7f3c75d92baa5869244b3a36a8bb71b58af36 SHA512 fc34ef604a3b8c0d574d78e75baabdf9c1d859771a076a6cd1c11c0737d8bd412f23be44bbeb0ef6404700e22149c93f0d54e27046f9350b43e9c492b72ae457 WHIRLPOOL 2bc9f25ef533c0e55b317ad1cf2325643b772b6219e2af2e7a5510bdbae9d516f83a5547548336ba456dcb19c8ff440178a4547ff486602b99bab413bd3b839b
+DIST rqlite-3.0.1.tar.gz 38710 SHA256 c71308eb6703094d3b0c031d55c07e660e4820c92519bcdba3a6a1326fd80fa5 SHA512 7103676e35c35ca06a004bd8f49f335702f6ec4e7338c58e5c161ef1bf94b2647098b1ef00e1a8555f9e23ca11ef8d882880ee18d1fa9adfe4baac1d428d7339 WHIRLPOOL 9930dc4a89859686ef3b9d6a6bcb6f97a2685a108c8b0a6e75a6625d28ba061bbc107dbc7833f59149913e9308d8c6a34d2586ebfb7b568343eb5e8f98b91a8b
diff --git a/dev-db/rqlite/metadata.xml b/dev-db/rqlite/metadata.xml
index f14d95abec9e..90df09b8fd4d 100644
--- a/dev-db/rqlite/metadata.xml
+++ b/dev-db/rqlite/metadata.xml
@@ -5,6 +5,6 @@
<email>zmedico@gentoo.org</email>
</maintainer>
<upstream>
- <remote-id type="github">otoolep/rqlite</remote-id>
+ <remote-id type="github">rqlite/rqlite</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-db/rqlite/rqlite-3.0.1.ebuild b/dev-db/rqlite/rqlite-3.0.1.ebuild
new file mode 100644
index 000000000000..815ac44c094e
--- /dev/null
+++ b/dev-db/rqlite/rqlite-3.0.1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+fi
+
+inherit golang-build
+
+KEYWORDS="~amd64"
+DESCRIPTION="Replicated SQLite using the Raft consensus protocol"
+EGO_PN="github.com/rqlite/rqlite/..."
+HOMEPAGE="https://${EGO_PN%/*} http://www.philipotoole.com/tag/rqlite/"
+LICENSE="MIT"
+SLOT="0/${PVR}"
+IUSE=""
+EGIT_REPO_URI="https://github.com/rqlite/rqlite.git"
+EGIT_COMMIT="v${PV}"
+SRC_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
+ https://github.com/armon/go-metrics/archive/345426c77237ece5dab0e1605c3e4b35c3f54757.tar.gz -> go-metrics-345426c77237ece5dab0e1605c3e4b35c3f54757.tar.gz
+ https://github.com/boltdb/bolt/archive/ee4a0888a9abe7eefe5a0992ca4cb06864839873.tar.gz -> bolt-ee4a0888a9abe7eefe5a0992ca4cb06864839873.tar.gz
+ https://github.com/hashicorp/go-msgpack/archive/fa3f63826f7c23912c15263591e65d54d080b458.tar.gz -> go-msgpack-fa3f63826f7c23912c15263591e65d54d080b458.tar.gz
+ https://github.com/hashicorp/raft/archive/057b893fd996696719e98b6c44649ea14968c811.tar.gz -> hashicorp-raft-057b893fd996696719e98b6c44649ea14968c811.tar.gz
+ https://github.com/hashicorp/raft-boltdb/archive/d1e82c1ec3f15ee991f7cc7ffd5b67ff6f5bbaee.tar.gz -> hashicorp-boltdb-d1e82c1ec3f15ee991f7cc7ffd5b67ff6f5bbaee.tar.gz
+ https://github.com/mattn/go-sqlite3/archive/10876d7dac65f02064c03d7372a2f1dfb90043fe.tar.gz -> go-sqlite3-1.1.0_p20160307.tar.gz"
+
+get_archive_go_package() {
+ local archive=${1} uri x
+ for x in ${SRC_URI}; do
+ if [[ ${x} == http* ]]; then
+ uri=${x}
+ elif [[ ${x} == ${archive} ]]; then
+ break
+ fi
+ done
+ uri=${uri#https://}
+ echo ${uri%/archive/*}
+}
+
+unpack_go_packages() {
+ local go_package x
+ # Unpack packages to appropriate locations for GOPATH
+ for x in ${A}; do
+ unpack ${x}
+ if [[ ${x} == *.tar.gz ]]; then
+ go_package=$(get_archive_go_package ${x})
+ if [[ ${x%.tar.gz} -ef ${S} ]]; then
+ mv "${S}"{,_} || die
+ mkdir -p "${S}/src/${go_package%/*}" || die
+ mv "${S}"_ "${S}/src/${go_package}" || die || die
+ else
+ mkdir -p "${S}/src/${go_package%/*}" || die
+ for x in "${go_package##*/}"-*; do
+ if [[ ! ${x} -ef ${S} ]]; then
+ mv "${x}" "${S}/src/${go_package}" || die
+ fi
+ done
+ fi
+ fi
+ done
+}
+
+src_unpack() {
+ if [[ ${PV} == *9999* ]]; then
+ git-r3_src_unpack
+ mv "${S}"{,_} || die
+ mkdir -p "$(dirname "${S}/src/${EGO_PN%/*}")" || die
+ mv "${S}_" "${S}/src/${EGO_PN%/*}" || die
+ fi
+ unpack_go_packages
+}
+
+src_compile() {
+ # Omit $(get_golibdir_gopath) from GOPATH, in order to avoid
+ # interference from installed rqlite sources.
+ GOPATH="${WORKDIR}/${P}" \
+ go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
+}
+
+src_install() {
+ golang_install_pkgs
+}
+
+golang_install_pkgs() {
+ dobin bin/${PN}d
+ insinto $(dirname "${EPREFIX}$(get_golibdir)/src/${EGO_PN%/*}")
+ rm -rf "${S}"/src/${EGO_PN%/*}/.git*
+ doins -r "${S}"/src/${EGO_PN%/*}
+ insinto $(dirname "${EPREFIX}$(get_golibdir)/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}")
+ doins -r "${S}"/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}{,.a}
+ dodoc "${S}/src/${EGO_PN%/*}/"*.md
+}
diff --git a/dev-db/rqlite/rqlite-9999.ebuild b/dev-db/rqlite/rqlite-9999.ebuild
index 3ed035a17a5d..cc4ef9f4ed94 100644
--- a/dev-db/rqlite/rqlite-9999.ebuild
+++ b/dev-db/rqlite/rqlite-9999.ebuild
@@ -10,15 +10,14 @@ fi
inherit golang-build
KEYWORDS=""
-DESCRIPTION="Replicated SQLite using the Raft consensus protocol "
+DESCRIPTION="Replicated SQLite using the Raft consensus protocol"
EGO_PN="github.com/rqlite/rqlite/..."
HOMEPAGE="https://${EGO_PN%/*} http://www.philipotoole.com/tag/rqlite/"
LICENSE="MIT"
SLOT="0/${PVR}"
IUSE=""
-RESTRICT="test"
EGIT_REPO_URI="https://github.com/rqlite/rqlite.git"
-#EGIT_COMMIT="32514f4744917937d8ac9a85f4ad7ee7adcfe3d7"
+#EGIT_COMMIT="e3c20964fbdda2e865a5af20667a74fc2c3b5582"
SRC_URI="
https://github.com/armon/go-metrics/archive/345426c77237ece5dab0e1605c3e4b35c3f54757.tar.gz -> go-metrics-345426c77237ece5dab0e1605c3e4b35c3f54757.tar.gz
https://github.com/boltdb/bolt/archive/ee4a0888a9abe7eefe5a0992ca4cb06864839873.tar.gz -> bolt-ee4a0888a9abe7eefe5a0992ca4cb06864839873.tar.gz
@@ -91,5 +90,5 @@ golang_install_pkgs() {
doins -r "${S}"/src/${EGO_PN%/*}
insinto $(dirname "${EPREFIX}$(get_golibdir)/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}")
doins -r "${S}"/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}{,.a}
- dodoc "${S}/src/${EGO_PN%/*}/"{CHANGELOG,README}.md
+ dodoc "${S}/src/${EGO_PN%/*}/"*.md
}
diff --git a/dev-ruby/ansi/ansi-1.5.0.ebuild b/dev-ruby/ansi/ansi-1.5.0.ebuild
index 226d53579da4..faad3c2c222d 100644
--- a/dev-ruby/ansi/ansi-1.5.0.ebuild
+++ b/dev-ruby/ansi/ansi-1.5.0.ebuild
@@ -3,7 +3,7 @@
# $Id$
EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_RECIPE_DOC="yard"
diff --git a/dev-ruby/hashery/Manifest b/dev-ruby/hashery/Manifest
index 959f2b0f9f09..da4f2a898d73 100644
--- a/dev-ruby/hashery/Manifest
+++ b/dev-ruby/hashery/Manifest
@@ -1 +1,2 @@
DIST hashery-2.1.1.gem 43008 SHA256 8f94ee21ba35f970d188491318f9b79ff7288e517301700e4d342ba9255d5c75 SHA512 f0fb1a0ca41264170bfeb970a2df5920109ed273f4f4617cfbde92e889ce6b5ec34e61be442182ddfca86efa13df3aab537bbc40d2c1e7791b74a9e5b4e0ca24 WHIRLPOOL 3b7e2e5b44ba917feec676c7548bdfca63c93f621eb296e36c6fcb87f3b1a5fedf0ce4335bac8cf369f364a980ec3c39617d4c3b5fc6b6aecc3f6e77c57e489b
+DIST hashery-2.1.2.gem 43008 SHA256 d239cc2310401903f6b79d458c2bbef5bf74c46f3f974ae9c1061fb74a404862 SHA512 953fb7024aeeff8720c14880f8cbf0ee03cc09624ba33152215439a2e252cea22167258e8e8c1cb023129a51cd95b2d9d33ca794a6b38560a8eb1e0fe44f290b WHIRLPOOL 5bb4f38614665c8970c9f5c9cc3ed1ac5b982d2003343b518890ca22da6869071ec257179b71680bef006d7ad639222b58f9c8e6a089ea79ab1e69278ba040e8
diff --git a/dev-ruby/hashery/hashery-2.1.2.ebuild b/dev-ruby/hashery/hashery-2.1.2.ebuild
new file mode 100644
index 000000000000..859e0a174648
--- /dev/null
+++ b/dev-ruby/hashery/hashery-2.1.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="The Hashery is a tight collection of Hash-like classes"
+HOMEPAGE="https://rubyworks.github.com/hashery"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? (
+ dev-ruby/lemon
+ dev-ruby/qed
+ dev-ruby/rubytest
+ dev-ruby/rubytest-cli )"
+
+each_ruby_test() {
+ ${RUBY} -S qed || die 'tests failed'
+ ${RUBY} -S rubytest -Ilib -Itest test/ || die 'tests failed'
+}
diff --git a/dev-ruby/http_parser_rb/http_parser_rb-0.6.0.ebuild b/dev-ruby/http_parser_rb/http_parser_rb-0.6.0.ebuild
deleted file mode 100644
index 703706dd74f8..000000000000
--- a/dev-ruby/http_parser_rb/http_parser_rb-0.6.0.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-USE_RUBY="ruby20"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_EXTRADOC="README.md"
-
-RUBY_FAKEGEM_NAME="http_parser.rb"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Simple callback-based HTTP request/response parser"
-HOMEPAGE="https://github.com/tmm1/http_parser.rb"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 x86"
-IUSE=""
-
-each_ruby_configure() {
- ${RUBY} -Cext/ruby_http_parser extconf.rb || die
-}
-
-each_ruby_compile() {
- emake -Cext/ruby_http_parser V=1
- cp ext/ruby_http_parser/ruby_http_parser.so lib/ || die
-}
diff --git a/dev-ruby/libxml/libxml-2.8.0-r1.ebuild b/dev-ruby/libxml/libxml-2.8.0-r1.ebuild
index f73369cffec4..14abdbc425c4 100644
--- a/dev-ruby/libxml/libxml-2.8.0-r1.ebuild
+++ b/dev-ruby/libxml/libxml-2.8.0-r1.ebuild
@@ -21,7 +21,7 @@ HOMEPAGE="https://github.com/xml4r/libxml-ruby"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm hppa ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND="${RDEPEND} dev-libs/libxml2"
diff --git a/dev-ruby/libxml/libxml-2.8.0.ebuild b/dev-ruby/libxml/libxml-2.8.0.ebuild
deleted file mode 100644
index ea01e4ead4a4..000000000000
--- a/dev-ruby/libxml/libxml-2.8.0.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-# ruby22 → test suite hangs
-USE_RUBY="ruby20"
-
-RUBY_FAKEGEM_NAME="libxml-ruby"
-
-RUBY_FAKEGEM_DOCDIR="doc"
-RUBY_FAKEGEM_EXTRADOC="README.rdoc HISTORY"
-
-RUBY_FAKEGEM_TASK_TEST="none"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Ruby libxml with a user friendly API, akin to REXML"
-HOMEPAGE="https://github.com/xml4r/libxml-ruby"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE=""
-
-RDEPEND="${RDEPEND} dev-libs/libxml2"
-DEPEND="${DEPEND} dev-libs/libxml2"
-
-ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
-
-all_ruby_prepare() {
- # Remove grancher tasks only needed for publishing the website
- sed -i -e '/grancher/d' -e '/Grancher/,$d' Rakefile || die
-
- # We don't have the hanna template available.
- sed -i -e 's/hanna/rake/' Rakefile || die
-
- # Remove rake-compiler bits since we don't use it
- sed -i -e '/extensiontask/d' -e '/ExtensionTask/,/end/d' -e '/GemPackageTask/,/end/d' Rakefile || die
-
- # replace ulimit -n output as it does not work with Ruby 1.9
- sed -i -e 's:`ulimit -n`:"'`ulimit -n`'":' test/tc_parser.rb || die
-
- # Avoid test failures with libxml2-2.9.2 since that is the oldest
- # secure version available: https://github.com/xml4r/libxml-ruby/issues/103
- sed -i -e '/tc_html_parser_context/d' test/test_suite.rb || die
- sed -i -e '/test_bad_xml/,/^ end/ s:^:#:' test/tc_parser.rb || die
-}
-
-each_ruby_configure() {
- ${RUBY} -C ext/libxml extconf.rb || die
-}
-
-each_ruby_compile() {
- emake -C ext/libxml V=1
- cp ext/libxml/libxml_ruby.so lib/ || die
-}
-
-each_ruby_test() {
- # The test suite needs to load its files in alphabetical order but
- # this is not guaranteed. See bug 370501.
- ${RUBY} -Ilib -r ./test/test_helper.rb test/test_suite.rb || die
-}
diff --git a/dev-ruby/ox/Manifest b/dev-ruby/ox/Manifest
index 00bd167a42af..5d09ca69d75a 100644
--- a/dev-ruby/ox/Manifest
+++ b/dev-ruby/ox/Manifest
@@ -1,2 +1,3 @@
DIST ox-2.3.0.tar.gz 181318 SHA256 39b148be07479b8b017af8026eed936dc1f36f29b7b3fbca089aeffea2d97af9 SHA512 fbe09bf7e8073a660ba8cc4fbc47580b34c740cf59dec7db0b339103872947a76f118debf0ab306bd12170e9db1c327075c511b6d0fbb42d87dfba6ddcd57610 WHIRLPOOL 8af68bfff2bc0e3b472c7ed0d5bcadb8431caa0e64d5dc3a712cb90a3feebd81ea930fb9480ada2d3638f00bde9624258ab5b9b19ce6c17f90f16833a9fb2cfb
DIST ox-2.4.0.tar.gz 186709 SHA256 aeecb115238048019816b73b01a9d78b33cb2f266911b196390741b095a82e9c SHA512 a4794f2d0978b0b5962ff60ff8e7f7e357302563b442dfe8aa812fd9311db48cc5ee07b00d89aff7489d3a9d266c084c9f3a0b837cdd84c872db0e88b1b3048f WHIRLPOOL ae09ddf5e441e540195900ab26d062bb976255c8e5306d91803e28dadc0f9d84ebd406ebd5fe535ddf8727a5f29d731e0f2dbfa6ff51a6cd9f07938174743ec4
+DIST ox-2.4.1.tar.gz 188550 SHA256 c9f26c026d614e1af52585dd271cbd4c794b861242ac1b71b08c2e195b10b1b9 SHA512 69f0d24d8b712cdc34e3da2ab72e503af40c96387c0f6eeb73f4a753e4b64ebd0c2f214c10511d2d02395ceb86dffb6f0b94bee5272577e203f731bf4fde4630 WHIRLPOOL 99006b2963a1c61a6efd7da47c8e28b5e3fb23660a9a493cb94c99674789fc42a455a50f78bd0f511ced52913229b3a7ee5875cdbb2e3aa3056bccc969aeeb68
diff --git a/dev-ruby/ox/ox-2.4.1.ebuild b/dev-ruby/ox/ox-2.4.1.ebuild
new file mode 100644
index 000000000000..71373194215b
--- /dev/null
+++ b/dev-ruby/ox/ox-2.4.1.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
+}