From: Michał Górny Date: Sat, 21 Dec 2019 08:31:44 +0000 (+0100) Subject: sys-apps/portage: Replace python_gen_usedep X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1051738f6bca3a46b65f28ca33307891b495bf33;p=gentoo.git sys-apps/portage: Replace python_gen_usedep Signed-off-by: Michał Górny --- diff --git a/sys-apps/portage/portage-2.3.82.ebuild b/sys-apps/portage/portage-2.3.82.ebuild index a7197349654d..bd5bc590071e 100644 --- a/sys-apps/portage/portage-2.3.82.ebuild +++ b/sys-apps/portage/portage-2.3.82.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 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