git: a8c532d6ff4c - main - devel/py-pytest4: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Mon, 23 Jun 2025 19:17:56 UTC
The branch main has been updated by rene:

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

commit a8c532d6ff4c2824f985cf2fda4b5ea0cde10a4f
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-06-23 19:17:52 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-06-23 19:17:52 +0000

    devel/py-pytest4: Remove expired port
    
    2025-06-21 devel/py-pytest4: Depends on expired devel/py-atomicwrites
---
 MOVED                                              |  1 +
 devel/Makefile                                     |  1 -
 devel/py-pytest4/Makefile                          | 62 ----------------------
 devel/py-pytest4/distinfo                          |  3 --
 .../files/patch-testing-test_parseopt.py           | 11 ----
 devel/py-pytest4/pkg-descr                         | 10 ----
 6 files changed, 1 insertion(+), 87 deletions(-)

diff --git a/MOVED b/MOVED
index b18ec88a9887..a112afe6dfaa 100644
--- a/MOVED
+++ b/MOVED
@@ -4541,3 +4541,4 @@ devel/py-pytest-relaxed||2025-06-23|Has expired: Depends on expiring devel/py-py
 devel/py-pytest4-flakes||2025-06-23|Has expired: Depends on expiring devel/py-pytest4
 devel/py-pytest-pep8||2025-06-23|Has expired: Depends on expiring devel/py-pytest4
 devel/py-pytest4-cache||2025-06-23|Has expired: Depends on expiring devel/py-pytest4
+devel/py-pytest4||2025-06-23|Has expired: Depends on expired devel/py-atomicwrites
diff --git a/devel/Makefile b/devel/Makefile
index 811e9e1c214e..93283676c30d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5744,7 +5744,6 @@
     SUBDIR += py-pytest-watcher
     SUBDIR += py-pytest-xdist
     SUBDIR += py-pytest-xprocess
-    SUBDIR += py-pytest4
     SUBDIR += py-python-application
     SUBDIR += py-python-bugzilla
     SUBDIR += py-python-dateutil
diff --git a/devel/py-pytest4/Makefile b/devel/py-pytest4/Makefile
deleted file mode 100644
index 3aaa97dcacbc..000000000000
--- a/devel/py-pytest4/Makefile
+++ /dev/null
@@ -1,62 +0,0 @@
-PORTNAME=	pytest
-PORTVERSION=	4.6.11
-PORTREVISION=	2
-PORTEPOCH=	1
-CATEGORIES=	devel python
-MASTER_SITES=	PYPI
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-PKGNAMESUFFIX=	4
-
-MAINTAINER=	python@FreeBSD.org
-COMMENT=	Simple powerful testing with Python (legacy version 4)
-WWW=		https://docs.pytest.org/en/latest/
-
-LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-DEPRECATED=	Depends on expired devel/py-atomicwrites
-EXPIRATION_DATE=2025-06-21
-
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}pytest
-
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=40.0:devel/py-setuptools@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}atomicwrites>=1.0:devel/py-atomicwrites@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}attrs>=17.4.0:devel/py-attrs@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}more-itertools>=4.0.0:devel/py-more-itertools@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pluggy0>=0.12<1.0:devel/py-pluggy0@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}py>=1.5.0:devel/py-py@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}wcwidth>=0:devel/py-wcwidth@${PY_FLAVOR}
-TEST_DEPENDS=	bash:shells/bash \
-		lsof:sysutils/lsof \
-		${PYTHON_PKGNAMEPREFIX}argcomplete>=0:devel/py-argcomplete@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}decorator>=0:devel/py-decorator@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}hypothesis>=3.56:devel/py-hypothesis@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pexpect>=0:misc/py-pexpect@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-xdist>=1.13:devel/py-pytest-xdist@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}unittest2>=0:devel/py-unittest2@${PY_FLAVOR}
-
-USES=		python
-USE_PYTHON=	autoplist concurrent pep517
-
-NO_ARCH=	yes
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' ${WRKSRC}/testing/test_parseopt.py
-
-# test_cache_failure_warns fails
-# https://github.com/pytest-dev/pytest/issues/1845
-do-test:
-	cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -k 'not test_cache_failure_warns'
-
-.include <bsd.port.mk>
diff --git a/devel/py-pytest4/distinfo b/devel/py-pytest4/distinfo
deleted file mode 100644
index db173fdad5c5..000000000000
--- a/devel/py-pytest4/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1620405525
-SHA256 (pytest-4.6.11.tar.gz) = 50fa82392f2120cc3ec2ca0a75ee615be4c479e66669789771f1758332be4353
-SIZE (pytest-4.6.11.tar.gz) = 952305
diff --git a/devel/py-pytest4/files/patch-testing-test_parseopt.py b/devel/py-pytest4/files/patch-testing-test_parseopt.py
deleted file mode 100644
index 22683ffee3af..000000000000
--- a/devel/py-pytest4/files/patch-testing-test_parseopt.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- testing/test_parseopt.py.orig	2020-06-05 12:09:03 UTC
-+++ testing/test_parseopt.py
-@@ -305,7 +305,7 @@ def test_argcomplete(testdir, monkeypatch):
-         # redirect output from argcomplete to stdin and stderr is not trivial
-         # http://stackoverflow.com/q/12589419/1307905
-         # so we use bash
--        fp.write('COMP_WORDBREAKS="$COMP_WORDBREAKS" python -m pytest 8>&1 9>&2')
-+        fp.write('COMP_WORDBREAKS="$COMP_WORDBREAKS" %%PYTHON_CMD%% -m pytest 8>&1 9>&2')
-     # alternative would be exteneded Testdir.{run(),_run(),popen()} to be able
-     # to handle a keyword argument env that replaces os.environ in popen or
-     # extends the copy, advantage: could not forget to restore
diff --git a/devel/py-pytest4/pkg-descr b/devel/py-pytest4/pkg-descr
deleted file mode 100644
index 7dc46df7aed8..000000000000
--- a/devel/py-pytest4/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-The pytest testing tool makes it easy to write small tests, yet scales to
-support complex functional testing.
-
-Features:
-
-  * Detailed info on failing assert statements
-  * Auto-discovery of test modules and functions
-  * Modular fixtures to manage small or parametrized long-lived test resources
-  * Can run unittest (or trial), nose test suites out of the box
-  * Rich plugin architecture, with over 315+ external plugins