diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2017-04-27 13:44:53 +0100 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2017-04-27 13:45:21 +0100 |
commit | 2a5d0a765ad1f729a5fa26f6a14493e3667717ec (patch) | |
tree | cc5ff7c240d13c0a688636ca1ad59b9903fcaa67 /dev-ruby/hoe/hoe-3.16.0.ebuild | |
parent | app-crypt/signify: Bump (diff) | |
download | gentoo-2a5d0a765ad1f729a5fa26f6a14493e3667717ec.tar.gz gentoo-2a5d0a765ad1f729a5fa26f6a14493e3667717ec.tar.bz2 gentoo-2a5d0a765ad1f729a5fa26f6a14493e3667717ec.zip |
Only build documentation if USE=doc is enabled. Should fix bug #582302 where a cyclic dependency for Hoe can't be resolved properly.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/hoe/hoe-3.16.0.ebuild')
-rw-r--r-- | dev-ruby/hoe/hoe-3.16.0.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-ruby/hoe/hoe-3.16.0.ebuild b/dev-ruby/hoe/hoe-3.16.0.ebuild index c7177cbf9233..8054be5888cc 100644 --- a/dev-ruby/hoe/hoe-3.16.0.ebuild +++ b/dev-ruby/hoe/hoe-3.16.0.ebuild @@ -19,7 +19,7 @@ HOMEPAGE="https://www.zenspider.com/projects/hoe.html" LICENSE="MIT" SLOT="0" 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" -IUSE="" +IUSE="doc" ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.9:5 )" @@ -42,5 +42,7 @@ all_ruby_prepare() { all_ruby_compile() { all_fakegem_compile - rdoc --title "seattlerb's hoe-3.5.1 Documentation" -o doc --main README.txt lib History.txt Manifest.txt README.txt || die + if use doc; then + rdoc --title "seattlerb's hoe-3.5.1 Documentation" -o doc --main README.txt lib History.txt Manifest.txt README.txt || die + fi } |