aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2024-05-29 13:51:35 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2024-05-29 13:51:35 +0000
commit62a23ef0936e21fef507653054d6732bb7ef085f (patch)
tree07cf794319ff23e443378dfe71a4d82e386c6313
parent59327c25953ca2a7e708bacfeee2c499c577a240 (diff)
downloadports-62a23ef0936e21fef507653054d6732bb7ef085f.tar.gz
ports-62a23ef0936e21fef507653054d6732bb7ef085f.zip
Mk/Uses/python.mk: Switch to Python 3.11 as default
The switch is a collective effort of Wen Heping, Alastair Hogge, Muhammad Moinur Rahman, Antoine Brodin, Vladimir Druzenko, Thomas Zander, Daniel Engberg et al. PR: 275494 Tested by: antoine (multiple exp-runs) With hat: python
-rw-r--r--Mk/Uses/python.mk4
-rw-r--r--Mk/bsd.default-versions.mk2
-rw-r--r--lang/cython/Makefile1
3 files changed, 4 insertions, 3 deletions
diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk
index feb46eb9b70b..d71ee26d8dc0 100644
--- a/Mk/Uses/python.mk
+++ b/Mk/Uses/python.mk
@@ -316,8 +316,8 @@ _INCLUDE_USES_PYTHON_MK= yes
# What Python version and what Python interpreters are currently supported?
# When adding a version, please keep the comment in
# Mk/bsd.default-versions.mk in sync.
-_PYTHON_VERSIONS= 3.9 3.8 3.10 3.11 2.7 # preferred first
-_PYTHON_PORTBRANCH= 3.9 # ${_PYTHON_VERSIONS:[1]}
+_PYTHON_VERSIONS= 3.11 3.10 3.9 3.8 2.7 # preferred first
+_PYTHON_PORTBRANCH= 3.11 # ${_PYTHON_VERSIONS:[1]}
_PYTHON_BASECMD= ${LOCALBASE}/bin/python
_PYTHON_RELPORTDIR= lang/python
diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
index b54f262c6b44..9c73c70abce4 100644
--- a/Mk/bsd.default-versions.mk
+++ b/Mk/bsd.default-versions.mk
@@ -135,7 +135,7 @@ PYCRYPTOGRAPHY_DEFAULT?= rust
PYCRYPTOGRAPHY_DEFAULT?= legacy
. endif
# Possible values: 3.8, 3.9, 3.10, 3.11
-PYTHON_DEFAULT?= 3.9
+PYTHON_DEFAULT?= 3.11
# Possible values: 2.7
PYTHON2_DEFAULT?= 2.7
# Possible values: 3.1, 3.2, 3.3
diff --git a/lang/cython/Makefile b/lang/cython/Makefile
index 3a2d8c3caa4d..c240b04b8172 100644
--- a/lang/cython/Makefile
+++ b/lang/cython/Makefile
@@ -1,5 +1,6 @@
PORTNAME= cython
PORTVERSION= 0.29.37
+PORTREVISION= 1
CATEGORIES= lang python
MASTER_SITES= PYPI \
https://github.com/cython/cython/releases/download/${PORTVERSION}/