From 86eec564c0b2cec9fc1d35ee59cde542c2612fdb Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 22 Dec 2015 06:11:40 +0100 Subject: python.eclass: Remove another python symlink check, #569088 and dupes --- eclass/python.eclass | 8 -------- 1 file changed, 8 deletions(-) (limited to 'eclass/python.eclass') diff --git a/eclass/python.eclass b/eclass/python.eclass index 7627214ff940..d6742c12a225 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" -- cgit v1.2.3-65-gdbad