git: f17754bc0597 - main - */*: Remove defunct references to python3.8

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 31 Mar 2025 19:22:05 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f17754bc05973ff58e7a0ed2fee129abca82a84e

commit f17754bc05973ff58e7a0ed2fee129abca82a84e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-03-31 19:11:34 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-03-31 19:18:53 +0000

    */*: Remove defunct references to python3.8
    
    - Remove non DEFAULT python option in finance/quickfix
    - Remove python conditionals for sysutils/py-borgmatic
    - Remove python confitional deskutils/py-bugwarrior/Makefile
    
    Approved by:    portmgr (just-fix-it)
---
 databases/py-firebirdsql/Makefile | 2 +-
 deskutils/py-bugwarrior/Makefile  | 4 ----
 devel/oci-cli/Makefile            | 2 +-
 devel/py-blist/Makefile           | 2 +-
 devel/py-ctags/Makefile           | 2 +-
 devel/py-oci/Makefile             | 2 +-
 devel/py-pyjq/Makefile            | 2 +-
 devel/shiboken2/Makefile          | 2 +-
 finance/quickfix/Makefile         | 9 +--------
 mail/py-dkimpy-milter/Makefile    | 2 +-
 misc/gimp-help-en/Makefile        | 2 +-
 net-im/toot/Makefile              | 2 +-
 net-p2p/warpinator/Makefile       | 2 +-
 net/py-aiohttp-socks/Makefile     | 2 +-
 news/nzbget/Makefile              | 2 +-
 security/py-pywinrm/Makefile      | 2 +-
 sysutils/kleene-cli/Makefile      | 2 +-
 sysutils/py-borgmatic/Makefile    | 8 +-------
 www/tor-browser/Makefile          | 2 +-
 www/unit-python/Makefile          | 2 +-
 x11/autorandr/Makefile            | 2 +-
 21 files changed, 20 insertions(+), 37 deletions(-)

diff --git a/databases/py-firebirdsql/Makefile b/databases/py-firebirdsql/Makefile
index d8a8caaee3b3..926d2b45f9e8 100644
--- a/databases/py-firebirdsql/Makefile
+++ b/databases/py-firebirdsql/Makefile
@@ -12,7 +12,7 @@ WWW=		https://github.com/nakagami/pyfirebirdsql
 LICENSE=	BSD2CLAUSE
 
 NO_ARCH=	yes
-USES=		python:3.8-3.9
+USES=		python:3.9
 USE_PYTHON=	autoplist distutils
 
 .include <bsd.port.mk>
diff --git a/deskutils/py-bugwarrior/Makefile b/deskutils/py-bugwarrior/Makefile
index d28b5c412ae1..60e8558efc57 100644
--- a/deskutils/py-bugwarrior/Makefile
+++ b/deskutils/py-bugwarrior/Makefile
@@ -50,10 +50,6 @@ TRAC_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}offtrac>0:devel/py-offtrac@${PY_FLAVOR
 
 .include <bsd.port.pre.mk>
 
-.if ${PYTHON_VER} <= 3.8
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}
-.endif
-
 .if ${PYTHON_REL} > 30900
 BROKEN=		python-3.9 or later is not supported
 .endif
diff --git a/devel/oci-cli/Makefile b/devel/oci-cli/Makefile
index 25eee4934f2a..c6161ee8d3a5 100644
--- a/devel/oci-cli/Makefile
+++ b/devel/oci-cli/Makefile
@@ -33,7 +33,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}arrow>=1.0.0:devel/py-arrow@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}terminaltables>=3.1.0:textproc/py-terminaltables@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyyaml>=5.4:devel/py-pyyaml@${PY_FLAVOR}
 
-USES=		python:3.8-3.11
+USES=		python:3.9-3.11
 USE_PYTHON=	autoplist concurrent cryptography pep517
 
 # upstream uses underscore for the tarball name, but uses hyphen for
