git: 3ad4d21165af - main - devel/py-unittest2: Remove outdated PYTHON_REL check after lang/python39 removal (05de8effa6b4a6fd9758a51d0c1acea91a36d3c6)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 Dec 2025 12:20:01 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3ad4d21165af653b29afa51c441288c7a10fe1e6
commit 3ad4d21165af653b29afa51c441288c7a10fe1e6
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-12-02 12:08:06 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-12-02 12:08:06 +0000
devel/py-unittest2: Remove outdated PYTHON_REL check after lang/python39 removal (05de8effa6b4a6fd9758a51d0c1acea91a36d3c6)
---
devel/py-unittest2/Makefile | 8 +-------
.../py-unittest2/files/{extra-patch-python310 => patch-python310} | 0
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/devel/py-unittest2/Makefile b/devel/py-unittest2/Makefile
index 8b4f16f62fd6..a57a306b2ccc 100644
--- a/devel/py-unittest2/Makefile
+++ b/devel/py-unittest2/Makefile
@@ -23,13 +23,7 @@ USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} >= 31000
-EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-python310
-.endif
-
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} -m unittest2 -v
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/py-unittest2/files/extra-patch-python310 b/devel/py-unittest2/files/patch-python310
similarity index 100%
rename from devel/py-unittest2/files/extra-patch-python310
rename to devel/py-unittest2/files/patch-python310