mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 15:33:55 +02:00
1d2a94aab9
MODPY_PYBUILD etc) and 3 (which doesn't remove all that much yet, but when the remaining py3 MODPY_SETUPTOOLS are gone we'll be able to remove the confusing conditionals around that) been through enough of a bulk for confidence
12 lines
400 B
Makefile
12 lines
400 B
Makefile
MODPY_DEFAULT_VERSION_2 = 2.7
|
|
MODPY_DEFAULT_VERSION_3 = 3.12
|
|
MODPY_VERSION ?= ${MODPY_DEFAULT_VERSION_3}
|
|
|
|
.if ${MODPY_VERSION} == ${MODPY_DEFAULT_VERSION_3}
|
|
. include "${PORTSDIR}/lang/python/3/python.port.mk"
|
|
.elif ${MODPY_VERSION} == ${MODPY_DEFAULT_VERSION_2}
|
|
. include "${PORTSDIR}/lang/python/2.7/python.port.mk"
|
|
.else
|
|
ERRORS += "Fatal: MODPY_VERSION ${MODPY_VERSION} is not supported"
|
|
.endif
|