Re: Remove Python 3.7

2020-10-06 Thread Remi Pointel

On 10/5/20 8:58 PM, Kurt Mosiejczuk wrote:

We stopped building packages for Python 3.7 for 6.8. It has been
vestigial. Remove it?

If desired, I could submit a version to bring in Python 3.9.0, which
got released today.

(cc maintainer)



Hello,

ok for me to remove Python 3.7.

Thank you,

Remi.



Re: Remove Python 3.7

2020-10-05 Thread Kurt Mosiejczuk
On Mon, Oct 05, 2020 at 02:58:10PM -0400, Kurt Mosiejczuk wrote:
> We stopped building packages for Python 3.7 for 6.8. It has been
> vestigial. Remove it?

> If desired, I could submit a version to bring in Python 3.9.0, which
> got released today.

> (cc maintainer)

Just remembered something and did some digging. It has only *mostly* been
vestigial. graphics/blender still uses Python 3.7.

So until blender stops needing it, this is premature.

--Kurt



Re: Remove Python 3.7

2020-10-05 Thread Kurt Mosiejczuk
On Mon, Oct 05, 2020 at 09:03:03PM +0200, Klemens Nanni wrote:
> On Mon, Oct 05, 2020 at 02:58:10PM -0400, Kurt Mosiejczuk wrote:
> > We stopped building packages for Python 3.7 for 6.8. It has been
> > vestigial. Remove it?
> Fine with me.

> > If desired, I could submit a version to bring in Python 3.9.0, which
> > got released today.
> Sure, as a follow-up diff on its own :)

Well yes. This was mainly in case someone questioned removing the 3.7 bits
instead of changing them to 3.9 bits. :)

--Kurt



Re: Remove Python 3.7

2020-10-05 Thread Klemens Nanni
On Mon, Oct 05, 2020 at 02:58:10PM -0400, Kurt Mosiejczuk wrote:
> We stopped building packages for Python 3.7 for 6.8. It has been
> vestigial. Remove it?
Fine with me.

> If desired, I could submit a version to bring in Python 3.9.0, which
> got released today.
Sure, as a follow-up diff on its own :)



Remove Python 3.7

2020-10-05 Thread Kurt Mosiejczuk
We stopped building packages for Python 3.7 for 6.8. It has been
vestigial. Remove it?

If desired, I could submit a version to bring in Python 3.9.0, which
got released today.

(cc maintainer)

--Kurt

Index: Makefile
===
RCS file: /cvs/ports/lang/python/Makefile,v
retrieving revision 1.71
diff -u -p -r1.71 Makefile
--- Makefile7 Nov 2019 16:14:09 -   1.71
+++ Makefile5 Oct 2020 18:51:48 -
@@ -2,7 +2,6 @@
 
 SUBDIR =
 SUBDIR +=  2.7
-SUBDIR +=  3.7
 SUBDIR +=  3.8
 
 .include 
Index: Makefile.inc
===
RCS file: /cvs/ports/lang/python/Makefile.inc,v
retrieving revision 1.134
diff -u -p -r1.134 Makefile.inc
--- Makefile.inc11 Feb 2020 11:45:31 -  1.134
+++ Makefile.inc5 Oct 2020 18:51:48 -
@@ -50,12 +50,6 @@ MULTI_PACKAGES = -main -tests -gdbm -idl
 DEBUG_PACKAGES ?=  -main -gdbm -tkinter
 .endif
 
-.if ${VERSION} == "3.7"
-LIB_SUFX = m
-.else
-LIB_SUFX = 
-.endif
-
 # Python 2.7 lists BSD db 4.6.x as unstable on most architectures (see
 # setup.py:allow_db_version). XXX revisit if databases/db/v4 is updated to 4.7
 .if ${VERSION} == "2.7"
Index: python.port.mk
===
RCS file: /cvs/ports/lang/python/python.port.mk,v
retrieving revision 1.121
diff -u -p -r1.121 python.port.mk
--- python.port.mk  3 Jul 2020 21:10:55 -   1.121
+++ python.port.mk  5 Oct 2020 18:51:48 -
@@ -49,7 +49,6 @@ MODPY_VERSION ?=  ${MODPY_DEFAULT_VERSION
 # verify if MODPY_VERSION forced is correct
 .else
 .  if ${MODPY_VERSION} != "2.7" && \
-  ${MODPY_VERSION} != "3.7" && \
   ${MODPY_VERSION} != "3.8"
 ERRORS += "Fatal: unknown or unsupported MODPY_VERSION: ${MODPY_VERSION}"
 .  endif
@@ -58,7 +57,6 @@ ERRORS += "Fatal: unknown or unsupported
 MODPY_MAJOR_VERSION =  ${MODPY_VERSION:R}
 
 .if ${MODPY_MAJOR_VERSION} == 2
-MODPY_LIB_SUFFIX =
 MODPY_FLAVOR =
 MODPY_BIN_SUFFIX =
 MODPY_PY_PREFIX =  py-
@@ -68,11 +66,7 @@ MODPY_COMMENT =  "@comment "
 MODPY_ABI3SO =
 MODPY_PYOEXTENSION =   pyo
 .elif ${MODPY_MAJOR_VERSION} == 3
-.  if ${MODPY_VERSION} == "3.7"
-MODPY_LIB_SUFFIX = m
-.  else
 # 3.8 (and presumably later) discards the m suffix on the library
-MODPY_LIB_SUFFIX =
 .  endif
 # replace py- prefix by py3-
 FULLPKGNAME ?= ${PKGNAME:S/^py-/py3-/}${FLAVOR_EXT:S/-python3//}
@@ -90,7 +84,7 @@ MODPY_PYOEXTENSION ?= opt-1.pyc
 
 MODPY_PYTEST ?=No
 
-MODPY_WANTLIB =python${MODPY_VERSION}${MODPY_LIB_SUFFIX}
+MODPY_WANTLIB =python${MODPY_VERSION}
 
 MODPY_RUN_DEPENDS =lang/python/${MODPY_VERSION}
 MODPY_LIB_DEPENDS =lang/python/${MODPY_VERSION}
@@ -166,7 +160,7 @@ HOMEPAGE ?= https://pypi.python.org/pyp
 MODPY_TKINTER_DEPENDS =lang/python/${MODPY_VERSION},-tkinter
 
 MODPY_BIN =${LOCALBASE}/bin/python${MODPY_VERSION}
-MODPY_INCDIR = 
${LOCALBASE}/include/python${MODPY_VERSION}${MODPY_LIB_SUFFIX}
+MODPY_INCDIR = ${LOCALBASE}/include/python${MODPY_VERSION}
 MODPY_LIBDIR = ${LOCALBASE}/lib/python${MODPY_VERSION}
 MODPY_SITEPKG =${MODPY_LIBDIR}/site-packages