Add Python 3.11.0 to build and python.port.mk

ok sthen@ tb@
This commit is contained in:
kmos 2022-10-31 22:06:28 +00:00
parent e527e1494f
commit 633af1ae20
2 changed files with 3 additions and 1 deletions

View File

@ -2,5 +2,6 @@ SUBDIR =
SUBDIR += 2.7
SUBDIR += 3.9
SUBDIR += 3.10
SUBDIR += 3.11
.include <bsd.port.subdir.mk>

View File

@ -74,7 +74,8 @@ MODPY_VERSION ?= ${MODPY_DEFAULT_VERSION_2}
# verify if MODPY_VERSION found is correct
.if ${MODPY_VERSION} != "2.7" && \
${MODPY_VERSION} != "3.9" && \
${MODPY_VERSION} != "3.10"
${MODPY_VERSION} != "3.10" && \
${MODPY_VERSION} != "3.11"
ERRORS += "Fatal: unknown or unsupported MODPY_VERSION: ${MODPY_VERSION}"
.endif