diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-01-31 12:41:23 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-02-07 15:25:08 +0100 |
commit | 27b0b059ee6a6ed0bf829bc6885ab17591ef5e0d (patch) | |
tree | 719b5b4317f5e718566a97f9c11f7fbd151287b1 /eclass/distutils-r1.eclass | |
parent | distutils-r1.eclass: Bump minimum pytest version (diff) | |
download | gentoo-27b0b059ee6a6ed0bf829bc6885ab17591ef5e0d.tar.gz gentoo-27b0b059ee6a6ed0bf829bc6885ab17591ef5e0d.tar.bz2 gentoo-27b0b059ee6a6ed0bf829bc6885ab17591ef5e0d.zip |
distutils-r1.eclass: Remove code for gpep517 < 12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r-- | eclass/distutils-r1.eclass | 7 |
1 files changed, 1 insertions, 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[*]}" |