summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-31 12:41:23 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-07 15:25:08 +0100
commit27b0b059ee6a6ed0bf829bc6885ab17591ef5e0d (patch)
tree719b5b4317f5e718566a97f9c11f7fbd151287b1 /eclass
parentdistutils-r1.eclass: Bump minimum pytest version (diff)
downloadgentoo-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')
-rw-r--r--eclass/distutils-r1.eclass7
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[*]}"