switch default MODPY_DEFAULT_VERSION_3 to 3.9, ok kmos@

This commit is contained in:
sthen 2021-11-02 00:00:01 +00:00
parent e4507b0043
commit 4805e96969
5 changed files with 15 additions and 11 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.21 2021/11/01 16:56:25 sthen Exp $
# $OpenBSD: Makefile,v 1.22 2021/11/02 00:00:01 sthen Exp $
# IMPORTANT! If you make any changes to the Python ports, be sure
# to also update files/CHANGES.OpenBSD for your change. This is a
@ -10,10 +10,8 @@ PATCHLEVEL = .12
SHARED_LIBS = python3.8 0.0
VERSION_SPEC = >=3.8,<3.9
REVISION-main = 2
# override "@comment" setting for the MODPY_DEFAULT_VERSION_3 version
PY_DEFAULTONLY =
REVISION-main = 3
REVISION-idle = 0
CONFIGURE_ARGS += --with-ensurepip=no

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2021/11/01 16:56:25 sthen Exp $
# $OpenBSD: Makefile,v 1.13 2021/11/02 00:00:01 sthen Exp $
# IMPORTANT! If you make any changes to the Python ports, be sure
# to also update files/CHANGES.OpenBSD for your change. This is a
@ -11,7 +11,11 @@ SHARED_LIBS = python3.9 0.0
VERSION_SPEC = >=3.9,<3.10
#PSUBDIR = python/3.9.0
REVISION-main = 2
REVISION-main = 3
REVISION-idle = 0
# override "@comment" setting for the MODPY_DEFAULT_VERSION_3 version
PY_DEFAULTONLY =
CONFIGURE_ARGS += --with-ensurepip=no

View File

@ -1,7 +1,8 @@
@comment $OpenBSD: PLIST-idle,v 1.3 2021/11/01 16:56:25 sthen Exp $
@comment $OpenBSD: PLIST-idle,v 1.4 2021/11/02 00:00:02 sthen Exp $
@option no-default-conflict
@option is-branch
@conflict python-idle-${VERSION_SPEC}
@conflict python-idle-<3.8.12p0
${PY_DEFAULTONLY}bin/idle3
bin/idle3.9
lib/python3.9/idlelib/

View File

@ -1,7 +1,8 @@
@comment $OpenBSD: PLIST-main,v 1.10 2021/11/01 16:56:25 sthen Exp $
@comment $OpenBSD: PLIST-main,v 1.11 2021/11/02 00:00:02 sthen Exp $
@option no-default-conflict
@option is-branch
@conflict python-${VERSION_SPEC}
@conflict python-main-<3.8.12p3
${PY_DEFAULTONLY}bin/2to3
bin/2to3-3.9
${PY_DEFAULTONLY}bin/pydoc3

View File

@ -1,4 +1,4 @@
# $OpenBSD: python.port.mk,v 1.136 2021/11/01 17:16:23 sthen Exp $
# $OpenBSD: python.port.mk,v 1.137 2021/11/02 00:00:01 sthen Exp $
#
# python.port.mk - Xavier Santolaria <xavier@santolaria.net>
# This file is in the public domain.
@ -7,7 +7,7 @@ CATEGORIES += lang/python
# define the default versions
MODPY_DEFAULT_VERSION_2 = 2.7
MODPY_DEFAULT_VERSION_3 = 3.8
MODPY_DEFAULT_VERSION_3 = 3.9
# If switching to a new MODPY_DEFAULT_VERSION_3, say 3.x to 3.y:
# - Move PY_DEFAULTONLY from 3.x/Makefile to 3.y/Makefile