summaryrefslogtreecommitdiff
path: root/devel/py-coverage/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--devel/py-coverage/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/py-coverage/Makefile b/devel/py-coverage/Makefile
index 69dccf55e7eb..0acdcd4a3a49 100644
--- a/devel/py-coverage/Makefile
+++ b/devel/py-coverage/Makefile
@@ -1,5 +1,6 @@
PORTNAME= coverage
PORTVERSION= 7.9.2
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,16 +11,18 @@ WWW= https://coverage.readthedocs.io/
LICENSE= BSD2CLAUSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
OPTIONS_DEFINE= TOML
OPTIONS_DEFAULT=TOML
TOML_DESC= Enable pyproject.toml support
-TOML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR}
+TOML_RUN_DEPENDS= ${PY_TOMLI}
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/coverage/tracer*.so