summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-01-14 07:26:09 +0100
committerHans de Graaff <graaff@gentoo.org>2017-01-14 07:35:54 +0100
commit433352db087823986cc395e8a80ee55af2184290 (patch)
tree5fbae0f0a2ba1b5a0b5b26f43e9e4e2363ec8c75 /dev-ruby/builder/builder-3.2.3.ebuild
parentnet-dns/updatedd: new revision restoring the .la plugins. (diff)
downloadgentoo-433352db087823986cc395e8a80ee55af2184290.tar.gz
gentoo-433352db087823986cc395e8a80ee55af2184290.tar.bz2
gentoo-433352db087823986cc395e8a80ee55af2184290.zip
dev-ruby/builder: add 3.2.3
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/builder/builder-3.2.3.ebuild')
-rw-r--r--dev-ruby/builder/builder-3.2.3.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/builder/builder-3.2.3.ebuild b/dev-ruby/builder/builder-3.2.3.ebuild
new file mode 100644
index 000000000000..1db2aa77bc24
--- /dev/null
+++ b/dev-ruby/builder/builder-3.2.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README.md CHANGES"
+
+inherit versionator ruby-fakegem
+
+DESCRIPTION="A builder to facilitate programatic generation of XML markup"
+HOMEPAGE="http://onestepback.org/"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
+
+all_ruby_prepare() {
+ sed -i \
+ -e '/rdoc\.template .*jamis/d' \
+ Rakefile || die
+
+ rm rakelib/* || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
+}