summaryrefslogtreecommitdiff
path: root/devel/py-mock/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-mock/Makefile')
-rw-r--r--devel/py-mock/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/devel/py-mock/Makefile b/devel/py-mock/Makefile
index 49b505bd2a2..0613eb19d09 100644
--- a/devel/py-mock/Makefile
+++ b/devel/py-mock/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2015/12/01 08:01:30 fhajny Exp $
+# $NetBSD: Makefile,v 1.10 2016/04/13 17:56:24 wiz Exp $
-DISTNAME= mock-1.3.0
+DISTNAME= mock-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://pypi.python.org/packages/source/m/mock/
@@ -11,14 +10,14 @@ HOMEPAGE= http://pypi.python.org/pypi/mock
COMMENT= Python testing framework
LICENSE= gnu-gpl-v2
-.include "../../lang/python/egg.mk"
-
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
.if ${_PYTHON_VERSION} < 33
DEPENDS+= ${PYPKGPREFIX}-funcsigs-[0-9]*:../../devel/py-funcsigs
.endif
USE_LANGUAGES= # none
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"