diff --git a/devel/py-blist/Makefile b/devel/py-blist/Makefile
index 520110d03e50..2ee4a6555a9a 100644
--- a/devel/py-blist/Makefile
+++ b/devel/py-blist/Makefile
@@ -12,7 +12,7 @@ WWW=		http://stutzbachenterprises.com/blist/
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		python:3.8-3.9
+USES=		python:3.9
 USE_PYTHON=	autoplist distutils
 
 do-test:
diff --git a/devel/py-ctags/Makefile b/devel/py-ctags/Makefile
index 70de271d26ec..76a42733c534 100644
--- a/devel/py-ctags/Makefile
+++ b/devel/py-ctags/Makefile
@@ -12,7 +12,7 @@ WWW=		https://pypi.org/project/python-ctags/
 
 LICENSE=	LGPL20+
 
-USES=		python:3.8-3.9
+USES=		python:3.9
 USE_PYTHON=	distutils autoplist
 
 .include <bsd.port.pre.mk>
diff --git a/devel/py-oci/Makefile b/devel/py-oci/Makefile
index 49cd4c7a3d58..acbb1695b905 100644
--- a/devel/py-oci/Makefile
+++ b/devel/py-oci/Makefile
@@ -24,7 +24,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.5.3<3.0.0:devel/py-python-dateutil@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytz>=2016.10:devel/py-pytz@${PY_FLAVOR}
 
-USES=		python:3.8-3.11
+USES=		python:3.9-3.11
 USE_PYTHON=	autoplist cryptography pep517
 
 NO_ARCH=	yes
diff --git a/devel/py-pyjq/Makefile b/devel/py-pyjq/Makefile
index 188cb740d413..8006721108ac 100644
--- a/devel/py-pyjq/Makefile
+++ b/devel/py-pyjq/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 LIB_DEPENDS=	libjq.so:textproc/jq \
 		libonig.so:devel/oniguruma
 
-USES=		localbase python:3.8-3.9
+USES=		localbase python:3.9
 USE_PYTHON=	autoplist distutils
 
 post-patch:
diff --git a/devel/shiboken2/Makefile b/devel/shiboken2/Makefile
index a8aa3735362f..59291feceffc 100644
--- a/devel/shiboken2/Makefile
+++ b/devel/shiboken2/Makefile
@@ -19,7 +19,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@$
 LIB_DEPENDS=	libxslt.so:textproc/libxslt
 
 USES=		cmake compiler:c++11-lang gnome llvm:lib,noexport \
-		python:3.8-3.11 qt:5 shebangfix tar:xz
+		python:3.9-3.11 qt:5 shebangfix tar:xz
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 USE_PYTHON=	flavors
diff --git a/finance/quickfix/Makefile b/finance/quickfix/Makefile
index e993a697232d..3659815f871f 100644
--- a/finance/quickfix/Makefile
+++ b/finance/quickfix/Makefile
@@ -25,7 +25,7 @@ HAS_CONFIGURE=	yes
 CONFIGURE_ENV=	CXX=${CXX} CC=${CC} LIBS=-L${LOCALBASE}/lib/
 CONFIGURE_ARGS+=	--without-python2
 
-OPTIONS_DEFINE=	MYSQL PGSQL PYTHON RUBY JAVA
+OPTIONS_DEFINE=	MYSQL PGSQL RUBY JAVA
 OPTIONS_DEFAULT=	PGSQL
 OPTIONS_SUB=	YES
 PGSQL_USES=	pgsql
@@ -33,8 +33,6 @@ PGSQL_CONFIGURE_WITH=	postgresql
 MYSQL_USES=	mysql
 MYSQL_CONFIGURE_WITH=	mysql
 MYSQL_VARS=	IGNORE_WITH_MYSQL="80 81"
-PYTHON_USES=	python:3.8
-PYTHON_CONFIGURE_WITH=	python3
 RUBY_USES=	ruby
 RUBY_CONFIGURE_WITH=	ruby
 RUBY_LIB_DEPENDS+=libunwind.so:devel/libunwind
