commit: 86eec564c0b2cec9fc1d35ee59cde542c2612fdb Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Dec 22 05:11:40 2015 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Dec 22 05:15:08 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86eec564
python.eclass: Remove another python symlink check, #569088 and dupes eclass/python.eclass | 8 -------- 1 file changed, 8 deletions(-) diff --git a/eclass/python.eclass b/eclass/python.eclass index 7627214..d6742c1 100644 --- a/eclass/python.eclass +++ b/eclass/python.eclass @@ -796,10 +796,6 @@ _python_calculate_PYTHON_ABIS() { python_version="$("${EPREFIX}/usr/bin/python" -c 'from sys import version_info; print(".".join(str(x) for x in version_info[:2]))')" if has_version "=dev-lang/python-2*"; then - if [[ "$(readlink "${EPREFIX}/usr/bin/python2")" != "python2."* ]]; then - die "'${EPREFIX}/usr/bin/python2' is not a valid symlink" - fi - python2_version="$("${EPREFIX}/usr/bin/python2" -c 'from sys import version_info; print(".".join(str(x) for x in version_info[:2]))')" support_python_major_version="0" @@ -819,10 +815,6 @@ _python_calculate_PYTHON_ABIS() { fi if has_version "=dev-lang/python-3*"; then - if [[ "$(readlink "${EPREFIX}/usr/bin/python3")" != "python3."* ]]; then - die "'${EPREFIX}/usr/bin/python3' is not a valid symlink" - fi - python3_version="$("${EPREFIX}/usr/bin/python3" -c 'from sys import version_info; print(".".join(str(x) for x in version_info[:2]))')" support_python_major_version="0"