freebsd-ports/devel/py-cov-core/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

27 lines
659 B
Makefile

# Created by: Fukang Chen <loader@FreeBSD.org>
# $FreeBSD$
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
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>