# $NetBSD: Makefile,v 1.9 2016/06/08 17:43:24 wiz Exp $
DISTNAME= coverage-4.0.2
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
PLIST_SUBST= PYVERSSUFFIX=${PYVERSSUFFIX}
post-extract:
${CHMOD} +r ${WRKSRC}/coverage.egg-info/*
post-install:
${RM} ${DESTDIR}${PREFIX}/bin/coverage
do-test:
cd ${WRKSRC} && nosetests-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>