diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-05-14 10:23:49 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-05-14 10:25:55 +0200 |
commit | 31a6c87f45f1763253e50dd879b75ae1549cc0e6 (patch) | |
tree | 0c61672f75beeb89cb9c2a6e4e77fa1517ca6cdf /sys-apps/file/file-9999.ebuild | |
parent | dev-python/sure: Enable py3.11 (diff) | |
download | gentoo-31a6c87f45f1763253e50dd879b75ae1549cc0e6.tar.gz gentoo-31a6c87f45f1763253e50dd879b75ae1549cc0e6.tar.bz2 gentoo-31a6c87f45f1763253e50dd879b75ae1549cc0e6.zip |
sys-apps/file: Use PEP517 build
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-apps/file/file-9999.ebuild')
-rw-r--r-- | sys-apps/file/file-9999.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-apps/file/file-9999.ebuild b/sys-apps/file/file-9999.ebuild index 2b15f3bbd314..dbb7e47df16d 100644 --- a/sys-apps/file/file-9999.ebuild +++ b/sys-apps/file/file-9999.ebuild @@ -3,8 +3,9 @@ EAPI=7 -PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools DISTUTILS_OPTIONAL=1 +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 libtool toolchain-funcs multilib-minimal @@ -35,6 +36,11 @@ DEPEND=" RDEPEND="${DEPEND} python? ( !dev-python/python-magic ) seccomp? ( sys-libs/libseccomp[${MULTILIB_USEDEP}] )" +BDEPEND=" + python? ( + ${PYTHON_DEPS} + ${DISTUTILS_DEPS} + )" PATCHES=( "${FILESDIR}/file-5.39-portage-sandbox.patch" #713710 #728978 |