1 |
Signed-off-by: Michał Górny <mgorny@g.o> |
2 |
--- |
3 |
eclass/distutils-r1.eclass | 7 +------ |
4 |
1 file changed, 1 insertion(+), 6 deletions(-) |
5 |
|
6 |
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass |
7 |
index ab688a64e1a8..5b7a03b9bcc2 100644 |
8 |
--- a/eclass/distutils-r1.eclass |
9 |
+++ b/eclass/distutils-r1.eclass |
10 |
@@ -1039,11 +1039,6 @@ distutils-r1_python_prepare_all() { |
11 |
python_export_utf8_locale |
12 |
_distutils-r1_print_package_versions |
13 |
|
14 |
- if [[ -n ${SYSROOT} ]] && ! has_version -b ">=dev-python/gpep517-12"; then |
15 |
- ewarn ">=dev-python/gpep517-12 features cross-compilation fixes." |
16 |
- ewarn "Please consider upgrading to avoid issues." |
17 |
- fi |
18 |
- |
19 |
_DISTUTILS_DEFAULT_CALLED=1 |
20 |
} |
21 |
|
22 |
@@ -1376,7 +1371,7 @@ distutils_pep517_install() { |
23 |
if [[ -n ${config_settings} ]]; then |
24 |
cmd+=( --config-json "${config_settings}" ) |
25 |
fi |
26 |
- if [[ -n ${SYSROOT} ]] && has_version -b ">=dev-python/gpep517-12"; then |
27 |
+ if [[ -n ${SYSROOT} ]]; then |
28 |
cmd+=( --sysroot "${SYSROOT}" ) |
29 |
fi |
30 |
printf '%s\n' "${cmd[*]}" |
31 |
-- |
32 |
2.39.1 |