• [gentoo-dev] [PATCH 01/11] distutils-r1.eclass: Update pyproject.toml a

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Fri Jul 29 12:40:02 2022
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    eclass/distutils-r1.eclass | 8 ++++----
    1 file changed, 4 insertions(+), 4 deletions(-)

    diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
    index e64eedec5fd3..9909ba70178c 100644
    --- a/eclass/distutils-r1.eclass
    +++ b/eclass/distutils-r1.eclass
    @@ -884,10 +884,10 @@ _distutils-r1_handle_pyproject_toml() {

    if [[ ! -f setup.py && -f pyproject.toml ]]; then
    if [[ ${DISTUTILS_USE_SETUPTOOLS} != pyproject.toml ]]; then
    - eerror "No setup.py found but pyproject.toml is present. In order to enable"
    - eerror "pyproject.toml support in distutils-r1, set:"
    - eerror " DISTUTILS_USE_SETUPTOOLS=pyproject.toml"
    - die "No setup.py found and DISTUTILS_USE_SETUPTOOLS!=pyproject.toml"
    + eerror "No setup.py found but pyproject.toml is present. Please migrate"
    + eerror "the package to use DISTUTILS_USE_PEP517. See:" + eerror " https://projects.gentoo.org/python/guide/distutils.html"
    + die "No setup.py found and PEP517 mode not enabled"
    fi
    fi
    }
    --
    2.