pkgsrc/devel/py-coverage/Makefile
adam d07e0e6a97 py-coverage: updated to 4.5.1
Version 4.5.1:

- Now that 4.5 properly separated the [run] omit and [report] omit
  settings, an old bug has become apparent.  If you specified a package name
  for [run] source, then omit patterns weren't matched inside that package.
  This bug (issue 638_) is now fixed.

- On Python 3.7, reporting about a decorated function with no body other than a
  docstring would crash coverage.py with an IndexError (issue 640_).  This is
  now fixed.

- Configurer plugins are now reported in the output of --debug=sys.
2018-02-12 08:06:56 +00:00

27 lines
880 B
Makefile

# $NetBSD: Makefile,v 1.15 2018/02/12 08:06:56 adam Exp $
DISTNAME= coverage-4.5.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/coverage/}
MAINTAINER= kamel.derouiche@gmail.com
HOMEPAGE= http://nedbatchelder.com/code/coverage/
COMMENT= Python module that measures code coverage for Python
LICENSE= modified-bsd
BUILD_DEPENDS+= ${PYPKGPREFIX}-greenlet-[0-9]*:../../devel/py-greenlet
BUILD_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
BUILD_DEPENDS+= ${PYPKGPREFIX}-unittest-mixins>=1.4:../../devel/py-unittest-mixins
USE_LANGUAGES= c
post-install:
${RM} -f ${DESTDIR}${PREFIX}/bin/coverage ${DESTDIR}${PREFIX}/bin/coverage[23]
do-test:
cd ${WRKSRC} && nosetests-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"