Wed Apr 11 19:51:41 2018 UTC ()
py-test-mock: updated to 1.9.0

1.9.0
Add support for the recently added assert_called_once method in Python 3.6 and mock-2.0.


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

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

--- pkgsrc/devel/py-test-mock/Makefile 2018/04/07 20:02:39 1.8
+++ pkgsrc/devel/py-test-mock/Makefile 2018/04/11 19:51:41 1.9
@@ -1,27 +1,27 @@ @@ -1,27 +1,27 @@
1# $NetBSD: Makefile,v 1.8 2018/04/07 20:02:39 adam Exp $ 1# $NetBSD: Makefile,v 1.9 2018/04/11 19:51:41 adam Exp $
2 2
3DISTNAME= pytest-mock-1.8.0 3DISTNAME= pytest-mock-1.9.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 22# needs to be installed first
23do-test: 23do-test:
24 cd ${WRKSRC} && py.test-${PYVERSSUFFIX} 24 cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
25 25
26.include "../../lang/python/egg.mk" 26.include "../../lang/python/egg.mk"
27.include "../../mk/bsd.pkg.mk" 27.include "../../mk/bsd.pkg.mk"

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

--- pkgsrc/devel/py-test-mock/distinfo 2018/04/07 20:02:39 1.6
+++ pkgsrc/devel/py-test-mock/distinfo 2018/04/11 19:51:41 1.7
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.6 2018/04/07 20:02:39 adam Exp $ 1$NetBSD: distinfo,v 1.7 2018/04/11 19:51:41 adam Exp $
2 2
3SHA1 (pytest-mock-1.8.0.tar.gz) = 9716ded0cc00941ab9ec25559d413bb41d87fcf8 3SHA1 (pytest-mock-1.9.0.tar.gz) = 59baa0f036a4d81300199c5400d54274a23d6b49
4RMD160 (pytest-mock-1.8.0.tar.gz) = a18c248d3f6bbaedc589351aedd52e459e755725 4RMD160 (pytest-mock-1.9.0.tar.gz) = cce02b40342d5c8d32627ee047d195b673056e37
5SHA512 (pytest-mock-1.8.0.tar.gz) = 041fb3145667d5f8d0193bd8d24add36e97d9d36a28b13ed9ea0b78194cb7932f8e6045c32a98b5a6e8dbf7c415f176650f0a17050b63aee2cff34a0cd0fc2c2 5SHA512 (pytest-mock-1.9.0.tar.gz) = b3e2d2cf9229d170ee5d9d636aaf9aa663baf02fdd38ac1bbffc6d9b5835f7be70152ffc8aa36fd1fc62ee533a9310c0951bc961a74b4618b58937c2d26176d6
6Size (pytest-mock-1.8.0.tar.gz) = 20620 bytes 6Size (pytest-mock-1.9.0.tar.gz) = 20707 bytes