Skip to content

Commit

Permalink
app-misc/jpipe: Fix Python dependencies
Browse files Browse the repository at this point in the history
DISTUTILS_USE_SETUPTOOLS is not used with DISTUTILS_OPTIONAL, the dep
on setuptools needs to be declared explicitly.

Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Feb 1, 2022
1 parent 52feaf1 commit fcb863a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app-misc/jpipe/jpipe-0.2.0.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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(-)] )
Expand Down

0 comments on commit fcb863a

Please sign in to comment.