@@ -45,11 +43,6 @@ INSTALL_TARGET=install-strip
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MPYTHON}
-BROKEN=	fails to build
-DEPRECATED=	Uses expired Python 3.8
-.endif
-
 .if ${ARCH} != amd64 && ${ARCH} != i386
 CXXFLAGS+=	-DENABLE_BOOST_ATOMIC_COUNT
 LIB_DEPENDS+=	libboost_system.so:devel/boost-libs
diff --git a/mail/py-dkimpy-milter/Makefile b/mail/py-dkimpy-milter/Makefile
index d8c39a3bce67..bc95c265bbd1 100644
--- a/mail/py-dkimpy-milter/Makefile
+++ b/mail/py-dkimpy-milter/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dkimpy>=1.1.0:mail/py-dkimpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pynacl>=0:security/py-pynacl@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dnspython>=1.16.0:dns/py-dnspython@${PY_FLAVOR}
 
-USES=		python:3.9+	# Some dependencies don't support 3.8
+USES=		python
 USE_PYTHON=	autoplist concurrent distutils
 USE_RC_SUBR=	dkimpy-milter
 SUB_LIST+=	PYTHON_CMD=${PYTHON_CMD}
diff --git a/misc/gimp-help-en/Makefile b/misc/gimp-help-en/Makefile
index a71eaef4a3d1..69b1dbae2f06 100644
--- a/misc/gimp-help-en/Makefile
+++ b/misc/gimp-help-en/Makefile
@@ -18,7 +18,7 @@ LICENSE=	GFDL
 BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2@${PY_FLAVOR} \
 		${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:textproc/docbook-xsl
 
-USES=		gettext-tools gmake gnome perl5 pkgconfig python:3.8+,build shebangfix \
+USES=		gettext-tools gmake gnome perl5 pkgconfig python:3.9+,build shebangfix \
 		tar:bzip2
 USE_GNOME=	intltool:build libxslt:build
 USE_PERL5=	build
diff --git a/net-im/toot/Makefile b/net-im/toot/Makefile
index 957dd1e91f62..0eafadb91d1f 100644
--- a/net-im/toot/Makefile
+++ b/net-im/toot/Makefile
@@ -26,7 +26,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}urwidgets>=0:devel/py-urwidgets@${PY_FLAVOR}
 
-USES=		python:3.8+
+USES=		python
 USE_PYTHON=	flavors pytest
 
 NO_ARCH=	yes
diff --git a/net-p2p/warpinator/Makefile b/net-p2p/warpinator/Makefile
index 13c2192b58fa..47b9e8c6e21a 100644
--- a/net-p2p/warpinator/Makefile
+++ b/net-p2p/warpinator/Makefile
@@ -25,7 +25,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${P
 		${PYTHON_PKGNAMEPREFIX}zeroconf>=0.27.0:net/py-zeroconf@${PY_FLAVOR} \
 		xapp>=0:x11/xapp
 
-USES=		gettext gnome meson python:3.8+ shebangfix
+USES=		gettext gnome meson python shebangfix
 USE_GITHUB=	yes
 GH_ACCOUNT=	linuxmint
 USE_GNOME=	glib20 gtk30 pygobject3
diff --git a/net/py-aiohttp-socks/Makefile b/net/py-aiohttp-socks/Makefile
index 8dfe30093521..fcc3793bdf3e 100644
--- a/net/py-aiohttp-socks/Makefile
+++ b/net/py-aiohttp-socks/Makefile
@@ -23,7 +23,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flask>0:www/py-flask@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tiny-proxy>0:net/py-tiny-proxy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}trio>0:net/py-trio@${PY_FLAVOR}
 
-USES=		python:3.8+
+USES=		python
 USE_GITHUB=	yes
 GH_ACCOUNT=	romis2012
 USE_PYTHON=	autoplist pep517
diff --git a/news/nzbget/Makefile b/news/nzbget/Makefile
index a5549156ff33..e6144da539ed 100644
--- a/news/nzbget/Makefile
+++ b/news/nzbget/Makefile
@@ -41,7 +41,7 @@ NCURSES_USES=	ncurses
 NCURSES_CMAKE_BOOL_OFF=	DISABLE_CURSES
 PAR2_CMAKE_BOOL_OFF=	DISABLE_PARCHECK
 
