dev-python/python-distutils-extra: Fix test deps correctly
authorMichał Górny <mgorny@gentoo.org>
Tue, 28 Apr 2020 05:27:12 +0000 (07:27 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 28 Apr 2020 05:45:43 +0000 (07:45 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/python-distutils-extra/python-distutils-extra-2.44.ebuild

index 8952cf77dcda5ce21b8c097d6043eb79f96fa496..7b03b650654a3064690a5a5cbb323b99a8873c89 100644 (file)
@@ -24,9 +24,11 @@ RESTRICT="!test? ( test )"
 DOCS=( doc/{README,FAQ} )
 
 BDEPEND="
-       dev-libs/gobject-introspection
-       dev-python/httplib2
-       dev-python/pygobject"
+       test? (
+               dev-libs/gobject-introspection
+               dev-python/httplib2[${PYTHON_USEDEP}]
+               dev-python/pygobject[${PYTHON_USEDEP}]
+       )"
 
 PATCHES=(
        "${FILESDIR}"/python-distutils-extra-2.44-test.patch