Drop the post-install "if you want to use this as your default system
Python" messages, Python 2 development has finished so this is not a sensible option to use as default. (It is still kept in the ports tree for now, as some important software has not been updated to use Python 3). ok tracey aja mariani rpointel From https://www.python.org/doc/sunset-python-2/, "We are volunteers who make and take care of the Python programming language. We have decided that January 1, 2020, was the day that we sunset Python 2. That means that we will not improve it anymore after that day, even if someone finds a security problem in it. You should upgrade to Python 3 as soon as you can."
This commit is contained in:
parent
500596ab6b
commit
10d9780653
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: Makefile,v 1.66 2020/04/23 07:56:01 rpointel Exp $
|
# $OpenBSD: Makefile,v 1.67 2020/04/24 11:01:26 sthen Exp $
|
||||||
|
|
||||||
# IMPORTANT! If you make any changes to the Python ports, be sure
|
# IMPORTANT! If you make any changes to the Python ports, be sure
|
||||||
# to also update files/CHANGES.OpenBSD for your change. This is a
|
# to also update files/CHANGES.OpenBSD for your change. This is a
|
||||||
@ -10,6 +10,9 @@ PATCHLEVEL = .18
|
|||||||
SHARED_LIBS = python2.7 0.0
|
SHARED_LIBS = python2.7 0.0
|
||||||
VERSION_SPEC = >=2.7,<2.8
|
VERSION_SPEC = >=2.7,<2.8
|
||||||
|
|
||||||
|
REVISION-main = 0
|
||||||
|
REVISION-idle = 0
|
||||||
|
|
||||||
CONFIGURE_ARGS += --with-ensurepip=no
|
CONFIGURE_ARGS += --with-ensurepip=no
|
||||||
CONFIGURE_ENV += ac_cv_opt_olimit_ok=no
|
CONFIGURE_ENV += ac_cv_opt_olimit_ok=no
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
If you want to use this package as your default system idle, as root
|
|
||||||
create symbolic links like so (overwriting any previous default):
|
|
||||||
ln -sf ${PREFIX}/bin/idle2.7 ${PREFIX}/bin/idle
|
|
@ -1,6 +0,0 @@
|
|||||||
If you want to use this package as your default system python, as root
|
|
||||||
create symbolic links like so (overwriting any previous default):
|
|
||||||
ln -sf ${PREFIX}/bin/python2.7 ${PREFIX}/bin/python
|
|
||||||
ln -sf ${PREFIX}/bin/python2.7-2to3 ${PREFIX}/bin/2to3
|
|
||||||
ln -sf ${PREFIX}/bin/python2.7-config ${PREFIX}/bin/python-config
|
|
||||||
ln -sf ${PREFIX}/bin/pydoc2.7 ${PREFIX}/bin/pydoc
|
|
Loading…
Reference in New Issue
Block a user