net-news/newsboat: make asciidoc a non-conditional build dep
authorTim Harder <radhermit@gentoo.org>
Mon, 8 Jan 2018 16:13:00 +0000 (11:13 -0500)
committerTim Harder <radhermit@gentoo.org>
Mon, 8 Jan 2018 16:16:38 +0000 (11:16 -0500)
Fixes: https://bugs.gentoo.org/643592

net-news/newsboat/newsboat-2.10.2.ebuild
net-news/newsboat/newsboat-9999.ebuild

index f0be1cf088bd553d69cc19b7b9bb74c6c3443beb..ff9f70fe3e5e580b9bd815d30b4d9f8dfbd09bea 100644 (file)
@@ -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() {
index f0be1cf088bd553d69cc19b7b9bb74c6c3443beb..ff9f70fe3e5e580b9bd815d30b4d9f8dfbd09bea 100644 (file)
@@ -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() {