Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/python.mk
Show First 20 Lines • Show All 462 Lines • ▼ Show 20 Lines | |||||
.endif | .endif | ||||
.endif | .endif | ||||
.if ${PYTHON_MAJOR_VER} == 2 | .if ${PYTHON_MAJOR_VER} == 2 | ||||
DEPRECATED?= Uses Python 2.7 which is EOLed upstream | DEPRECATED?= Uses Python 2.7 which is EOLed upstream | ||||
EXPIRATION_DATE?= 2020-12-31 | EXPIRATION_DATE?= 2020-12-31 | ||||
.endif | .endif | ||||
.if ${PYTHON_REL} < 3700 | |||||
NOT_REPRODUCIBLE= yes | |||||
.endif | |||||
.if !defined(PYTHONBASE) | .if !defined(PYTHONBASE) | ||||
PYTHONBASE!= (${PYTHON_CMD} -c 'import sys; print(sys.prefix)' \ | PYTHONBASE!= (${PYTHON_CMD} -c 'import sys; print(sys.prefix)' \ | ||||
2> /dev/null || ${ECHO_CMD} ${LOCALBASE}) | ${TAIL} -1 | 2> /dev/null || ${ECHO_CMD} ${LOCALBASE}) | ${TAIL} -1 | ||||
.endif | .endif | ||||
_EXPORTED_VARS+= PYTHONBASE | _EXPORTED_VARS+= PYTHONBASE | ||||
PYTHON_INCLUDEDIR= ${PYTHONBASE}/include/python${_PYTHON_VERSION}${PYTHON_ABIVER} | PYTHON_INCLUDEDIR= ${PYTHONBASE}/include/python${_PYTHON_VERSION}${PYTHON_ABIVER} | ||||
PYTHON_LIBDIR= ${PYTHONBASE}/lib/python${_PYTHON_VERSION} | PYTHON_LIBDIR= ${PYTHONBASE}/lib/python${_PYTHON_VERSION} | ||||
▲ Show 20 Lines • Show All 252 Lines • Show Last 20 Lines |