pkgsrc/devel/py-mock/Makefile
2017-09-04 18:08:18 +00:00

26 lines
686 B
Makefile

# $NetBSD: Makefile,v 1.14 2017/09/04 18:08:21 wiz Exp $
DISTNAME= mock-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_PYPI:=m/mock/}
MAINTAINER= gdt@ir.bbn.com
HOMEPAGE= https://pypi.python.org/pypi/mock
COMMENT= Python testing framework
LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-pbr>=0.11:../../devel/py-pbr
DEPENDS+= ${PYPKGPREFIX}-six>=1.7:../../lang/py-six
BUILD_DEPENDS+= ${PYPKGPREFIX}-unittest2-[0-9]*:../../devel/py-unittest2
.include "../../lang/python/egg.mk"
.if ${_PYTHON_VERSION} < 33
DEPENDS+= ${PYPKGPREFIX}-funcsigs>=1:../../devel/py-funcsigs
.endif
USE_LANGUAGES= # none
.include "../../mk/bsd.pkg.mk"