dev-ruby/hoe: add 4.6.0

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2026-01-29 11:23:06 +01:00
parent f36eb572c0
commit 2de5ed66ae
2 changed files with 55 additions and 0 deletions

View File

@@ -3,3 +3,4 @@ DIST hoe-4.3.0.gem 192000 BLAKE2B da02cca60896654aff9eb1a9c358b3810c7d4252e4e740
DIST hoe-4.4.0.gem 192000 BLAKE2B b097fc80ebb72a299f880cc5792663cd04bd3e7dd22934c341a957efa9f4cd6ac1f79f5150cd5effb9e48a096ab96d44b2e53099089b92e3e23a48978301dbef SHA512 7a304d6535fd41a3699af64f3576f8611e54d2431015267d3a7173fc0cb6039100d454e7d0cf9116d332a975423423e599f55cdc29e62c5ba76f5522855bebfe
DIST hoe-4.5.0.gem 193536 BLAKE2B 42c50478c655569c2f77bff3e45dae6247d73c6cfaaef317b49da3b4b04e38966511c385dc6dc57ba53fed9ef400ced79797857f949134699f1e0788aaf66c39 SHA512 76b973ccd2e44508825c6f14be7cb73d92a10f32b5940ea60082db91e5adb1c1fe69ae89128b74a75feb83562cea250998b02ef326bac4f168b8c7acb238ffd1
DIST hoe-4.5.1.gem 193536 BLAKE2B 2eca99b0fbede8d16043e1fcb311305486bc5de1a6f55f602c943a3098b5692b38ab13338f8a0d308e45c1f888ccedf26d554a0789fd085089c854c6f5c9fdd7 SHA512 c714e4de94fb5a2409a5f1ec3a6c48da77f28fb58f143e3576df030b8269adb32ccd326075d969fa6a85d09b7be8054337affde61eaa7665f8e365122a74b1e4
DIST hoe-4.6.0.gem 194048 BLAKE2B 3671fec8bf8820cbf428cb26d402fe66582a4b9b3fe40e2c9e88233b628f48bce8e18244b517ab524ec139d6681af5e5b56b2f53c53c862a1b8395adfb6ecf5a SHA512 dae883ab55a02ebc3ef338a30ce980710a6da8361fe5add4795379ec31496ffecfc3f3318ea8aa78904b51b2ae15f6619e0fda8090dee2e334e3d4a192024720

View File

@@ -0,0 +1,54 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby32 ruby33 ruby34 ruby40"
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://zenspider.com/projects/hoe.html"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris"
IUSE="doc"
ruby_add_bdepend "test? ( >=dev-ruby/rdoc-6 >=dev-ruby/minitest-5.9:5 )"
ruby_add_rdepend "=dev-ruby/rake-13*"
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.rdoc \
lib History.rdoc Manifest.txt README.doc || die
rm -f doc/js/*.gz || die
fi
}
each_ruby_test() {
export -n A
each_fakegem_test
}