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: Sun, 15 Sep 2019 05:51:00
Message-Id: 1568526353.7208381db82e522f3fe317eb76c67dfda49187a4.graaff@gentoo
1 commit: 7208381db82e522f3fe317eb76c67dfda49187a4
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 15 05:37:15 2019 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 15 05:45:53 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7208381d
7
8 dev-ruby/hoe: add 3.18.1
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/hoe/Manifest | 1 +
14 dev-ruby/hoe/hoe-3.18.1.ebuild | 44 ++++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 45 insertions(+)
16
17 diff --git a/dev-ruby/hoe/Manifest b/dev-ruby/hoe/Manifest
18 index 8f456fc26c8..ee1f983e72a 100644
19 --- a/dev-ruby/hoe/Manifest
20 +++ b/dev-ruby/hoe/Manifest
21 @@ -2,3 +2,4 @@ DIST hoe-3.16.0.gem 188416 BLAKE2B 48383c46512a359a269ca3475ec701b1443e0ef71b31d
22 DIST hoe-3.17.1.gem 188416 BLAKE2B 0fef6dd9ae4bda93f527d7451d0d591cdc4ba1361aaec531f82e0d7ff03575845c3d5ff85189d76f9ecec17797774fd0ca82f7332a4588d086a494095af99a9d SHA512 5e4b83309ed88da098a5ae8698f9686cea1657f4554fff72446bac46bc567125232a3c5a5b941bd6d5ea18dc53f3cbf5b329f2f0623ef74e81d81586edc63ca3
23 DIST hoe-3.17.2.gem 188416 BLAKE2B a6f4f93cc2d724b1c1e855c4e6976b5dbb469c4e10fc9c181b6cafaeb7088f9c19bd4bb5b858a25f011dead1b6e8392d349fe9e86d704a6a4d627cddab8de46a SHA512 d6703cd8913ac7055c33dbfead5610bd197be90ac3aeeaf2e4498ab088447d7e08dbe1ad3fdc602afd26fc7cfda12d73dd43a605b9bf59ecd83b1cfd8845f55b
24 DIST hoe-3.18.0.gem 190976 BLAKE2B 227dab02241ffa1992fd80d357fcc8ec12a703413a25f38e7c22d97a187b968d334db7fe6b5d49ebe6027b05df660530dab9dd470bbd5816e7e766d86c4de94d SHA512 87b24dd77200a6013eca50b57c001c437035ab5e74809a941a28616d9a722b130a624f1137d7c55eacccc497c5c57f2ccfe872d160915b1a00a71cdf2e76695b
25 +DIST hoe-3.18.1.gem 190976 BLAKE2B 1b99125fddc42253918d2b9412401c0ed54a12006347b400050ecda17a1ce4491bf0419bc6ea28b68d5e1d77990973171c822862d93ee2cdc00a078f4e137587 SHA512 c281cdb2e89272ea84e54cd36d0cdec77cf6dd51f745c0aa99593586781e5182129f967086f008c33b38d25d7a3aacd2fa1899752e63f725d5ecf5fd5c04682c
26
27 diff --git a/dev-ruby/hoe/hoe-3.18.1.ebuild b/dev-ruby/hoe/hoe-3.18.1.ebuild
28 new file mode 100644
29 index 00000000000..b73f4d8d066
30 --- /dev/null
31 +++ b/dev-ruby/hoe/hoe-3.18.1.ebuild
32 @@ -0,0 +1,44 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +USE_RUBY="ruby24 ruby25 ruby26"
38 +
39 +RUBY_FAKEGEM_DOCDIR="doc"
40 +RUBY_FAKEGEM_EXTRADOC="History.rdoc Manifest.txt README.rdoc"
41 +
42 +RUBY_FAKEGEM_EXTRAINSTALL="template"
43 +
44 +inherit ruby-fakegem
45 +
46 +DESCRIPTION="Hoe extends rake to provide full project automation"
47 +HOMEPAGE="https://www.zenspider.com/projects/hoe.html"
48 +
49 +LICENSE="MIT"
50 +SLOT="0"
51 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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"
52 +IUSE="doc"
53 +
54 +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.9:5 )"
55 +
56 +ruby_add_rdepend ">=dev-ruby/rake-0.8.7 <dev-ruby/rake-13.0"
57 +
58 +all_ruby_prepare() {
59 + # Skip isolation
60 + sed -i -e '/isolate/ s:^:#:' Rakefile || die
61 +
62 + # Skip test depending on specifics of gem command name
63 + sed -i -e '/test_nosudo/,/^ end/ s:^:#:' test/test_hoe.rb || die
64 +
65 + # Avoid test with random sort order
66 + sed -i -e '/test_possibly_better/askip "ordering issues"' test/test_hoe.rb || die
67 +}
68 +
69 +all_ruby_compile() {
70 + all_fakegem_compile
71 +
72 + if use doc; then
73 + rdoc --title "seattlerb's hoe-${PV} Documentation" -o doc --main README.txt lib History.txt Manifest.txt README.txt || die
74 + rm -f doc/js/*.gz || die
75 + fi
76 +}