From 10d9780653855aec7a53117bf19c4b22b2c829b8 Mon Sep 17 00:00:00 2001 From: sthen Date: Fri, 24 Apr 2020 11:01:26 +0000 Subject: [PATCH] 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." --- lang/python/2.7/Makefile | 5 ++++- lang/python/2.7/pkg/MESSAGE-idle | 3 --- lang/python/2.7/pkg/MESSAGE-main | 6 ------ 3 files changed, 4 insertions(+), 10 deletions(-) delete mode 100644 lang/python/2.7/pkg/MESSAGE-idle delete mode 100644 lang/python/2.7/pkg/MESSAGE-main diff --git a/lang/python/2.7/Makefile b/lang/python/2.7/Makefile index 97b46448d5e..570d25f73b9 100644 --- a/lang/python/2.7/Makefile +++ b/lang/python/2.7/Makefile @@ -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 # to also update files/CHANGES.OpenBSD for your change. This is a @@ -10,6 +10,9 @@ PATCHLEVEL = .18 SHARED_LIBS = python2.7 0.0 VERSION_SPEC = >=2.7,<2.8 +REVISION-main = 0 +REVISION-idle = 0 + CONFIGURE_ARGS += --with-ensurepip=no CONFIGURE_ENV += ac_cv_opt_olimit_ok=no diff --git a/lang/python/2.7/pkg/MESSAGE-idle b/lang/python/2.7/pkg/MESSAGE-idle deleted file mode 100644 index ccc89544a74..00000000000 --- a/lang/python/2.7/pkg/MESSAGE-idle +++ /dev/null @@ -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 diff --git a/lang/python/2.7/pkg/MESSAGE-main b/lang/python/2.7/pkg/MESSAGE-main deleted file mode 100644 index 6ad1f85cf69..00000000000 --- a/lang/python/2.7/pkg/MESSAGE-main +++ /dev/null @@ -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