diff options
-rw-r--r-- | dev-ruby/ox/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/ox/ox-2.7.0.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/ox/Manifest b/dev-ruby/ox/Manifest index ccb764bc6f9a..90071f676a3a 100644 --- a/dev-ruby/ox/Manifest +++ b/dev-ruby/ox/Manifest @@ -1,2 +1,3 @@ DIST ox-2.5.0.tar.gz 191422 SHA256 01c6a98cb925b864ecefa40f297416a489c95b08715db4d2b276db8bb0c30edd SHA512 470c3b281e44423ab4197989f5b6fdb85e979a13dbcb9add192b4b36de1e768add4768f8cb4bee798aac424b9fe453e925f24af5a13c4cde4157e7fcebd0a3a2 WHIRLPOOL 8c843047ecf0431c810689698e4f5b6f025a5a093d68881cef09fdd919998fb98648d495be73c2eacdaec26ae38aaf235bcf423bcf38fef7690c6fe120309bcb DIST ox-2.6.0.tar.gz 191979 SHA256 d96f93640cde0e837e4b71e1a6dcd0f1d0221f3a4ad5b8484e74b851571459cc SHA512 8765fc3bfd10e52a05d59dab9e9ec973f933976c3511a91d6c84f120e2cac6abccc8ccb7ea9d301882198049b37823a392520464197a791cddf79ba9ce252f37 WHIRLPOOL a6d83bdedd6af70e17478893d3c7e91cdae6cea9a7b66360019310cd1511a0643a9a18f27fb497ba7da7a157b47ea00df8d85331c1dcb9ebf1419e003f291fdf +DIST ox-2.7.0.tar.gz 193355 SHA256 11188cf3408e9774f24fcf1b35c20c0d37ce5b173132b9fff602b422fa5f741c SHA512 3c77fe8fee38a35ffb6317873d90f618f39215ce652dc48b6671a85960fbc1705f3d26c9100bd4e891620afe46f19e714acde79faecbe4393e429879017e8f24 WHIRLPOOL 502096c01a904e7ba18016956ea2d633b0204293c2988cdeeed7d5f839662de25f1aa9502ebf12f03f7e226a9bbbe690a35e1512f282062e2c424c4771aed873 diff --git a/dev-ruby/ox/ox-2.7.0.ebuild b/dev-ruby/ox/ox-2.7.0.ebuild new file mode 100644 index 000000000000..d51d9aa48d25 --- /dev/null +++ b/dev-ruby/ox/ox-2.7.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="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 +} |