Lines 327-336
Link Here
|
327 |
# hint. Just warn maintainers, if the versions do not match |
327 |
# hint. Just warn maintainers, if the versions do not match |
328 |
# (_PYTHON_VERSION_NONSUPPORTED). |
328 |
# (_PYTHON_VERSION_NONSUPPORTED). |
329 |
_PYTHON_VERSION:= ${PYTHON_VERSION:S/^python//} |
329 |
_PYTHON_VERSION:= ${PYTHON_VERSION:S/^python//} |
330 |
_PYTHON_CMD= ${LOCALBASE}/bin/${PYTHON_VERSION} |
|
|
331 |
.else |
330 |
.else |
332 |
_PYTHON_VERSION:= ${PYTHON_DEFAULT_VERSION:S/^python//} |
331 |
_PYTHON_VERSION:= ${PYTHON_DEFAULT_VERSION:S/^python//} |
333 |
_PYTHON_CMD= ${LOCALBASE}/bin/${PYTHON_DEFAULT_VERSION} |
|
|
334 |
.endif # defined(PYTHON_VERSION) |
332 |
.endif # defined(PYTHON_VERSION) |
335 |
|
333 |
|
336 |
# Validate Python version whether it meets the version restriction. |
334 |
# Validate Python version whether it meets the version restriction. |
Lines 362-368
Link Here
|
362 |
!(!empty(_PYTHON_VERSION_MAXIMUM) && ( \ |
360 |
!(!empty(_PYTHON_VERSION_MAXIMUM) && ( \ |
363 |
${__VER} > ${_PYTHON_VERSION_MAXIMUM})) |
361 |
${__VER} > ${_PYTHON_VERSION_MAXIMUM})) |
364 |
_PYTHON_VERSION= ${ver} |
362 |
_PYTHON_VERSION= ${ver} |
365 |
_PYTHON_CMD= ${LOCALBASE}/bin/python${ver} |
|
|
366 |
.endif |
363 |
.endif |
367 |
.endfor |
364 |
.endfor |
368 |
.if !defined(_PYTHON_VERSION) |
365 |
.if !defined(_PYTHON_VERSION) |