summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-09-10 17:49:01 +0000
committerHans de Graaff <graaff@gentoo.org>2013-09-10 17:49:01 +0000
commita98ab542e475f13b593bc64e954df406c17570b2 (patch)
tree78659bea8175f31093aefc2f15b7437cb43f7901 /dev-ruby/hoe
parentEbuild for objenesis (class instantiation library for java). (diff)
downloadgentoo-2-a98ab542e475f13b593bc64e954df406c17570b2.tar.gz
gentoo-2-a98ab542e475f13b593bc64e954df406c17570b2.tar.bz2
gentoo-2-a98ab542e475f13b593bc64e954df406c17570b2.zip
Revision bump to add ruby20.
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/hoe')
-rw-r--r--dev-ruby/hoe/ChangeLog7
-rw-r--r--dev-ruby/hoe/hoe-2.13.0-r1.ebuild37
2 files changed, 43 insertions, 1 deletions
diff --git a/dev-ruby/hoe/ChangeLog b/dev-ruby/hoe/ChangeLog
index 2888e64e6047..0047a1bf27e0 100644
--- a/dev-ruby/hoe/ChangeLog
+++ b/dev-ruby/hoe/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/hoe
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hoe/ChangeLog,v 1.141 2013/01/28 15:15:57 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hoe/ChangeLog,v 1.142 2013/09/10 17:49:01 graaff Exp $
+
+*hoe-2.13.0-r1 (10 Sep 2013)
+
+ 10 Sep 2013; Hans de Graaff <graaff@gentoo.org> +hoe-2.13.0-r1.ebuild:
+ Revision bump to add ruby20.
28 Jan 2013; Alexis Ballier <aballier@gentoo.org> hoe-2.13.0.ebuild:
keyword ~amd64-fbsd
diff --git a/dev-ruby/hoe/hoe-2.13.0-r1.ebuild b/dev-ruby/hoe/hoe-2.13.0-r1.ebuild
new file mode 100644
index 000000000000..0830daa2b076
--- /dev/null
+++ b/dev-ruby/hoe/hoe-2.13.0-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hoe/hoe-2.13.0-r1.ebuild,v 1.1 2013/09/10 17:49:01 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby18 ruby19 ruby20 jruby"
+
+RUBY_FAKEGEM_TASK_DOC="docs"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.txt"
+
+RUBY_FAKEGEM_EXTRAINSTALL="template"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Hoe extends rake to provide full project automation."
+HOMEPAGE="http://seattlerb.rubyforge.org/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~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=""
+
+# - also requires dev-ruby/hoe-seattlerb for 1.9;
+# - dev-ruby/gemcutter is an optional dependency at both runtime and
+# test-time, at least for us;
+# - rubyforge is loaded at runtime when needed, so we don't strictly
+# depend on it at runtime, but we need it for tests (for now);
+ruby_add_bdepend "test? ( virtual/ruby-minitest >=dev-ruby/rubyforge-2.0.4 )"
+
+ruby_add_rdepend ">=dev-ruby/rake-0.8.7 >=dev-ruby/rdoc-3.10"
+
+all_ruby_prepare() {
+ # Make test regexp more lenient to cover the way we name the binaries.
+ sed -i -e 's/sudo gem/sudo .?gem/' -e 's/\^gem/^.?gem/' test/test_hoe.rb || die
+}