Fri Apr 14 07:13:51 2017 UTC ()
BUILD_DEPEND on setuptools_scm for joerg.


(wiz)
diff -r1.2 -r1.3 pkgsrc/devel/py-test-mock/Makefile

cvs diff -r1.2 -r1.3 pkgsrc/devel/py-test-mock/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-test-mock/Makefile 2017/04/05 11:18:32 1.2
+++ pkgsrc/devel/py-test-mock/Makefile 2017/04/14 07:13:51 1.3
@@ -1,27 +1,28 @@ @@ -1,27 +1,28 @@
1# $NetBSD: Makefile,v 1.2 2017/04/05 11:18:32 wiz Exp $ 1# $NetBSD: Makefile,v 1.3 2017/04/14 07:13:51 wiz Exp $
2 2
3DISTNAME= pytest-mock-1.6.0 3DISTNAME= pytest-mock-1.6.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
5PKGREVISION= 1 5PKGREVISION= 1
6CATEGORIES= devel 6CATEGORIES= devel
7MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-mock/} 7MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-mock/}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://pypi.python.org/pypi/pytest-mock 10HOMEPAGE= https://pypi.python.org/pypi/pytest-mock
11COMMENT= Thin-wrapper around the mock package for easier use with py.test 11COMMENT= Thin-wrapper around the mock package for easier use with py.test
12LICENSE= mit 12LICENSE= mit
13 13
14DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test 14DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 15BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
15 16
16.include "../../lang/python/pyversion.mk" 17.include "../../lang/python/pyversion.mk"
17 18
18.if ${PYVERSSUFFIX} == "2.7" 19.if ${PYVERSSUFFIX} == "2.7"
19DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock 20DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
20.endif 21.endif
21 22
22# needs to be installed first 23# needs to be installed first
23do-test: 24do-test:
24 cd ${WRKSRC} && py.test-${PYVERSSUFFIX} 25 cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
25 26
26.include "../../lang/python/egg.mk" 27.include "../../lang/python/egg.mk"
27.include "../../mk/bsd.pkg.mk" 28.include "../../mk/bsd.pkg.mk"