git: c4794018938a - main - devel/py-dataclass-array: Use USES=python:3.11+ after python311 as default (62a23ef0936e21fef507653054d6732bb7ef085f)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 03 Jun 2024 02:47:46 UTC
The branch main has been updated by sunpoet:

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

commit c4794018938a14b98fa16ed6fbd6638499158dbf
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-06-03 02:38:09 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-06-03 02:38:09 +0000

    devel/py-dataclass-array: Use USES=python:3.11+ after python311 as default (62a23ef0936e21fef507653054d6732bb7ef085f)
---
 devel/py-dataclass-array/Makefile | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/devel/py-dataclass-array/Makefile b/devel/py-dataclass-array/Makefile
index 01285594ab10..2162a91b029c 100644
--- a/devel/py-dataclass-array/Makefile
+++ b/devel/py-dataclass-array/Makefile
@@ -20,15 +20,9 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}einops>=0:misc/py-einops@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
 
-USES=		python
+USES=		python:3.11+
 USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 31100
-IGNORE=		requires Python 3.11+
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>