summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-05-22 13:06:18 +0000
committerHans de Graaff <graaff@gentoo.org>2010-05-22 13:06:18 +0000
commitb459f069520cdd83d92ce0e8ca6e704e0e58b77d (patch)
tree5cfccada72e5a8d491c42059c7491a74bd1303fa /dev-ruby/xml-mapping/xml-mapping-0.9.1.ebuild
parentMarked ~ppc-macos (diff)
downloadgentoo-2-b459f069520cdd83d92ce0e8ca6e704e0e58b77d.tar.gz
gentoo-2-b459f069520cdd83d92ce0e8ca6e704e0e58b77d.tar.bz2
gentoo-2-b459f069520cdd83d92ce0e8ca6e704e0e58b77d.zip
Version bump. Convert to ruby-fakegem.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/xml-mapping/xml-mapping-0.9.1.ebuild')
-rw-r--r--dev-ruby/xml-mapping/xml-mapping-0.9.1.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/xml-mapping/xml-mapping-0.9.1.ebuild b/dev-ruby/xml-mapping/xml-mapping-0.9.1.ebuild
new file mode 100644
index 000000000000..11d30360527e
--- /dev/null
+++ b/dev-ruby/xml-mapping/xml-mapping-0.9.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/xml-mapping/xml-mapping-0.9.1.ebuild,v 1.1 2010/05/22 13:06:18 graaff Exp $
+
+EAPI="2"
+USE_RUBY="ruby18"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="ChangeLog README README_XPATH TODO.txt doc/xpath_impl_notes.txt"
+
+inherit ruby-fakegem
+
+DESCRIPTION="XML-to-object (and back) mapper for Ruby, including XPath interpreter"
+HOMEPAGE="http://xml-mapping.rubyforge.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+ruby_add_rdepend "test? ( virtual/ruby-test-unit )"
+
+each_ruby_test() {
+ ${RUBY} test/all_tests.rb || die "Failed to run tests."
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ insinto /usr/share/doc/${P}
+ doins -r examples
+}