pkgsrc/devel/py-mock/Makefile

26 lines
698 B
Makefile

# $NetBSD: Makefile,v 1.15 2018/08/20 10:56:57 adam Exp $
DISTNAME= mock-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/mock/}
MAINTAINER= gdt@ir.bbn.com
HOMEPAGE= https://github.com/testing-cabal/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"