Sunday, October 31, 2021

Python 3.10.0

Attached is a port of Python 3.10.0

Thanks very much to tb@ who got the needed APIs in LibreSSL and patched
Python 3.10 to work with it.

I'm including below the patch to python.port.mk to include 3.10 in the
allowed versions.

ok to import?

--Kurt

Index: python.port.mk
===================================================================
RCS file: /cvs/ports/lang/python/python.port.mk,v
retrieving revision 1.133
diff -u -p -r1.133 python.port.mk
--- python.port.mk 1 Nov 2021 03:55:31 -0000 1.133
+++ python.port.mk 1 Nov 2021 04:13:48 -0000
@@ -60,7 +60,8 @@ MODPY_VERSION ?= ${MODPY_DEFAULT_VERSION
# verify if MODPY_VERSION found is correct
.if ${MODPY_VERSION} != "2.7" && \
${MODPY_VERSION} != "3.8" && \
- ${MODPY_VERSION} != "3.9"
+ ${MODPY_VERSION} != "3.9" && \
+ ${MODPY_VERSION} != "3.10"
ERRORS += "Fatal: unknown or unsupported MODPY_VERSION: ${MODPY_VERSION}"
.endif

No comments:

Post a Comment