summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/hoe/Manifest1
-rw-r--r--dev-ruby/hoe/hoe-3.15.2.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/hoe/Manifest b/dev-ruby/hoe/Manifest
index 1480f1d2195c..a682adc30ea6 100644
--- a/dev-ruby/hoe/Manifest
+++ b/dev-ruby/hoe/Manifest
@@ -1,3 +1,4 @@
DIST hoe-3.13.0.gem 130048 SHA256 a74013aa6749ab10f0db92e9ad56e735d407104baa0981bf0d10dc2feacefef7 SHA512 0b6b109a063811651787ccf3d63eff2944024013a75c0c3362056d2fba6668141b7541fff8e53a9ef414899adc560546a98c452878aa5c53620a115fef7ce242 WHIRLPOOL 3639b1b2d984110ab234e5d48744f362031c312ebb47d5994c102e2aa71e6b83039b5bf9549b951b3d653b6c131f39d489602787c6a1fb7cbefb3171a5f1a9b8
DIST hoe-3.13.1.gem 130048 SHA256 18414316a39bc828b4b943aed6817774ce23642fa6b51450b25ae596e7084cd5 SHA512 9962f7cdf3179e5073c63983e5ee20926399c17769d1588292427d1bb7f765d3444fbefa57edaa610dc053a5bd3bd0ba16bf627ca0713e88e4b7f039435b127e WHIRLPOOL b61b2dbedd085fb9abc4183e55d23c21d5edab6c5da63b4c576495ae4652c3dc0fe922b8b82ba4b16955d16239f6575136f2866038f28f655542e0389bb4d890
DIST hoe-3.14.1.gem 130048 SHA256 dc2a2cc4ce1d856fd57a8e1d87455eae4025c9b1380e362fb75397de8ec323e5 SHA512 2bce2691a0cfa1d573987cdbf6f54390b5f3a5c93b06d5542309ccff7a17e834ecd5eec50b41cab9c6c5d355721428626644b17fb3ac8c9db23b74984666d3dc WHIRLPOOL 14b4cfca20346b07c2d584988864baea38098bb07a60e86e77d01e3b4bf1be40e2470729f81083d1172f3a2b2a1c85b5e917a2d2a7c530adfa453ddde4a24b69
+DIST hoe-3.15.2.gem 188416 SHA256 f76b3503ba8dc1906ccd37e293a979b54dbc43ef49f6c2effbeddc9d64723ee6 SHA512 1d15551c59b9314d8c5a4514f93491100c9d31c0011fde34c937d9ee12cba3b073e112950659173034f754cf57f5d4b602487fd933b23ed8c23c3a1bcbcacf3f WHIRLPOOL d423ad2c5eee095045299877ea65cb04991096f89878f4d245b51463524952feff8a0002cd46841d51d587d5b85d950ed933238a52f0e0b68e2fae2a3313aee3
diff --git a/dev-ruby/hoe/hoe-3.15.2.ebuild b/dev-ruby/hoe/hoe-3.15.2.ebuild
new file mode 100644
index 000000000000..afe27ee2d6b2
--- /dev/null
+++ b/dev-ruby/hoe/hoe-3.15.2.ebuild
@@ -0,0 +1,47 @@
+# 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_DOC="rdoc"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="History.rdoc Manifest.txt README.rdoc"
+
+RUBY_FAKEGEM_EXTRAINSTALL="template"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Hoe extends rake to provide full project automation"
+HOMEPAGE="http://www.zenspider.com/projects/hoe.html"
+
+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=""
+
+ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.5:5 )"
+
+ruby_add_rdepend ">=dev-ruby/rake-0.8.7 <dev-ruby/rake-12.0"
+
+all_ruby_prepare() {
+ # Skip isolation
+ sed -i -e '/isolate/ s:^:#:' Rakefile || die
+
+ # Skip test depending on specifics of gem command name
+ sed -i -e '/test_nosudo/,/^ end/ s:^:#:' test/test_hoe.rb || die
+
+ # Gem.bin_wrapper does not work as expected on Gentoo.
+ sed -i -e 's/Gem.bin_wrapper//' lib/hoe/rcov.rb lib/hoe/publish.rb test/test_hoe_publish.rb || die
+
+ # Fix broken test by including the right plugin first
+ sed -i -e '/test_extensions/a Hoe.plugin :clean' test/test_hoe.rb || die
+}
+
+all_ruby_compile() {
+ all_fakegem_compile
+
+ rdoc --title "seattlerb's hoe-3.5.1 Documentation" -o doc --main README.txt lib History.txt Manifest.txt README.txt || die
+}