commit:     f0c87148558ecd868187f4accbc412f009cf51a6
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  8 16:13:00 2018 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Mon Jan  8 16:16:38 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0c87148

net-news/newsboat: make asciidoc a non-conditional build dep

Fixes: https://bugs.gentoo.org/643592

 net-news/newsboat/newsboat-2.10.2.ebuild | 5 ++---
 net-news/newsboat/newsboat-9999.ebuild   | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/net-news/newsboat/newsboat-2.10.2.ebuild 
b/net-news/newsboat/newsboat-2.10.2.ebuild
index f0be1cf088b..ff9f70fe3e5 100644
--- a/net-news/newsboat/newsboat-2.10.2.ebuild
+++ b/net-news/newsboat/newsboat-2.10.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -29,6 +29,7 @@ RDEPEND="
        sys-libs/ncurses:0=[unicode]
 "
 DEPEND="${RDEPEND}
+       app-text/asciidoc
        dev-lang/perl
        virtual/pkgconfig
        sys-devel/gettext
@@ -37,7 +38,6 @@ DEPEND="${RDEPEND}
                sys-devel/bc
        )
 "
-[[ ${PV} == 9999 ]] && DEPEND+=" app-text/asciidoc"
 
 # tests require network access
 RESTRICT="test"
@@ -54,7 +54,6 @@ src_configure() {
 
 src_compile() {
        emake prefix="/usr" CXX="$(tc-getCXX)" AR="$(tc-getAR)" 
RANLIB="$(tc-getRANLIB)"
-       [[ ${PV} == 9999 ]] && emake doc
 }
 
 src_test() {

diff --git a/net-news/newsboat/newsboat-9999.ebuild 
b/net-news/newsboat/newsboat-9999.ebuild
index f0be1cf088b..ff9f70fe3e5 100644
--- a/net-news/newsboat/newsboat-9999.ebuild
+++ b/net-news/newsboat/newsboat-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -29,6 +29,7 @@ RDEPEND="
        sys-libs/ncurses:0=[unicode]
 "
 DEPEND="${RDEPEND}
+       app-text/asciidoc
        dev-lang/perl
        virtual/pkgconfig
        sys-devel/gettext
@@ -37,7 +38,6 @@ DEPEND="${RDEPEND}
                sys-devel/bc
        )
 "
-[[ ${PV} == 9999 ]] && DEPEND+=" app-text/asciidoc"
 
 # tests require network access
 RESTRICT="test"
@@ -54,7 +54,6 @@ src_configure() {
 
 src_compile() {
        emake prefix="/usr" CXX="$(tc-getCXX)" AR="$(tc-getAR)" 
RANLIB="$(tc-getRANLIB)"
-       [[ ${PV} == 9999 ]] && emake doc
 }
 
 src_test() {

Reply via email to