James Le Cuirot <ch...@gentoo.org> writes:
> This fixes cross-prefix installations. Do we need to crank the minimum version we depend on for gpep517 then? > > Signed-off-by: James Le Cuirot <ch...@gentoo.org> > --- > eclass/distutils-r1.eclass | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass > index 56afcdc5bcb8..838162c6b0f8 100644 > --- a/eclass/distutils-r1.eclass > +++ b/eclass/distutils-r1.eclass > @@ -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}"