diff --git a/devel/py-statsd/Makefile b/devel/py-statsd/Makefile index ea61b7171ac6..37ea8df4c329 100644 --- a/devel/py-statsd/Makefile +++ b/devel/py-statsd/Makefile @@ -1,22 +1,23 @@ PORTNAME= statsd PORTVERSION= 4.0.1 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Simple statsd client WWW= https://github.com/jsocol/pystatsd LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.2:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -post-patch: - @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ - .include diff --git a/devel/py-statsd/files/setup.py b/devel/py-statsd/files/setup.py deleted file mode 100644 index 606849326a40..000000000000 --- a/devel/py-statsd/files/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -from setuptools import setup - -setup()