devel/py-attrs-strict: Convert to USE_PYTHON=pep517

- Remove outdated PYTHON_REL check after lang/python37 removal
- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2023-06-30 15:03:09 +08:00
parent be669f60a3
commit 858e0d760d
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B

View file

@ -1,5 +1,6 @@
PORTNAME= attrs-strict
PORTVERSION= 1.0.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,17 +13,14 @@ WWW= https://github.com/bloomberg/attrs-strict
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=58:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6:devel/py-setuptools_scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=19.1.0:devel/py-attrs@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 30800
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>