summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-10-30 07:46:02 +0100
committerHans de Graaff <graaff@gentoo.org>2022-10-30 07:46:02 +0100
commitd98136118fa7f9bce8ed75e56b55250ca3d3b115 (patch)
tree3c43e2def1b956567bbfbead94d0b2e8d1a01a98 /dev-ruby/hoe
parentdev-ruby/net-smtp: add 0.3.3 (diff)
downloadgentoo-d98136118fa7f9bce8ed75e56b55250ca3d3b115.tar.gz
gentoo-d98136118fa7f9bce8ed75e56b55250ca3d3b115.tar.bz2
gentoo-d98136118fa7f9bce8ed75e56b55250ca3d3b115.zip
dev-ruby/hoe: add 3.26.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/hoe')
-rw-r--r--dev-ruby/hoe/Manifest1
-rw-r--r--dev-ruby/hoe/hoe-3.26.0.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-ruby/hoe/Manifest b/dev-ruby/hoe/Manifest
index 568e38c9d672..a3b97ce28d64 100644
--- a/dev-ruby/hoe/Manifest
+++ b/dev-ruby/hoe/Manifest
@@ -2,3 +2,4 @@ DIST hoe-3.21.0.gem 193024 BLAKE2B 2ff65edc6e0aebc93ebc8f3e628261ac3fabec4034b8e
DIST hoe-3.23.1.gem 194048 BLAKE2B 907c2f2b62dd362f8c472f21d3fd998bd178de2a15fb9875ef36c61dcbf6b170253037d64f70b04b45a5f7e7dcf9e084122a85f694c6396767d541dccd5693f5 SHA512 c2199f93fe806a9639b319d01ae7bb6999ac203aa8bbabaf22b4c0c5b97f69dbd4e876bdfaaa0b0e8cda68dbd25dfa0e5aa91a599613237fc22de0e857c68c37
DIST hoe-3.24.0.gem 194560 BLAKE2B 6f4259fcad82078ea4d56ee7f42027cb9561fc603e1a36634de3f11a48ebedd252ee4ddf5884e571ee0231f5dec20c6a7249d0fb6784bf531a017b033955e680 SHA512 f2048d1f5d9b3010267f2ffb67cbce2aee7ecf58871dd762e51a08035272cdc6b37aacb63aa0af6f62e6dfeb01a60afd53a25b394ff10322a8348320268adb76
DIST hoe-3.25.0.gem 194560 BLAKE2B d03ba870c720a59fda80b8716635256b01dd41f28a0f1d8ad7e06b810f3bccd2bfdd9a355584c5afdff375e7f56d7987a7ba174af0fe37da91fc05c42c32ffcb SHA512 d49b36a9757379b4c33644c886479ff910791cb830a2392512f52ddde883378dcf17fb9701eb17e18c870074cf5f12258bc8210aba0660dd5220b6ebfa6c9c4b
+DIST hoe-3.26.0.gem 194560 BLAKE2B a47ebe54374c04e739112c99c3eaa968c6048df639e5ee8a4cad60659a50a4a4ea85e9a11a77ad824ae511d28634241255ec323938a4b9da6a8dd38aec022ac5 SHA512 0b069b0b2b181b81770568186f9d81b0f8fe48644a4b29bb2dd8084dc60886c7a06fa0e7be81854b5b653afc38c908622f08066656d9b625ab595615ef2918c3
diff --git a/dev-ruby/hoe/hoe-3.26.0.ebuild b/dev-ruby/hoe/hoe-3.26.0.ebuild
new file mode 100644
index 000000000000..8412695175a7
--- /dev/null
+++ b/dev-ruby/hoe/hoe-3.26.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+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 ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc"
+
+ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.9:5 )"
+
+ruby_add_rdepend ">=dev-ruby/rake-0.8.7 <dev-ruby/rake-15.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
+
+ # Avoid test with random sort order
+ sed -i -e '/test_possibly_better/askip "ordering issues"' test/test_hoe.rb || die
+
+ # Avoid test that depends on specifics of merged packages
+ sed -i -e '/test_make_rdoc_cmd/askip "dependent on merged packages"' test/test_hoe_publish.rb || die
+}
+
+all_ruby_compile() {
+ all_fakegem_compile
+
+ if use doc; then
+ rdoc --title "seattlerb's hoe-${PV} Documentation" -o doc --main README.txt lib History.txt Manifest.txt README.txt || die
+ rm -f doc/js/*.gz || die
+ fi
+}
+
+each_ruby_test() {
+ export -n A
+ each_fakegem_test
+}