Sat Apr 11 07:34:00 2020 UTC ()
py-testtools: updated to 2.4.0

2.4.0:
Improvements
* Add support for Python 3.7, 3.8 and PyPy3.
* Drop support for Python 3.4 (EOL).
* Avoid using eval().
* PyCharm IDE unittest detection compatibility fix.
* Drop support for Python 3.3 (EOL).
* Spelling fixes.
* Python 3.6 invalid escape sequence deprecation fixes.


(adam)
diff -r1.19 -r1.20 pkgsrc/devel/py-testtools/Makefile
diff -r1.12 -r1.13 pkgsrc/devel/py-testtools/distinfo

cvs diff -r1.19 -r1.20 pkgsrc/devel/py-testtools/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-testtools/Makefile 2019/06/14 08:13:14 1.19
+++ pkgsrc/devel/py-testtools/Makefile 2020/04/11 07:34:00 1.20
@@ -1,30 +1,31 @@ @@ -1,30 +1,31 @@
1# $NetBSD: Makefile,v 1.19 2019/06/14 08:13:14 wiz Exp $ 1# $NetBSD: Makefile,v 1.20 2020/04/11 07:34:00 adam Exp $
2 2
3DISTNAME= testtools-2.3.0 3DISTNAME= testtools-2.4.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=t/testtools/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=t/testtools/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/testing-cabal/testtools 9HOMEPAGE= https://github.com/testing-cabal/testtools
10COMMENT= Extensions to the Python standard library unit testing framework 10COMMENT= Extensions to the Python standard library unit testing framework
11LICENSE= mit AND python-software-foundation 11LICENSE= mit AND python-software-foundation
12 12
13DEPENDS+= ${PYPKGPREFIX}-extras>=1.0.0:../../devel/py-extras 13DEPENDS+= ${PYPKGPREFIX}-extras>=1.0.0:../../devel/py-extras
14DEPENDS+= ${PYPKGPREFIX}-fixtures>=1.3.0:../../devel/py-fixtures 14DEPENDS+= ${PYPKGPREFIX}-fixtures>=1.3.0:../../devel/py-fixtures
15DEPENDS+= ${PYPKGPREFIX}-python-mimeparse-[0-9]*:../../www/py-python-mimeparse 15DEPENDS+= ${PYPKGPREFIX}-python-mimeparse-[0-9]*:../../www/py-python-mimeparse
16DEPENDS+= ${PYPKGPREFIX}-unittest2>=0.8.0:../../devel/py-unittest2 16DEPENDS+= ${PYPKGPREFIX}-unittest2>=0.8.0:../../devel/py-unittest2
17 17
18# 2 failures as of 2.3.0 18# 2 failures as of 2.3.0
19# https://github.com/testing-cabal/testtools/issues/253 19# https://github.com/testing-cabal/testtools/issues/253
20# circular test dependency 20# circular test dependency
21# https://github.com/testing-cabal/testscenarios/issues/4 21# https://github.com/testing-cabal/testscenarios/issues/4
 22#TEST_DEPENDS+= ${PYPKGPREFIX}-testresources-[0-9]*:../../devel/py-testresources
22#TEST_DEPENDS+= ${PYPKGPREFIX}-testscenarios-[0-9]*:../../devel/py-testscenarios 23#TEST_DEPENDS+= ${PYPKGPREFIX}-testscenarios-[0-9]*:../../devel/py-testscenarios
23 24
24USE_LANGUAGES= # none 25USE_LANGUAGES= # none
25 26
26do-test: 27do-test:
27 cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} PYTHONPATH=${PWD} ${PYTHONBIN} -m testtools.run testtools.tests.test_suite 28 cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} PYTHONPATH=${PWD} ${PYTHONBIN} -m testtools.run testtools.tests.test_suite
28 29
29.include "../../lang/python/egg.mk" 30.include "../../lang/python/egg.mk"
30.include "../../mk/bsd.pkg.mk" 31.include "../../mk/bsd.pkg.mk"

cvs diff -r1.12 -r1.13 pkgsrc/devel/py-testtools/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-testtools/distinfo 2017/05/21 06:45:39 1.12
+++ pkgsrc/devel/py-testtools/distinfo 2020/04/11 07:34:00 1.13
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.12 2017/05/21 06:45:39 adam Exp $ 1$NetBSD: distinfo,v 1.13 2020/04/11 07:34:00 adam Exp $
2 2
3SHA1 (testtools-2.3.0.tar.gz) = 5c5bbe2c1bc52077e6debafbc3a8a695d986dbad 3SHA1 (testtools-2.4.0.tar.gz) = 8bda1ce51500bb55593eb094bf5bc2d6a4bc36e8
4RMD160 (testtools-2.3.0.tar.gz) = bd9c1f31612d7dc7c9fb1bc657167ef1109cec02 4RMD160 (testtools-2.4.0.tar.gz) = 91e9bd3367f7bc1192938b5647b7c17e275d8b13
5SHA512 (testtools-2.3.0.tar.gz) = 558fe6a1bdce7215f9f6f178f469a2b76948dc7ff0ce27400482a16683474edb81d9bf90ae48b6fcb8df9eb70759341b694aa162ed3d9d4abd372981cdcd8a64 5SHA512 (testtools-2.4.0.tar.gz) = af26e163a4caeb207a554b19f86c7892ab5ebe904c144d85273464e880cd18a991c70a77ff817aefb15768fa38f382e9ed853cdefb212dc697b24072e17535c0
6Size (testtools-2.3.0.tar.gz) = 231559 bytes 6Size (testtools-2.4.0.tar.gz) = 233032 bytes