commit:     472a836c3edc53b9327a040407644dd4892d106f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 14 01:35:26 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 14 01:35:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472a836c

dev-libs/zziplib: call python-any-r1_pkg_setup for tests

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/zziplib/zziplib-0.13.71_p20200419.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-libs/zziplib/zziplib-0.13.71_p20200419.ebuild 
b/dev-libs/zziplib/zziplib-0.13.71_p20200419.ebuild
index 7928de22d9e..5f9863b9c3a 100644
--- a/dev-libs/zziplib/zziplib-0.13.71_p20200419.ebuild
+++ b/dev-libs/zziplib/zziplib-0.13.71_p20200419.ebuild
@@ -20,12 +20,10 @@ IUSE="doc sdl static-libs test"
 RESTRICT="!test? ( test )"
 
 BDEPEND="
-       doc? (
-               ${PYTHON_DEPS}
-       )
+       doc? ( ${PYTHON_DEPS} )
        test? (
-               ${PYTHON_DEPS}
                app-arch/zip
+               ${PYTHON_DEPS}
        )
 "
 DEPEND="
@@ -42,7 +40,9 @@ PATCHES=(
 )
 
 pkg_setup() {
-       use test && python-any-r1_pkg_setup
+       if use doc || use test; then
+               python-any-r1_pkg_setup
+       fi
 }
 
 src_configure() {

Reply via email to