From 1051738f6bca3a46b65f28ca33307891b495bf33 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 21 Dec 2019 09:31:44 +0100 Subject: [PATCH] sys-apps/portage: Replace python_gen_usedep MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- sys-apps/portage/portage-2.3.82.ebuild | 6 +++++- sys-apps/portage/portage-9999.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) 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 -- 2.26.2