Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/python.mk
Show First 20 Lines • Show All 235 Lines • ▼ Show 20 Lines | |||||
# MAINTAINER: python@FreeBSD.org | # MAINTAINER: python@FreeBSD.org | ||||
.if !defined(_INCLUDE_USES_PYTHON_MK) | .if !defined(_INCLUDE_USES_PYTHON_MK) | ||||
_INCLUDE_USES_PYTHON_MK= yes | _INCLUDE_USES_PYTHON_MK= yes | ||||
# What Python version and what Python interpreters are currently supported? | # What Python version and what Python interpreters are currently supported? | ||||
# When adding a version, please keep the comment in | # When adding a version, please keep the comment in | ||||
# Mk/bsd.default-versions.mk in sync. | # Mk/bsd.default-versions.mk in sync. | ||||
_PYTHON_VERSIONS= 2.7 3.6 3.7 3.5 # preferred first | _PYTHON_VERSIONS= 2.7 3.6 3.7 3.8 3.5 # preferred first | ||||
_PYTHON_PORTBRANCH= 2.7 # ${_PYTHON_VERSIONS:[1]} | _PYTHON_PORTBRANCH= 2.7 # ${_PYTHON_VERSIONS:[1]} | ||||
_PYTHON_BASECMD= ${LOCALBASE}/bin/python | _PYTHON_BASECMD= ${LOCALBASE}/bin/python | ||||
_PYTHON_RELPORTDIR= lang/python | _PYTHON_RELPORTDIR= lang/python | ||||
# Make each individual feature available as _PYTHON_FEATURE_<FEATURENAME> | # Make each individual feature available as _PYTHON_FEATURE_<FEATURENAME> | ||||
.for var in ${USE_PYTHON} | .for var in ${USE_PYTHON} | ||||
_PYTHON_FEATURE_${var:C/=.*$//:tu}= ${var:C/.*=//:S/,/ /g} | _PYTHON_FEATURE_${var:C/=.*$//:tu}= ${var:C/.*=//:S/,/ /g} | ||||
.endfor | .endfor | ||||
▲ Show 20 Lines • Show All 474 Lines • Show Last 20 Lines |