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.
26 lines
636 B
Makefile
26 lines
636 B
Makefile
PORTNAME= cov-core
|
|
PORTVERSION= 1.15.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= loader@FreeBSD.org
|
|
COMMENT= Plugin core for use by pytest-cov, nose-cov and nose2-cov
|
|
WWW= https://github.com/schlamar/cov-core
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=3.6:devel/py-coverage@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
PLIST_FILES+= ${PYTHON_SITELIBDIR}/init_cov_core.pth
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/init_cov_core.pth \
|
|
${STAGEDIR}${PYTHON_SITELIBDIR}/
|
|
|
|
.include <bsd.port.mk>
|