commit:     27b0b059ee6a6ed0bf829bc6885ab17591ef5e0d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 31 11:41:23 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb  7 14:25:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27b0b059

distutils-r1.eclass: Remove code for gpep517 < 12

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/distutils-r1.eclass | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 6d3a97a7ab1b..e97789cc1990 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1039,11 +1039,6 @@ distutils-r1_python_prepare_all() {
        python_export_utf8_locale
        _distutils-r1_print_package_versions
 
-       if [[ -n ${SYSROOT} ]] && ! has_version -b ">=dev-python/gpep517-12"; 
then
-               ewarn ">=dev-python/gpep517-12 features cross-compilation 
fixes."
-               ewarn "Please consider upgrading to avoid issues."
-       fi
-
        _DISTUTILS_DEFAULT_CALLED=1
 }
 
@@ -1378,7 +1373,7 @@ distutils_pep517_install() {
        if [[ -n ${config_settings} ]]; then
                cmd+=( --config-json "${config_settings}" )
        fi
-       if [[ -n ${SYSROOT} ]] && has_version -b ">=dev-python/gpep517-12"; then
+       if [[ -n ${SYSROOT} ]]; then
                cmd+=( --sysroot "${SYSROOT}" )
        fi
        printf '%s\n' "${cmd[*]}"

Reply via email to