35 lines
776 B
Makefile
35 lines
776 B
Makefile
COMMENT = pytest plugin for measuring coverage
|
|
|
|
MODPY_EGG_VERSION = 4.0.0
|
|
DISTNAME = pytest-cov-${MODPY_EGG_VERSION}
|
|
PKGNAME = ${DISTNAME:S/py/py-/}
|
|
CATEGORIES = devel
|
|
REVISION = 0
|
|
|
|
HOMEPAGE = https://pytest-cov.readthedocs.org/en/latest/
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_PYBUILD = setuptools
|
|
MODPY_PYTEST_ARGS = -v
|
|
|
|
FLAVORS = python3
|
|
FLAVOR = python3
|
|
|
|
RUN_DEPENDS = devel/py-coverage${MODPY_FLAVOR} \
|
|
devel/py-test${MODPY_FLAVOR} \
|
|
textproc/py-tomli${MODPY_FLAVOR}
|
|
|
|
TEST_DEPENDS = devel/py-fields${MODPY_FLAVOR} \
|
|
devel/py-process-tests${MODPY_FLAVOR} \
|
|
devel/py-test-xdist${MODPY_FLAVOR} \
|
|
devel/py-six${MODPY_FLAVOR} \
|
|
devel/py-virtualenv${MODPY_FLAVOR}
|
|
# also wants py-hunter?
|
|
|
|
.include <bsd.port.mk>
|