Index: devel/Makefile =================================================================== --- devel/Makefile +++ devel/Makefile @@ -4710,6 +4710,7 @@ SUBDIR += py-pytest-asyncio SUBDIR += py-pytest-cache SUBDIR += py-pytest-capturelog + SUBDIR += py-pytest-cov SUBDIR += py-pytest-django SUBDIR += py-pytest-localserver SUBDIR += py-pytest-mock Index: devel/py-pytest-cov/Makefile =================================================================== --- /dev/null +++ devel/py-pytest-cov/Makefile @@ -0,0 +1,22 @@ +# $FreeBSD$ + +PORTNAME= pytest-cov +PORTVERSION= 2.5.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dbaio@FreeBSD.org +COMMENT= Pytest plugin for measuring coverage + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=3.7.1:devel/py-coverage \ + ${PYTHON_PKGNAMEPREFIX}pytest>=2.6.0:devel/py-pytest + +NO_ARCH= yes +USES= python +USE_PYTHON= autoplist concurrent distutils + +.include Index: devel/py-pytest-cov/distinfo =================================================================== --- /dev/null +++ devel/py-pytest-cov/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1505266858 +SHA256 (pytest-cov-2.5.1.tar.gz) = 03aa752cf11db41d281ea1d807d954c4eda35cfa1b21d6971966cc041bbf6e2d +SIZE (pytest-cov-2.5.1.tar.gz) = 36201 Index: devel/py-pytest-cov/pkg-descr =================================================================== --- /dev/null +++ devel/py-pytest-cov/pkg-descr @@ -0,0 +1,8 @@ +This plugin produces coverage reports. It supports centralised testing and +distributed testing in both load and each modes. It also supports coverage of +subprocesses. + +All features offered by the coverage package should be available, either through +pytest-cov or through coverage's config file. + +WWW: https://github.com/pytest-dev/pytest-cov