649f10f69b
- No code changes: just corrected packaging for Python 2.7 Linux wheels. Version 4.4 - Reports could produce the wrong file names for packages, reporting ``pkg.py`` instead of the correct ``pkg/__init__.py``. This is now fixed. Thanks, Dirk Thomas. - XML reports could produce ``<source>`` and ``<class>`` lines that together didn't specify a valid source file path. This is now fixed. (`issue 526`_) - Namespace packages are no longer warned as having no code. (`issue 572`_) - Code that uses ``sys.settrace(sys.gettrace())`` in a file that wasn't being coverage-measured would prevent correct coverage measurement in following code. An example of this was running doctests programmatically. This is now fixed. (`issue 575`_) - Errors printed by the ``coverage`` command now go to stderr instead of stdout. - Running ``coverage xml`` in a directory named with non-ASCII characters would fail under Python 2. This is now fixed. (`issue 573`_)
26 lines
757 B
Makefile
26 lines
757 B
Makefile
# $NetBSD: Makefile,v 1.11 2017/05/17 11:39:58 adam Exp $
|
|
|
|
DISTNAME= coverage-4.4.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}-nose-[0-9]*:../../devel/py-nose
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-greenlet-[0-9]*:../../devel/py-greenlet
|
|
|
|
USE_LANGUAGES= c
|
|
|
|
post-install:
|
|
${RM} ${DESTDIR}${PREFIX}/bin/coverage
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && nosetests-${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|