Tue May 23 08:30:11 2017 UTC ()
Chages 3.1.0:

New Features

* The ``pytest-warnings`` plugin has been integrated into the core, so now ``pytest`` automatica
lly
  captures and displays warnings at the end of the test session.

* Added ``junit_suite_name`` ini option to specify root `<testsuite>` name for JUnit XML reports

* Added an ini option ``doctest_encoding`` to specify which encoding to use for doctest files.

* ``pytest.warns`` now checks for subclass relationship rather than
  class equality.

* ``pytest.raises`` now asserts that the error message matches a text or regex
  with the ``match`` keyword argument.

* ``pytest.param`` can be used to declare test parameter sets with marks and test ids.


(adam)
diff -r1.28 -r1.29 pkgsrc/devel/py-test/Makefile
diff -r1.5 -r1.6 pkgsrc/devel/py-test/PLIST
diff -r1.26 -r1.27 pkgsrc/devel/py-test/distinfo

cvs diff -r1.28 -r1.29 pkgsrc/devel/py-test/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-test/Makefile 2017/03/20 13:56:18 1.28
+++ pkgsrc/devel/py-test/Makefile 2017/05/23 08:30:11 1.29
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.28 2017/03/20 13:56:18 wiz Exp $ 1# $NetBSD: Makefile,v 1.29 2017/05/23 08:30:11 adam Exp $
2 2
3DISTNAME= pytest-3.0.7 3DISTNAME= pytest-3.1.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
5CATEGORIES= devel 5CATEGORIES= devel
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://pypi.python.org/pypi/pytest 9HOMEPAGE= https://pypi.python.org/pypi/pytest
10COMMENT= Python testing tool 10COMMENT= Python testing tool
11LICENSE= mit 11LICENSE= mit
12 12
13DEPENDS+= ${PYPKGPREFIX}-py>=1.4.29:../../devel/py-py 13DEPENDS+= ${PYPKGPREFIX}-py>=1.4.29:../../devel/py-py
14DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat 14DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
15# TEST_DEPENDS 15# TEST_DEPENDS
16BUILD_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml 16BUILD_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml

