From 31a6c87f45f1763253e50dd879b75ae1549cc0e6 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 14 May 2022 10:23:49 +0200 Subject: sys-apps/file: Use PEP517 build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- sys-apps/file/file-9999.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sys-apps/file/file-9999.ebuild') 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 -- cgit v1.2.3-65-gdbad