mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.
28 lines
686 B
Makefile
28 lines
686 B
Makefile
PORTNAME= coverage
|
|
PORTVERSION= 7.6.10
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= lwhsu@FreeBSD.org
|
|
COMMENT= Code coverage measurement for Python
|
|
WWW= https://coverage.readthedocs.io/
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
OPTIONS_DEFINE= TOML
|
|
OPTIONS_DEFAULT=TOML
|
|
TOML_DESC= Enable pyproject.toml support
|
|
|
|
TOML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR}
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/coverage/tracer*.so
|
|
|
|
.include <bsd.port.mk>
|