devel/py-pytz-deprecation-shim: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for dependency and package change
This commit is contained in:
Po-Chuan Hsieh 2023-03-22 02:45:23 +08:00
parent 97f2cef7dc
commit bbb253487a
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
2 changed files with 4 additions and 8 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= pytz-deprecation-shim
PORTVERSION= 0.1.0.post0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,10 +12,12 @@ WWW= https://github.com/pganssle/pytz-deprecation-shim
LICENSE= APACHE20
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=40.8.0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tzdata>=0:devel/py-tzdata@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
@ -25,7 +27,4 @@ NO_ARCH= yes
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.zoneinfo>=0:devel/py-backports.zoneinfo@${PY_FLAVOR}
.endif
post-patch:
@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
.include <bsd.port.post.mk>

View file

@ -1,3 +0,0 @@
from setuptools import setup
setup()