Gentoo Archives: gentoo-commits

From: "Diego Elio Pettenò" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/hoe/
Date: Thu, 27 Apr 2017 12:45:36
Message-Id: 1493297121.2a5d0a765ad1f729a5fa26f6a14493e3667717ec.flameeyes@gentoo
1 commit: 2a5d0a765ad1f729a5fa26f6a14493e3667717ec
2 Author: Diego Elio Pettenò <flameeyes <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 27 12:44:53 2017 +0000
4 Commit: Diego Elio Pettenò <flameeyes <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 27 12:45:21 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a5d0a76
7
8 Only build documentation if USE=doc is enabled. Should fix bug #582302 where a cyclic dependency for Hoe can't be resolved properly.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-ruby/hoe/hoe-3.16.0.ebuild | 6 ++++--
13 1 file changed, 4 insertions(+), 2 deletions(-)
14
15 diff --git a/dev-ruby/hoe/hoe-3.16.0.ebuild b/dev-ruby/hoe/hoe-3.16.0.ebuild
16 index c7177cbf923..8054be5888c 100644
17 --- a/dev-ruby/hoe/hoe-3.16.0.ebuild
18 +++ b/dev-ruby/hoe/hoe-3.16.0.ebuild
19 @@ -19,7 +19,7 @@ HOMEPAGE="https://www.zenspider.com/projects/hoe.html"
20 LICENSE="MIT"
21 SLOT="0"
22 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"
23 -IUSE=""
24 +IUSE="doc"
25
26 ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.9:5 )"
27
28 @@ -42,5 +42,7 @@ all_ruby_prepare() {
29 all_ruby_compile() {
30 all_fakegem_compile
31
32 - rdoc --title "seattlerb's hoe-3.5.1 Documentation" -o doc --main README.txt lib History.txt Manifest.txt README.txt || die
33 + if use doc; then
34 + rdoc --title "seattlerb's hoe-3.5.1 Documentation" -o doc --main README.txt lib History.txt Manifest.txt README.txt || die
35 + fi
36 }