diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-06-20 09:27:55 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-06-23 23:44:11 +0200 |
commit | e2a1d2019d095bd4a636bb06812725329a8619d0 (patch) | |
tree | 4509ceaa90ef8110026689244655c02844291451 /eclass/python-any-r1.eclass | |
parent | python-utils-r1.eclass: Enable EAPI 8 (diff) | |
download | gentoo-e2a1d2019d095bd4a636bb06812725329a8619d0.tar.gz gentoo-e2a1d2019d095bd4a636bb06812725329a8619d0.tar.bz2 gentoo-e2a1d2019d095bd4a636bb06812725329a8619d0.zip |
python-any-r1.eclass: Remove obsolete eselect-python use
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/python-any-r1.eclass')
-rw-r--r-- | eclass/python-any-r1.eclass | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass index 49f639d5fac6..cb343b320f0c 100644 --- a/eclass/python-any-r1.eclass +++ b/eclass/python-any-r1.eclass @@ -345,22 +345,6 @@ python_setup() { fi fi - # then, try eselect-python - local variant i - for variant in '' '--python2' '--python3'; do - i=$(eselect python --show ${variant} 2>/dev/null) - - if [[ ! ${i} ]]; then - # no eselect-python? - break - elif _python_EPYTHON_supported "${i}"; then - _python_export "${i}" EPYTHON PYTHON - _python_wrapper_setup - einfo "Using ${EPYTHON} to build" - return - fi - done - # fallback to best installed impl. # (reverse iteration over _PYTHON_SUPPORTED_IMPLS) for (( i = ${#_PYTHON_SUPPORTED_IMPLS[@]} - 1; i >= 0; i-- )); do |