summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-21 09:31:44 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-21 09:31:44 +0100
commit1051738f6bca3a46b65f28ca33307891b495bf33 (patch)
tree39c6a3f619912adb1f44c9435eeb304fe98adaf8 /sys-apps/portage/portage-9999.ebuild
parentsys-devel/llvm-common: Remove 9.0.1 RCs and live (diff)
downloadgentoo-1051738f6bca3a46b65f28ca33307891b495bf33.tar.gz
gentoo-1051738f6bca3a46b65f28ca33307891b495bf33.tar.bz2
gentoo-1051738f6bca3a46b65f28ca33307891b495bf33.zip
sys-apps/portage: Replace python_gen_usedep
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-apps/portage/portage-9999.ebuild')
-rw-r--r--sys-apps/portage/portage-9999.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild
index 04544afb66d4..edfa4bf26344 100644
--- a/sys-apps/portage/portage-9999.ebuild
+++ b/sys-apps/portage/portage-9999.ebuild
@@ -26,7 +26,11 @@ DEPEND="!build? ( $(python_gen_impl_dep 'ssl(+)') )
dev-lang/python-exec:2
>=sys-apps/sed-4.0.5 sys-devel/patch
doc? ( app-text/xmlto ~app-text/docbook-xml-dtd-4.4 )
- epydoc? ( >=dev-python/epydoc-2.0[$(python_gen_usedep 'python2*')] )"
+ epydoc? (
+ $(python_gen_cond_dep '
+ >=dev-python/epydoc-2.0[${PYTHON_USEDEP}]
+ ' 'python2*')
+ )"
# Require sandbox-2.2 for bug #288863.
# For xattr, we can spawn getfattr and setfattr from sys-apps/attr, but that's
# quite slow, so it's not considered in the dependencies as an alternative to