summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-12-22 06:11:40 +0100
committerMichał Górny <mgorny@gentoo.org>2015-12-22 06:15:08 +0100
commit86eec564c0b2cec9fc1d35ee59cde542c2612fdb (patch)
tree8b45d5d5347500ff34e1532e482bbbd052a7503b
parentdev-libs/xapian: add prune_libtool_files to 1.2.21-r2 (diff)
downloadgentoo-86eec564c0b2cec9fc1d35ee59cde542c2612fdb.tar.gz
gentoo-86eec564c0b2cec9fc1d35ee59cde542c2612fdb.tar.bz2
gentoo-86eec564c0b2cec9fc1d35ee59cde542c2612fdb.zip
python.eclass: Remove another python symlink check, #569088 and dupes
-rw-r--r--eclass/python.eclass8
1 files changed, 0 insertions, 8 deletions
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"