-PYTHON_USES=	python:run,3.8+
+PYTHON_USES=	python:run,3.9+
 
 .include <bsd.port.options.mk>
 
diff --git a/security/py-pywinrm/Makefile b/security/py-pywinrm/Makefile
index a02a6a49c12b..cfec9f8f99fc 100644
--- a/security/py-pywinrm/Makefile
+++ b/security/py-pywinrm/Makefile
@@ -21,7 +21,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}xmltodict>0:devel/py-xmltodict@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
 
-USES=		python:3.8+
+USES=		python
 USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
diff --git a/sysutils/kleene-cli/Makefile b/sysutils/kleene-cli/Makefile
index 189f081e16f2..d864c50c0a4f 100644
--- a/sysutils/kleene-cli/Makefile
+++ b/sysutils/kleene-cli/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=23.2.0:devel/py-attrs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rich>=13.7.1:textproc/py-rich@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}websockets>=12.0:devel/py-websockets@${PY_FLAVOR}
 
-USES=		python:3.8+
+USES=		python
 USE_GITHUB=	yes
 GH_ACCOUNT=	kleene-project
 GH_PROJECT=	klee
diff --git a/sysutils/py-borgmatic/Makefile b/sysutils/py-borgmatic/Makefile
index d331117d3374..f429aba52ac5 100644
--- a/sysutils/py-borgmatic/Makefile
+++ b/sysutils/py-borgmatic/Makefile
@@ -23,12 +23,6 @@ USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_VER} == "3.8"
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pkgutil-resolve-name>=1.3.10:devel/py-pkgutil-resolve-name@${PY_FLAVOR}
-.endif
-
 post-patch:
 	@cd ${WRKSRC} && \
 	  ${REINPLACE_CMD} -e 's|/etc/borgmatic|${PREFIX}/etc/borgmatic|g' \
@@ -37,4 +31,4 @@ post-patch:
 		tests/unit/config/test_collect.py \
 		tests/unit/borg/test_create.py
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/tor-browser/Makefile b/www/tor-browser/Makefile
index 1cf8d31e79dd..c79768f427db 100644
--- a/www/tor-browser/Makefile
+++ b/www/tor-browser/Makefile
@@ -44,7 +44,7 @@ RUN_DEPENDS=	tor:security/tor \
 		snowflake-client:security/snowflake-tor
 
 USES=		compiler:c++11-lib libtool localbase:ldflags perl5 pkgconfig \
-		python:3.8+ shebangfix tar:xz
+		python shebangfix tar:xz
 USE_GECKO=	gecko
 USE_GITHUB=	nodefault
 TAG_L10N=	fcd0300e8478d1ec4d1c097a073ddb8e1e0351e3
diff --git a/www/unit-python/Makefile b/www/unit-python/Makefile
index 471e6248d056..b30f2319e8be 100644
--- a/www/unit-python/Makefile
+++ b/www/unit-python/Makefile
@@ -4,7 +4,7 @@ UNIT_MODNAME=	python${PYTHON_SUFFIX}
 
 COMMENT=	Python module for NGINX Unit
 
-USES=		python:3.8-3.11 gettext-runtime
+USES=		python:3.9-3.11 gettext-runtime
 USE_PYTHON=	flavors
 
 PLIST_FILES=	libexec/unit/modules/${UNIT_MODNAME}.unit.so
diff --git a/x11/autorandr/Makefile b/x11/autorandr/Makefile
index 95f8dbccef54..a99f33c03222 100644
--- a/x11/autorandr/Makefile
+++ b/x11/autorandr/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/gpl-3.0.txt
 BUILD_DEPENDS=	gsed:textproc/gsed
 RUN_DEPENDS=	xrandr:x11/xrandr
 
-USES=		gmake pkgconfig python:3.8-3.10 shebangfix xorg
+USES=		gmake pkgconfig python:3.9-3.10 shebangfix xorg
 # Use GitHub instead of MASTER_SITES=PYPI to get additional files like
 # the manual page and the license.
 USE_GITHUB=	yes