summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-12-10 06:37:04 +0100
committerHans de Graaff <graaff@gentoo.org>2016-12-10 06:37:04 +0100
commitb85fe0e62f7154b987b3a93d143d6661f0596ec9 (patch)
tree1a4fa799cc76386a0659329a33aeba0a387cc734 /dev-ruby/multi_xml
parentdev-ruby/itextomml: add 1.5.5 (diff)
downloadgentoo-b85fe0e62f7154b987b3a93d143d6661f0596ec9.tar.gz
gentoo-b85fe0e62f7154b987b3a93d143d6661f0596ec9.tar.bz2
gentoo-b85fe0e62f7154b987b3a93d143d6661f0596ec9.zip
dev-ruby/multi_xml: add 0.6.0
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/multi_xml')
-rw-r--r--dev-ruby/multi_xml/Manifest1
-rw-r--r--dev-ruby/multi_xml/multi_xml-0.6.0.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/multi_xml/Manifest b/dev-ruby/multi_xml/Manifest
index 067a1ebc2ea6..f760a6131006 100644
--- a/dev-ruby/multi_xml/Manifest
+++ b/dev-ruby/multi_xml/Manifest
@@ -1,2 +1,3 @@
DIST multi_xml-0.5.4.gem 20992 SHA256 6365ba9aced7eb993b6237a5a6d8c854be5cd84ad2ea1aad4de63ee0bf3bfd53 SHA512 d78ae3c401741c4d396bed6074efd24e8712cd70d9b9ef7008abb3ff662edc2292be42dfbd101be384aaf2ce207271004eb7b7cadccba746b9afe385a9fbdb7a WHIRLPOOL 5aaefe9e3db22e0fa4b0922d35acc19370bb9866701d1761c6ed45142548d6ad67585a9323ef382019a0be239b11fb474c0461af2153cdfcc6c678a8f704b0e2
DIST multi_xml-0.5.5.gem 20992 SHA256 08936dc294586ee1d178217cce577febe26315d7880e01e4f8e97cf2753b1945 SHA512 692f55908ec5e9ee27bec858325ff9a0b15037a6563d5a21bd742ec3c959f3dbc04f1a232782f20827c9af49f3dd14fd725a0c19dbacb3708067c19dedf427ba WHIRLPOOL e21f6239983c9f88d32f5f90266e18d1d533bc4c5735bf0d8ea5f1fb32ec2b2f2814305bf86809ae6f2098560e5ed8fa774a879ee9c337b6663933b1100f924d
+DIST multi_xml-0.6.0.tar.gz 16571 SHA256 cc80d979f0540e1b585cb42c416b05c4b597269da409c5e9cd7cc00f8ca8f3e5 SHA512 67e280d838ba07373a6ad5cbe4658b32655102906d8e0ed5429d21220475c21e07ea2ec0d2729df4d30a1bf7d0a5e6ff2d4482342098873135cb12e18c53194a WHIRLPOOL 9e60d01a46999514c91a9326af8b6193387a6e8bb24ffe54f47901005931561a5171967afdeab2fa2791f9a4f32489e438f062f425bf7b8fc21ed4f06c6593f1
diff --git a/dev-ruby/multi_xml/multi_xml-0.6.0.ebuild b/dev-ruby/multi_xml/multi_xml-0.6.0.ebuild
new file mode 100644
index 000000000000..a3327e019900
--- /dev/null
+++ b/dev-ruby/multi_xml/multi_xml-0.6.0.ebuild
@@ -0,0 +1,38 @@
+# 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_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_TASK_DOC="yard"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A generic swappable back-end for XML parsing"
+HOMEPAGE="http://rdoc.info/gems/multi_xml"
+SRC_URI="https://github.com/sferik/multi_xml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~ppc64 ~x86"
+SLOT="0"
+IUSE=""
+
+ruby_add_bdepend "doc? ( dev-ruby/yard )"
+ruby_add_bdepend "test? ( dev-ruby/ox )"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/,/^end/ s:^:#:' spec/helper.rb || die
+ sed -i -e '/bundler/I s:^:#:' -e '/yardstick/,/end/ s:^:#:' Rakefile || die
+}
+
+each_ruby_test() {
+ CI=true each_fakegem_test
+}