cvs diff -r1.5 -r1.6 pkgsrc/devel/py-test/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-test/PLIST 2016/08/22 13:26:28 1.5
+++ pkgsrc/devel/py-test/PLIST 2017/05/23 08:30:11 1.6
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.5 2016/08/22 13:26:28 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.6 2017/05/23 08:30:11 adam Exp $
2bin/py.test-${PYVERSSUFFIX} 2bin/py.test-${PYVERSSUFFIX}
3bin/pytest-${PYVERSSUFFIX} 3bin/pytest-${PYVERSSUFFIX}
4${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 4${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
5${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 5${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
6${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 6${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
7${PYSITELIB}/${EGG_INFODIR}/entry_points.txt 7${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
8${PYSITELIB}/${EGG_INFODIR}/not-zip-safe 8${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
9${PYSITELIB}/${EGG_INFODIR}/requires.txt 9${PYSITELIB}/${EGG_INFODIR}/requires.txt
10${PYSITELIB}/${EGG_INFODIR}/top_level.txt 10${PYSITELIB}/${EGG_INFODIR}/top_level.txt
11${PYSITELIB}/_pytest/__init__.py 11${PYSITELIB}/_pytest/__init__.py
12${PYSITELIB}/_pytest/__init__.pyc 12${PYSITELIB}/_pytest/__init__.pyc
13${PYSITELIB}/_pytest/__init__.pyo 13${PYSITELIB}/_pytest/__init__.pyo
14${PYSITELIB}/_pytest/_argcomplete.py 14${PYSITELIB}/_pytest/_argcomplete.py
@@ -19,32 +19,38 @@ ${PYSITELIB}/_pytest/_code/__init__.pyc @@ -19,32 +19,38 @@ ${PYSITELIB}/_pytest/_code/__init__.pyc
19${PYSITELIB}/_pytest/_code/__init__.pyo 19${PYSITELIB}/_pytest/_code/__init__.pyo
20${PYSITELIB}/_pytest/_code/_py2traceback.py 20${PYSITELIB}/_pytest/_code/_py2traceback.py
21${PYSITELIB}/_pytest/_code/_py2traceback.pyc 21${PYSITELIB}/_pytest/_code/_py2traceback.pyc
22${PYSITELIB}/_pytest/_code/_py2traceback.pyo 22${PYSITELIB}/_pytest/_code/_py2traceback.pyo
23${PYSITELIB}/_pytest/_code/code.py 23${PYSITELIB}/_pytest/_code/code.py
24${PYSITELIB}/_pytest/_code/code.pyc 24${PYSITELIB}/_pytest/_code/code.pyc
25${PYSITELIB}/_pytest/_code/code.pyo 25${PYSITELIB}/_pytest/_code/code.pyo
26${PYSITELIB}/_pytest/_code/source.py 26${PYSITELIB}/_pytest/_code/source.py
27${PYSITELIB}/_pytest/_code/source.pyc 27${PYSITELIB}/_pytest/_code/source.pyc
28${PYSITELIB}/_pytest/_code/source.pyo 28${PYSITELIB}/_pytest/_code/source.pyo
29${PYSITELIB}/_pytest/_pluggy.py 29${PYSITELIB}/_pytest/_pluggy.py
30${PYSITELIB}/_pytest/_pluggy.pyc 30${PYSITELIB}/_pytest/_pluggy.pyc
31${PYSITELIB}/_pytest/_pluggy.pyo 31${PYSITELIB}/_pytest/_pluggy.pyo
 32${PYSITELIB}/_pytest/_version.py
 33${PYSITELIB}/_pytest/_version.pyc
 34${PYSITELIB}/_pytest/_version.pyo
32${PYSITELIB}/_pytest/assertion/__init__.py 35${PYSITELIB}/_pytest/assertion/__init__.py
33${PYSITELIB}/_pytest/assertion/__init__.pyc 36${PYSITELIB}/_pytest/assertion/__init__.pyc
34${PYSITELIB}/_pytest/assertion/__init__.pyo 37${PYSITELIB}/_pytest/assertion/__init__.pyo
35${PYSITELIB}/_pytest/assertion/rewrite.py 38${PYSITELIB}/_pytest/assertion/rewrite.py
36${PYSITELIB}/_pytest/assertion/rewrite.pyc 39${PYSITELIB}/_pytest/assertion/rewrite.pyc
37${PYSITELIB}/_pytest/assertion/rewrite.pyo 40${PYSITELIB}/_pytest/assertion/rewrite.pyo
 41${PYSITELIB}/_pytest/assertion/truncate.py
 42${PYSITELIB}/_pytest/assertion/truncate.pyc
 43${PYSITELIB}/_pytest/assertion/truncate.pyo
38${PYSITELIB}/_pytest/assertion/util.py 44${PYSITELIB}/_pytest/assertion/util.py
39${PYSITELIB}/_pytest/assertion/util.pyc 45${PYSITELIB}/_pytest/assertion/util.pyc
40${PYSITELIB}/_pytest/assertion/util.pyo 46${PYSITELIB}/_pytest/assertion/util.pyo
41${PYSITELIB}/_pytest/cacheprovider.py 47${PYSITELIB}/_pytest/cacheprovider.py
42${PYSITELIB}/_pytest/cacheprovider.pyc 48${PYSITELIB}/_pytest/cacheprovider.pyc
43${PYSITELIB}/_pytest/cacheprovider.pyo 49${PYSITELIB}/_pytest/cacheprovider.pyo
44${PYSITELIB}/_pytest/capture.py 50${PYSITELIB}/_pytest/capture.py
45${PYSITELIB}/_pytest/capture.pyc 51${PYSITELIB}/_pytest/capture.pyc
46${PYSITELIB}/_pytest/capture.pyo 52${PYSITELIB}/_pytest/capture.pyo
47${PYSITELIB}/_pytest/compat.py 53${PYSITELIB}/_pytest/compat.py
48${PYSITELIB}/_pytest/compat.pyc 54${PYSITELIB}/_pytest/compat.pyc
49${PYSITELIB}/_pytest/compat.pyo 55${PYSITELIB}/_pytest/compat.pyo
50${PYSITELIB}/_pytest/config.py 56${PYSITELIB}/_pytest/config.py
@@ -118,16 +124,19 @@ ${PYSITELIB}/_pytest/terminal.pyc @@ -118,16 +124,19 @@ ${PYSITELIB}/_pytest/terminal.pyc
118${PYSITELIB}/_pytest/terminal.pyo 124${PYSITELIB}/_pytest/terminal.pyo
119${PYSITELIB}/_pytest/tmpdir.py 125${PYSITELIB}/_pytest/tmpdir.py
120${PYSITELIB}/_pytest/tmpdir.pyc 126${PYSITELIB}/_pytest/tmpdir.pyc
121${PYSITELIB}/_pytest/tmpdir.pyo 127${PYSITELIB}/_pytest/tmpdir.pyo
122${PYSITELIB}/_pytest/unittest.py 128${PYSITELIB}/_pytest/unittest.py
123${PYSITELIB}/_pytest/unittest.pyc 129${PYSITELIB}/_pytest/unittest.pyc
124${PYSITELIB}/_pytest/unittest.pyo 130${PYSITELIB}/_pytest/unittest.pyo
125${PYSITELIB}/_pytest/vendored_packages/__init__.py 131${PYSITELIB}/_pytest/vendored_packages/__init__.py
126${PYSITELIB}/_pytest/vendored_packages/__init__.pyc 132${PYSITELIB}/_pytest/vendored_packages/__init__.pyc
127${PYSITELIB}/_pytest/vendored_packages/__init__.pyo 133${PYSITELIB}/_pytest/vendored_packages/__init__.pyo
128${PYSITELIB}/_pytest/vendored_packages/pluggy.py 134${PYSITELIB}/_pytest/vendored_packages/pluggy.py
129${PYSITELIB}/_pytest/vendored_packages/pluggy.pyc 135${PYSITELIB}/_pytest/vendored_packages/pluggy.pyc
130${PYSITELIB}/_pytest/vendored_packages/pluggy.pyo 136${PYSITELIB}/_pytest/vendored_packages/pluggy.pyo
 137${PYSITELIB}/_pytest/warnings.py
 138${PYSITELIB}/_pytest/warnings.pyc
 139${PYSITELIB}/_pytest/warnings.pyo
131${PYSITELIB}/pytest.py 140${PYSITELIB}/pytest.py
132${PYSITELIB}/pytest.pyc 141${PYSITELIB}/pytest.pyc
133${PYSITELIB}/pytest.pyo 142${PYSITELIB}/pytest.pyo

cvs diff -r1.26 -r1.27 pkgsrc/devel/py-test/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-test/distinfo 2017/03/20 13:56:18 1.26
+++ pkgsrc/devel/py-test/distinfo 2017/05/23 08:30:11 1.27
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.26 2017/03/20 13:56:18 wiz Exp $ 1$NetBSD: distinfo,v 1.27 2017/05/23 08:30:11 adam Exp $
2 2
3SHA1 (pytest-3.0.7.tar.gz) = 16bba5707c14d0ffffe92cba2380cf3bdc227068 3SHA1 (pytest-3.1.0.tar.gz) = 194bb203353cd907563cce280e946cb3c441d48b
4RMD160 (pytest-3.0.7.tar.gz) = cae14d79ae284104a4df818645588347b99815cc 4RMD160 (pytest-3.1.0.tar.gz) = 397ae112e1bd4dd8f35d6fdd052882ce08e847bb
5SHA512 (pytest-3.0.7.tar.gz) = f458929614fca5bc9542b9adfe2fa5d2c5b97ec13e331d3a9caf256d2d005b3dad9c11d01b2eb62332648f90608ba297a1edc2c20b7630ec4f69114299720a2a 5SHA512 (pytest-3.1.0.tar.gz) = 07937d2bfdf3fcb97cb6480685f380b8bb4f0f681570862feb327f9654d96c095c7ca027eac929f15263b31e19fa79b28c7b87612c78aea2d697c0d7a0e792df
6Size (pytest-3.0.7.tar.gz) = 743866 bytes 6Size (pytest-3.1.0.tar.gz) = 760912 bytes