• [gentoo-dev] [PATCH 0/4] python eclasses: PyPy3.10 update + cargo LTO s

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Wed Jul 12 14:30:02 2023
    Hi,

    Here's a quick patchset on top of vimproved's patchset to remove `--reflink=auto` calls from the eclasses. It does two things:

    1. Update the eclass to assume PyPy3.10 (and therefore cease supporting
    PyPy3.9 as a target).

    2. Strip LTO flags when distutils-r1 is used with cargo.eclass.

    The second commit is a bit hacky but I think it's a good enough approach
    that doesn't require us to strip LTO unconditionally or add yet another
    control variable to tell the eclass if we're dealing with Rust or not.



    Michał Górny (4):
    python-utils-r1.eclass: Require >=dev-python/pypy3-7.3.12
    python-utils-r1.eclass: pypy3 is now 3.10-only
    distutils-r1.eclass: Update addpredict for PyPy3.10
    distutils-r1.eclass: Disable LTO when using cargo.eclass

    eclass/distutils-r1.eclass | 9 ++++++++-
    eclass/python-utils-r1.eclass | 7 +++----
    2 files changed, 11 insertions(+), 5 deletions(-)

    --
    2.41.0

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