Edit

IABSD.fr/ports/lang/python/python.port.mk

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2026-05-12 13:45:10
    Hash : ff78cf77
    Message : 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

  • lang/python/python.port.mk
  • 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