summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-07-20 19:11:44 +0000
committerHans de Graaff <graaff@gentoo.org>2011-07-20 19:11:44 +0000
commit2608d54c9e653792a8bf5dc4987a17021660d6d6 (patch)
tree6702536827ad7fc5c1f67a8ede12a7e2212cb914
parentVersion bump, bug #321401. (diff)
downloadgentoo-2-2608d54c9e653792a8bf5dc4987a17021660d6d6.tar.gz
gentoo-2-2608d54c9e653792a8bf5dc4987a17021660d6d6.tar.bz2
gentoo-2-2608d54c9e653792a8bf5dc4987a17021660d6d6.zip
Initial import. New dependency of dev-ruby/twitter.
(Portage version: 2.1.10.3/cvs/Linux x86_64)
-rw-r--r--dev-ruby/multi_xml/ChangeLog10
-rw-r--r--dev-ruby/multi_xml/metadata.xml5
-rw-r--r--dev-ruby/multi_xml/multi_xml-0.2.2.ebuild34
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/multi_xml/ChangeLog b/dev-ruby/multi_xml/ChangeLog
new file mode 100644
index 000000000000..c6a25b3be9d1
--- /dev/null
+++ b/dev-ruby/multi_xml/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/multi_xml
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_xml/ChangeLog,v 1.1 2011/07/20 19:11:44 graaff Exp $
+
+*multi_xml-0.2.2 (20 Jul 2011)
+
+ 20 Jul 2011; Hans de Graaff <graaff@gentoo.org> +multi_xml-0.2.2.ebuild,
+ +metadata.xml:
+ Initial import. New dependency of dev-ruby/twitter.
+
diff --git a/dev-ruby/multi_xml/metadata.xml b/dev-ruby/multi_xml/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/multi_xml/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>
diff --git a/dev-ruby/multi_xml/multi_xml-0.2.2.ebuild b/dev-ruby/multi_xml/multi_xml-0.2.2.ebuild
new file mode 100644
index 000000000000..8284438c6149
--- /dev/null
+++ b/dev-ruby/multi_xml/multi_xml-0.2.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_xml/multi_xml-0.2.2.ebuild,v 1.1 2011/07/20 19:11:44 graaff Exp $
+
+EAPI=4
+
+# jruby fails tests, may be fixed in next release since upstream has
+# already made plenty changes.
+USE_RUBY="ruby18 ree18"
+
+RUBY_FAKEGEM_TASK_DOC="doc:yard"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README.mkd"
+
+RUBY_FAKEGEM_TASK_TEST="spec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A generic swappable back-end for XML parsing"
+HOMEPAGE="http://rdoc.info/gems/multi_xml"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE=""
+
+ruby_add_bdepend "doc? ( dev-ruby/yard )"
+ruby_add_bdepend "test? ( >=dev-ruby/rspec-2.5:2 )"
+
+all_ruby_prepare() {
+ rm Gemfile || die
+ sed -i -e '/[Bb]undler/d' Rakefile spec/helper.rb || die
+ sed -i -e '/[Ss]imple[Cc]ov/d' spec/helper.rb || die
+}