commit: a0a74e8c5395551d3e878e701529bcc3e901c85f Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Wed Sep 27 21:29:33 2023 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Mon Oct 9 20:25:19 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0a74e8c
distutils-r1.eclass: Make use of gpep517's new build-wheel --prefix arg This fixes cross-prefix installations. Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> eclass/distutils-r1.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 56afcdc5bcb8..1cc91110dccf 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -210,7 +210,7 @@ _distutils_set_globals() { fi bdep=' - >=dev-python/gpep517-13[${PYTHON_USEDEP}] + >=dev-python/gpep517-15[${PYTHON_USEDEP}] ' case ${DISTUTILS_USE_PEP517} in flit) @@ -1444,6 +1444,7 @@ distutils_pep517_install() { einfo " Building the wheel for ${PWD#${WORKDIR}/} via ${build_backend}" local cmd=( gpep517 build-wheel + --prefix="${EPREFIX}/usr" --backend "${build_backend}" --output-fd 3 --wheel-dir "${WHEEL_BUILD_DIR}"