Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/hoe/
Date: Thu, 26 May 2022 10:36:04
Message-Id: 1653561355.7696763133e170783bed2c359a146830945beb74.graaff@gentoo
1 commit: 7696763133e170783bed2c359a146830945beb74
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 26 10:00:09 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Thu May 26 10:35:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76967631
7
8 dev-ruby/hoe: add 3.23.1
9
10 Closes: https://bugs.gentoo.org/835321
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/hoe/Manifest | 1 +
14 dev-ruby/hoe/hoe-3.23.1.ebuild | 51 ++++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 52 insertions(+)
16
17 diff --git a/dev-ruby/hoe/Manifest b/dev-ruby/hoe/Manifest
18 index ef657aca310e..64c8a7b50ba5 100644
19 --- a/dev-ruby/hoe/Manifest
20 +++ b/dev-ruby/hoe/Manifest
21 @@ -1 +1,2 @@
22 DIST hoe-3.21.0.gem 193024 BLAKE2B 2ff65edc6e0aebc93ebc8f3e628261ac3fabec4034b8e7b1bb3c38ab45c8b4641267a8c46c851ad69425c08782553c628574ae0a1417257cf64ba05a86de08f3 SHA512 39da93520bdb4efcbc58af58562ff8abbdecf45f92071ddb31f68ac799eb6f704431cea3d699aa039ba3a5217dc9b0f2d87f8b553d62860c34cb63803b625754
23 +DIST hoe-3.23.1.gem 194048 BLAKE2B 907c2f2b62dd362f8c472f21d3fd998bd178de2a15fb9875ef36c61dcbf6b170253037d64f70b04b45a5f7e7dcf9e084122a85f694c6396767d541dccd5693f5 SHA512 c2199f93fe806a9639b319d01ae7bb6999ac203aa8bbabaf22b4c0c5b97f69dbd4e876bdfaaa0b0e8cda68dbd25dfa0e5aa91a599613237fc22de0e857c68c37
24
25 diff --git a/dev-ruby/hoe/hoe-3.23.1.ebuild b/dev-ruby/hoe/hoe-3.23.1.ebuild
26 new file mode 100644
27 index 000000000000..61df434d6406
28 --- /dev/null
29 +++ b/dev-ruby/hoe/hoe-3.23.1.ebuild
30 @@ -0,0 +1,51 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +USE_RUBY="ruby26 ruby27 ruby30 ruby31"
36 +
37 +RUBY_FAKEGEM_DOCDIR="doc"
38 +RUBY_FAKEGEM_EXTRADOC="History.rdoc Manifest.txt README.rdoc"
39 +
40 +RUBY_FAKEGEM_EXTRAINSTALL="template"
41 +
42 +inherit ruby-fakegem
43 +
44 +DESCRIPTION="Hoe extends rake to provide full project automation"
45 +HOMEPAGE="https://www.zenspider.com/projects/hoe.html"
46 +
47 +LICENSE="MIT"
48 +SLOT="0"
49 +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"
50 +IUSE="doc"
51 +
52 +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.9:5 )"
53 +
54 +ruby_add_rdepend ">=dev-ruby/rake-0.8.7 <dev-ruby/rake-15.0"
55 +
56 +all_ruby_prepare() {
57 + # Skip isolation
58 + sed -i -e '/isolate/ s:^:#:' Rakefile || die
59 +
60 + # Skip test depending on specifics of gem command name
61 + sed -i -e '/test_nosudo/,/^ end/ s:^:#:' test/test_hoe.rb || die
62 +
63 + # Avoid test with random sort order
64 + sed -i -e '/test_possibly_better/askip "ordering issues"' test/test_hoe.rb || die
65 +
66 + # Avoid test that depends on specifics of merged packages
67 + sed -i -e '/test_make_rdoc_cmd/askip "dependent on merged packages"' test/test_hoe_publish.rb || die
68 +}
69 +
70 +all_ruby_compile() {
71 + all_fakegem_compile
72 +
73 + if use doc; then
74 + rdoc --title "seattlerb's hoe-${PV} Documentation" -o doc --main README.txt lib History.txt Manifest.txt README.txt || die
75 + rm -f doc/js/*.gz || die
76 + fi
77 +}
78 +
79 +each_ruby_test() {
80 + A="" each_fakegem_test
81 +}