Wed May 2 07:33:45 2018 UTC ()
py-test-mock: updated to 1.10.0

1.10.0:
Add support for the recently added assert_called method in Python 3.6 and mock-2.0.


(adam)
diff -r1.9 -r1.10 pkgsrc/devel/py-test-mock/Makefile
diff -r1.7 -r1.8 pkgsrc/devel/py-test-mock/distinfo

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

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

cvs diff -r1.7 -r1.8 pkgsrc/devel/py-test-mock/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-test-mock/distinfo 2018/04/11 19:51:41 1.7
+++ pkgsrc/devel/py-test-mock/distinfo 2018/05/02 07:33:45 1.8
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.7 2018/04/11 19:51:41 adam Exp $ 1$NetBSD: distinfo,v 1.8 2018/05/02 07:33:45 adam Exp $
2 2
3SHA1 (pytest-mock-1.9.0.tar.gz) = 59baa0f036a4d81300199c5400d54274a23d6b49 3SHA1 (pytest-mock-1.10.0.tar.gz) = edecf32a6b8cf1b2c68baae250cca587692a6d79
4RMD160 (pytest-mock-1.9.0.tar.gz) = cce02b40342d5c8d32627ee047d195b673056e37 4RMD160 (pytest-mock-1.10.0.tar.gz) = 9ab751d71f42dd813614a1e9fff702f9484bd20c
5SHA512 (pytest-mock-1.9.0.tar.gz) = b3e2d2cf9229d170ee5d9d636aaf9aa663baf02fdd38ac1bbffc6d9b5835f7be70152ffc8aa36fd1fc62ee533a9310c0951bc961a74b4618b58937c2d26176d6 5SHA512 (pytest-mock-1.10.0.tar.gz) = b8afba13da3e598b6493459298e395c0ecc06538733916659191bd5c5c22f40b0e296853ad940c16a6d492fcf46b2daf490ee589661d391e2c7cd1deb84da756
6Size (pytest-mock-1.9.0.tar.gz) = 20707 bytes 6Size (pytest-mock-1.10.0.tar.gz) = 20754 bytes