• [gentoo-dev] [PATCH 3/7] distutils-r1.eclass: Remove support for old ma

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Fri Jun 2 16:10:01 2023
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    eclass/distutils-r1.eclass | 44 +++++++++++++-------------------------
    1 file changed, 15 insertions(+), 29 deletions(-)

    diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
    index f3325d5bd8f4..12ed6e77b969 100644
    --- a/eclass/distutils-r1.eclass
    +++ b/eclass/distutils-r1.eclass
    @@ -230,7 +230,7 @@ _distutils_set_globals() {
    ;;
    maturin)
    bdep+='
    - >=dev-util/maturin-0.14.17[${PYTHON_USEDEP}]
    + >=dev-util/maturin-1.0.1[${PYTHON_USEDEP}]
    '
    ;;
    no)
    @@ -1331,26 +1331,21 @@ distutils_pep517_install() {
    local config_settings=
    case ${DISTUTILS_USE_PEP517} in
    maturin)
    - # ebuild's DISTUTILS_ARGS are currently ignored if <1.0.0, ebuilds
    - # should set the dependency if used until this can be cleaned up
    - # (reminder to cleanup the old MATURIN_PEP517_ARGS block too)
    - if has_version -b '>=dev-util/maturin-1.0.0'; then
    - # `maturin pep517 build-wheel --help` for options
    - local maturin_args=(
    - "${DISTUTILS_ARGS[