Nothing depends on python 3.7 anymore.

ok to retire the port at this point?

Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/python/Makefile,v
retrieving revision 1.72
diff -u -p -u -r1.72 Makefile
--- Makefile    5 Oct 2020 20:51:18 -0000       1.72
+++ Makefile    28 Dec 2020 01:00:59 -0000
@@ -2,7 +2,6 @@
 
 SUBDIR =
 SUBDIR +=      2.7
-SUBDIR +=      3.7
 SUBDIR +=      3.8
 SUBDIR +=      3.9
 
Index: Makefile.inc
===================================================================
RCS file: /cvs/ports/lang/python/Makefile.inc,v
retrieving revision 1.134
diff -u -p -u -r1.134 Makefile.inc
--- Makefile.inc        11 Feb 2020 11:45:31 -0000      1.134
+++ Makefile.inc        28 Dec 2020 01:00:59 -0000
@@ -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"
@@ -92,11 +86,11 @@ LIB_DEPENDS-bsddb +=        databases/db/v4,no_
 .else
 LIB_DEPENDS-bsddb +=   databases/db/v4
 .endif
-WANTLIB-bsddb =                lib/db4/db>=4 pthread 
python${VERSION}${LIB_SUFX}
+WANTLIB-bsddb =                lib/db4/db>=4 pthread python${VERSION}
 
 LIB_DEPENDS-gdbm =     databases/gdbm \
                        lang/python/${VERSION},-main
-WANTLIB-gdbm =         gdbm>=3 pthread python${VERSION}${LIB_SUFX}
+WANTLIB-gdbm =         gdbm>=3 pthread python${VERSION}
 
 RUN_DEPENDS-idle =     lang/python/${VERSION},-tkinter \
                        ${RUN_DEPENDS}
@@ -107,7 +101,7 @@ MODULES +=          x11/tk
 MODTK_VERSION =                8.5
 LIB_DEPENDS-tkinter =  lang/python/${VERSION},-main \
                        ${MODTK_LIB_DEPENDS}
-WANTLIB-tkinter =      X11 pthread python${VERSION}${LIB_SUFX} \
+WANTLIB-tkinter =      X11 pthread python${VERSION} \
                        ${MODTK_WANTLIB}
 
 AUTOCONF_VERSION =     2.69
Index: python.port.mk
===================================================================
RCS file: /cvs/ports/lang/python/python.port.mk,v
retrieving revision 1.122
diff -u -p -u -r1.122 python.port.mk
--- python.port.mk      5 Oct 2020 20:51:18 -0000       1.122
+++ python.port.mk      28 Dec 2020 01:00:59 -0000
@@ -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" && \
       ${MODPY_VERSION} != "3.9"
 ERRORS += "Fatal: unknown or unsupported MODPY_VERSION: ${MODPY_VERSION}"
@@ -59,7 +58,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-
@@ -69,12 +67,6 @@ 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 later) discard the m suffix on the library
-MODPY_LIB_SUFFIX =
-.  endif
 # replace py- prefix by py3-
 FULLPKGNAME ?= ${PKGNAME:S/^py-/py3-/}${FLAVOR_EXT:S/-python3//}
 MODPY_FLAVOR = ,python3
@@ -91,7 +83,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}
@@ -167,7 +159,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
 

Reply via email to