From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9596C139694 for ; Thu, 27 Apr 2017 12:45:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DEE42E0DBA; Thu, 27 Apr 2017 12:45:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C1CBDE0DBA for ; Thu, 27 Apr 2017 12:45:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C3F253415B7 for ; Thu, 27 Apr 2017 12:45:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C6B47438 for ; Thu, 27 Apr 2017 12:45:33 +0000 (UTC) From: "Diego Elio Pettenò" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Diego Elio Pettenò" Message-ID: <1493297121.2a5d0a765ad1f729a5fa26f6a14493e3667717ec.flameeyes@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/hoe/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/hoe/hoe-3.16.0.ebuild X-VCS-Directories: dev-ruby/hoe/ X-VCS-Committer: flameeyes X-VCS-Committer-Name: Diego Elio Pettenò X-VCS-Revision: 2a5d0a765ad1f729a5fa26f6a14493e3667717ec X-VCS-Branch: master Date: Thu, 27 Apr 2017 12:45:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6d2317eb-c03d-4f7a-b64d-a286b1eca083 X-Archives-Hash: 1ba5b5e461766cc487214af240f425c2 commit: 2a5d0a765ad1f729a5fa26f6a14493e3667717ec Author: Diego Elio Pettenò gentoo org> AuthorDate: Thu Apr 27 12:44:53 2017 +0000 Commit: Diego Elio Pettenò gentoo org> CommitDate: Thu Apr 27 12:45:21 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a5d0a76 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 dev-ruby/hoe/hoe-3.16.0.ebuild | 6 ++++-- 1 file 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 c7177cbf923..8054be5888c 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 }