summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2023-09-27 22:29:33 +0100
committerJames Le Cuirot <chewi@gentoo.org>2023-10-09 21:25:19 +0100
commita0a74e8c5395551d3e878e701529bcc3e901c85f (patch)
treeeae9fc29089717e085aa51ac93f45a31201eec94 /eclass
parentapp-misc/ytree: Stabilize 2.05 amd64, #915458 (diff)
downloadgentoo-a0a74e8c5395551d3e878e701529bcc3e901c85f.tar.gz
gentoo-a0a74e8c5395551d3e878e701529bcc3e901c85f.tar.bz2
gentoo-a0a74e8c5395551d3e878e701529bcc3e901c85f.zip
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@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/distutils-r1.eclass3
1 files changed, 2 insertions, 1 deletions
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}"