diff --git a/devel/py-pytz-deprecation-shim/Makefile b/devel/py-pytz-deprecation-shim/Makefile index c47d755d6843..6e51d3f1d836 100644 --- a/devel/py-pytz-deprecation-shim/Makefile +++ b/devel/py-pytz-deprecation-shim/Makefile @@ -1,31 +1,30 @@ PORTNAME= pytz-deprecation-shim PORTVERSION= 0.1.0.post0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pytz_deprecation_shim-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Shims to make deprecation of pytz easier 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 .include .if ${PYTHON_REL} < 30900 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.zoneinfo>=0:devel/py-backports.zoneinfo@${PY_FLAVOR} .endif -post-patch: - @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ - .include diff --git a/devel/py-pytz-deprecation-shim/files/setup.py b/devel/py-pytz-deprecation-shim/files/setup.py deleted file mode 100644 index 606849326a40..000000000000 --- a/devel/py-pytz-deprecation-shim/files/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -from setuptools import setup - -setup()