Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 297747
Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +8 lines)
Line  Link Here
0
-- eclass/python.eclass
0
++ eclass/python.eclass
Lines 238-245 Link Here
238
				fi
238
				fi
239
			fi
239
			fi
240
240
241
			if ! has "${python_version}" "${python2_version}" "${python3_version}"; then
241
			if [[ -n "${python2_version}" && "${python_version}" == "2."* && "${python_version}" != "${python2_version}" ]]; then
242
				eerror "Python wrapper is configured incorrectly or /usr/bin/python2 or /usr/bin/python3 symlink"
242
				eerror "Python wrapper is configured incorrectly or /usr/bin/python2 symlink"
243
				eerror "is set incorrectly. Use \`eselect python\` to fix configuration."
244
				die "Incorrect configuration of Python"
245
			fi
246
			if [[ -n "${python3_version}" && "${python_version}" == "3."* && "${python_version}" != "${python3_version}" ]]; then
247
				eerror "Python wrapper is configured incorrectly or /usr/bin/python3 symlink"
243
				eerror "is set incorrectly. Use \`eselect python\` to fix configuration."
248
				eerror "is set incorrectly. Use \`eselect python\` to fix configuration."
244
				die "Incorrect configuration of Python"
249
				die "Incorrect configuration of Python"
245
			fi
250
			fi

Return to bug 297747