freebsd-ports/devel/py-cov-core/Makefile
2021-04-06 16:31:07 +02:00

26 lines
652 B
Makefile

# Created by: Fukang Chen <loader@FreeBSD.org>
PORTNAME= cov-core
PORTVERSION= 1.15.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= loader@FreeBSD.org
COMMENT= Plugin core for use by pytest-cov, nose-cov and nose2-cov
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=3.6:devel/py-coverage@${PY_FLAVOR}
USES= python:3.6+
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>