• [gentoo-dev] [PATCH] distutils-r1.eclass: Make use of gpep517's new bui

    From James Le Cuirot@21:1/5 to All on Wed Sep 27 23:40:01 2023
    This fixes cross-prefix installations.

    Signed-off-by: James Le Cuirot <chewi@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}"
    --
    2.41.0

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sam James@21:1/5 to James Le Cuirot on Thu Sep 28 03:20:01 2023
    James Le Cuirot <chewi@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 <chewi@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}"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From James Le Cuirot@21:1/5 to Sam James on Thu Sep 28 23:40:01 2023
    On Thu, 2023-09-28 at 02:15 +0100, Sam James wrote:
    James Le Cuirot <chewi@gentoo.org> writes:

    This fixes cross-prefix installations.

    Do we need to crank the minimum version we depend on for gpep517 then?

    Woops, yes. Got over-excited when I saw it was stabilised. Thanks. :)

    -----BEGIN PGP SIGNATURE-----

    iQJFBAABCAAvFiEEPxcZ3tkwcedKm2a8EiZBXQDdMTcFAmUV8TIRHGNoZXdpQGdl bnRvby5vcmcACgkQEiZBXQDdMTfW8A/7Bsy1mDWrAejaGoJN5novb6AKqf9g3I1J mlt0V3ScBLSgSaXNpveJqD1HAmbX65JIfuNBoB/yCaBv23GMZKkURZc4V0vFZS2R XeEnFzPyT15BHTaIhkHTOSZ1iItpx74W2Qu0wP9QZYiiTKSU5gMreY/T2Pr9JN2q cAWVeD69oL6GMUZ9btAc2RA4TCaZIeQcZlmHu5rhGM5K/A5SJb3vDtXHgIK+/RjE IvConjoXvjDdPyLWqm1dm/CoRG1K0X8FgHqSn4jJitpMYTEALzd17Y8SfdXHrHhW RjbAWitD2tts9UDpChyrzb1+pzsIWI0ovcfxV5IrY7+8TsvEkVtG1rUyOFoqIyba cNCOzzBre7L46zb8clqQTf808d42LGKNHwSx5rliQWaDur8HZBBnnIsH40cpqUIB gxkl3W7sOf83Yss+nb5bsjkB417q4kmfHwugMZv8aSDVlqC2wOJSmvpTyokiyQy8 Tt91OEQsN0yNh5ncItjjTSq9mVTR4rgtRILaEMiAplg6O63vjmJRh3Z2x7D8AhLj qg9pQ88fj+J99C7vc/ZI9oRZ0c+8BBR5HY3ZY/C0/xaTgCV9QrpJCnK+Y2oWtN3t 0zJz1S34mHh70gsL7hn1K3nMMgGPg0TTfXFd8aWXQaWXHve9rfl4W+Rl9AZqIGGH
    m0z5+e19WCw=
    =FJM8
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)