blob: db22dcf7f935b79de4aec21579f788f8ba649464 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: Makefile,v 1.28 2020/10/22 09:41:18 adam Exp $
DISTNAME= coverage-5.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/coverage/}
MAINTAINER= kamel.derouiche@gmail.com
HOMEPAGE= https://coverage.readthedocs.io/
COMMENT= Python module that measures code coverage for Python
LICENSE= modified-bsd
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
TEST_DEPENDS+= ${PYPKGPREFIX}-flaky>=3.4.0:../../devel/py-flaky
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.20.1:../../devel/py-test-xdist
TEST_DEPENDS+= ${PYPKGPREFIX}-unittest-mixins-[0-9]*:../../devel/py-unittest-mixins
PYTHON_VERSIONED_DEPENDENCIES= test:test
PYSETUPTESTTARGET= pytest
# https://github.com/nedbat/coveragepy/issues/983
CHECK_PORTABILITY_SKIP= tests/gold/html/Makefile
post-install:
${RM} -f ${DESTDIR}${PREFIX}/bin/coverage ${DESTDIR}${PREFIX}/bin/coverage[23]
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
|