summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-01-08 07:43:22 +0100
committerHans de Graaff <graaff@gentoo.org>2017-01-08 07:43:22 +0100
commit19c8b143cf9cdc5ab517e1fdc6005f10f4b1d76e (patch)
treee95466f712b7a2288f12fad811901f0a9119f0a4 /dev-ruby/hoe
parentdev-ruby/climate_control: add 0.1.0 (diff)
downloadgentoo-19c8b143cf9cdc5ab517e1fdc6005f10f4b1d76e.tar.gz
gentoo-19c8b143cf9cdc5ab517e1fdc6005f10f4b1d76e.tar.bz2
gentoo-19c8b143cf9cdc5ab517e1fdc6005f10f4b1d76e.zip
dev-ruby/hoe: add 3.16.0
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/hoe')
-rw-r--r--dev-ruby/hoe/Manifest1
-rw-r--r--dev-ruby/hoe/hoe-3.16.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/hoe/Manifest b/dev-ruby/hoe/Manifest
index e8460393e8e5..2b23fcfe50b7 100644
--- a/dev-ruby/hoe/Manifest
+++ b/dev-ruby/hoe/Manifest
@@ -2,3 +2,4 @@ DIST hoe-3.13.0.gem 130048 SHA256 a74013aa6749ab10f0db92e9ad56e735d407104baa0981
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
DIST hoe-3.15.3.gem 188416 SHA256 4e772892e8f23055adc7f8579153fc37b0636cbcb31e6e57b1e06b7fd55de717 SHA512 04800928b5966334bb4529fb1d1374f2027020f936f1e890bbc429a7995cac2e7951054bfe26388c42b2809d802fb234da83aaca97358ff9356a8347a7cf12ac WHIRLPOOL 92008c05bad3e1c14f12e8defd15f97a173f5a8ad98f55d998af6ce7a617b1ebf9b9e53965ffacdfb3a9ef1a1b92cd1515ee88c744eec25cbbfc1c4cc85da38a
+DIST hoe-3.16.0.gem 188416 SHA256 8bee33376af7dacbd0f3440614453589e60df14c13471c938ab6124bb8b6280f SHA512 66cefb5a24906e19bbf0c82c8539d6d101b84d0dc1d3ce1910e4117357639489968271e76e86bd3c432b9ef7e3b24a78294c06210cbef280860f7dac18100606 WHIRLPOOL 778b59cab2ed778fa8e4ad62e90ca26b346bd0942e747f17594fbc475bc233f7495e5b4457818fc97e04b6111197d40012ebaa65acf5d2a27862c09d2a61acbe
diff --git a/dev-ruby/hoe/hoe-3.16.0.ebuild b/dev-ruby/hoe/hoe-3.16.0.ebuild
new file mode 100644
index 000000000000..75c7c87dbca7
--- /dev/null
+++ b/dev-ruby/hoe/hoe-3.16.0.ebuild
@@ -0,0 +1,47 @@
+# 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_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="https://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.9:5 )"
+
+ruby_add_rdepend ">=dev-ruby/rake-0.8.7 <dev-ruby/rake-13.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
+}