Files
ports/lang/python/python.port.mk
sthen ff78cf771d update python/3 to 3.14.4, ok tb (who also helped with build tests and
fixing up other ports etc), daniel

a few changes to follow

_MODPY_SYSTEM_VERSION bumped rather than bumping ERANGE ports
2026-05-12 13:45:10 +00:00

15 lines
513 B
Makefile

MODPY_DEFAULT_VERSION_2 = 2.7
MODPY_DEFAULT_VERSION_3 = 3.14
MODPY_VERSION ?= ${MODPY_DEFAULT_VERSION_3}
.if ${MODPY_VERSION} == ${MODPY_DEFAULT_VERSION_3}
# bump this to avoid bumping all the ports for PLIST changes
_MODPY_SYSTEM_VERSION = 2
. include "${PORTSDIR}/lang/python/3/python.port.mk"
.elif ${MODPY_VERSION} == ${MODPY_DEFAULT_VERSION_2}
_MODPY_SYSTEM_VERSION = 0
. include "${PORTSDIR}/lang/python/2.7/python.port.mk"
.else
ERRORS += "Fatal: MODPY_VERSION ${MODPY_VERSION} is not supported"
.endif