commit: fcb863ac9e62fad4d197b0bc3ac01dedb2ff42c5
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 1 18:54:50 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 1 18:57:45 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcb863ac
app-misc/jpipe: Fix Python dependencies
DISTUTILS_USE_SETUPTOOLS is not used with DISTUTILS_OPTIONAL, the dep
on setuptools needs to be declared explicitly.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-misc/jpipe/jpipe-0.2.0.ebuild | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/app-misc/jpipe/jpipe-0.2.0.ebuild
b/app-misc/jpipe/jpipe-0.2.0.ebuild
index bbab903965e1..8988122f3364 100644
--- a/app-misc/jpipe/jpipe-0.2.0.ebuild
+++ b/app-misc/jpipe/jpipe-0.2.0.ebuild
@@ -1,10 +1,9 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
GO_OPTIONAL=1
DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_SETUPTOOLS=bdepend
PYTHON_COMPAT=( python3_{7,8,9,10} )
inherit go-module distutils-r1
@@ -384,6 +383,10 @@ BDEPEND="
app-arch/unzip
>=dev-lang/go-1.12
)
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ )
"
RDEPEND="
jpp-symlink? ( !app-misc/jp[jpp(-)] )