git: cc525fa29cdd - main - devel/py-pytest4-cache: Remove expired port

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

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

commit cc525fa29cdd393ea96a6719baf9ab0ae8a53b5f
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-06-23 19:16:38 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-06-23 19:16:38 +0000

    devel/py-pytest4-cache: Remove expired port
    
    2025-06-21 devel/py-pytest4-cache: Depends on expiring devel/py-pytest4
---
 MOVED                                       |  1 +
 devel/Makefile                              |  1 -
 devel/py-pytest4-cache/Makefile             | 32 -------------------------
 devel/py-pytest4-cache/distinfo             |  3 ---
 devel/py-pytest4-cache/files/patch-setup.py | 36 -----------------------------
 devel/py-pytest4-cache/pkg-descr            |  1 -
 6 files changed, 1 insertion(+), 73 deletions(-)

diff --git a/MOVED b/MOVED
index 9ceabdd6a77b..b18ec88a9887 100644
--- a/MOVED
+++ b/MOVED
@@ -4540,3 +4540,4 @@ deskutils/py-khal||2025-06-23|Has expired: Depends on expired devel/py-atomicwri
 devel/py-pytest-relaxed||2025-06-23|Has expired: Depends on expiring devel/py-pytest4
 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
diff --git a/devel/Makefile b/devel/Makefile
index 7d969066f66a..811e9e1c214e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5745,7 +5745,6 @@
     SUBDIR += py-pytest-xdist
     SUBDIR += py-pytest-xprocess
     SUBDIR += py-pytest4
-    SUBDIR += py-pytest4-cache
     SUBDIR += py-python-application
     SUBDIR += py-python-bugzilla
     SUBDIR += py-python-dateutil
diff --git a/devel/py-pytest4-cache/Makefile b/devel/py-pytest4-cache/Makefile
deleted file mode 100644
index 70fa9c2ea820..000000000000
--- a/devel/py-pytest4-cache/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-PORTNAME=	pytest4-cache
-PORTVERSION=	1.0
-PORTREVISION=	1
-CATEGORIES=	devel python
-MASTER_SITES=	PYPI
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	${PORTNAME:C/4//}-${PORTVERSION}
-
-MAINTAINER=	loader@FreeBSD.org
-COMMENT=	Pytest plugin with mechanisms for caching across test runs (legacy version for pytest 4)
-WWW=		https://bitbucket.org/hpk42/pytest-cache/
-
-LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-DEPRECATED=	Depends on expiring devel/py-pytest4
-EXPIRATION_DATE=2025-06-21
-
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}pytest-cache
-
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest4>=2.2:devel/py-pytest4@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}execnet>=1.2:sysutils/py-execnet@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest4>0:devel/py-pytest4@${PY_FLAVOR}
-
-NO_ARCH=	yes
-USES=		python
-USE_PYTHON=	autoplist distutils
-DO_MAKE_TEST=	${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP}
-TEST_TARGET=	test
-PYDISTUTILS_PKGNAME=	${PORTNAME:C/4//}
-
-.include <bsd.port.mk>
diff --git a/devel/py-pytest4-cache/distinfo b/devel/py-pytest4-cache/distinfo
deleted file mode 100644
index 919dc0f71ed9..000000000000
--- a/devel/py-pytest4-cache/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1649284663
-SHA256 (pytest-cache-1.0.tar.gz) = be7468edd4d3d83f1e844959fd6e3fd28e77a481440a7118d430130ea31b07a9
-SIZE (pytest-cache-1.0.tar.gz) = 16242
diff --git a/devel/py-pytest4-cache/files/patch-setup.py b/devel/py-pytest4-cache/files/patch-setup.py
deleted file mode 100644
index 75426dd0c02d..000000000000
--- a/devel/py-pytest4-cache/files/patch-setup.py
+++ /dev/null
@@ -1,36 +0,0 @@
---- setup.py.orig	2013-06-04 19:10:04 UTC
-+++ setup.py
-@@ -1,4 +1,24 @@
- from setuptools import setup
-+from setuptools.command.test import test as TestCommand
-+
-+class PyTest(TestCommand):
-+    user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
-+
-+    def initialize_options(self):
-+        TestCommand.initialize_options(self)
-+        self.pytest_args = []
-+
-+    def finalize_options(self):
-+        TestCommand.finalize_options(self)
-+        self.test_args = []
-+        self.test_suite = True
-+
-+    def run_tests(self):
-+        # import here, because outside the eggs aren't loaded
-+        import pytest
-+        errno = pytest.main(self.pytest_args)
-+        sys.exit(errno)
-+
- setup(
-     name='pytest-cache',
-     description='pytest plugin with mechanisms for caching across test runs',
-@@ -10,6 +30,8 @@ setup(
-     py_modules=['pytest_cache'],
-     entry_points={'pytest11': ['cacheprovider = pytest_cache']},
-     install_requires=['pytest>=2.2', 'execnet>=1.1.dev1', ],
-+    tests_require=['pytest'],
-+    cmdclass={'test': PyTest},
-     classifiers=[
-             'Development Status :: 3 - Alpha',
-             'Intended Audience :: Developers',
diff --git a/devel/py-pytest4-cache/pkg-descr b/devel/py-pytest4-cache/pkg-descr
deleted file mode 100644
index 3a22082396c7..000000000000
--- a/devel/py-pytest4-cache/pkg-descr
+++ /dev/null
@@ -1 +0,0 @@
-pytest plugin with mechanisms for caching across test runs.