• [gentoo-dev] [PATCH 1/4] distutils-r1.eclass: Use CYTHON_FORCE_REGEN=1

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Sat May 27 10:50:01 2023
    Signed-off-by: Michał Górny <[email protected]>
    ---
    eclass/distutils-r1.eclass | 4 ++++
    1 file changed, 4 insertions(+)

    diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
    index ec1dd08b197c..6835444d3c5f 100644
    --- a/eclass/distutils-r1.eclass
    +++ b/eclass/distutils-r1.eclass
    @@ -1828,6 +1828,10 @@ distutils-r1_run_phase() {

    if [[ ${DISTUTILS_EXT} ]]; then
    local -x CPPFLAGS="${CPPFLAGS} $(usex debug '-UNDEBUG' '-DNDEBUG')"
    + # always generate .c files from .pyx files to ensure we get latest
    + # bug fixes from Cython (this works only when setup.py is using + # cythonize() but it's better than nothing)
    + local -x CYTHON_FORCE_REGEN=1
    fi

    # How to build Python modules in different worlds...
    --
    2.40.1

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Sat May 27 10:50:02 2023
    From: Arthur Zamarin <[email protected]>

    Signed-off-by: Arthur Zamarin <[email protected]>
    Signed-off-by: Michał Górny <[email protected]>
    ---
    eclass/python-utils-r1.eclass | 6 +++---
    1 file changed, 3 insertions(+), 3 deletions(-)

    diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 40792714cc56..52e9e061d6bd 100644
    --- a/eclass/python-utils-r1.eclass
    +++ b/eclass/python-utils-r1.eclass
    @@ -441,13 +441,13 @@ _python_export() {
    local d
    case ${impl} in
    python3.10)
    - PYTHON_PKG_DEP=">=dev-lang/python-3.10.9-r1:3.10";;
    + PYTHON_PKG_DEP=">=dev-lang/python-3.10.11:3.10";;
    python3.11)
    - PYTHON_PKG_DEP=">=dev-lang/python-3.11.1-r1:3.11";;
    + PYTHON_PKG_DEP=">=dev-lang/python-3.11.3:3.11";;
    python3.12)
    PYTHON_PKG_DEP=">=dev-lang/python-3.12.0_beta1:3.12";;
    pypy3)
    - PYTHON_PKG_DEP='>=dev-python/pypy3-7.3.11-r1:0=';;
    + PYTHON_PKG_DEP='>=dev-python/pypy3-7.3.11_p1:0=';;
    *)
    die "Invalid implementation: ${impl}"
    esac
    --
    2.40.1

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