pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: adam
Date: Sat May 16 07:51:58 UTC 2020
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/py-test4: ALTERNATIVES DESCR Makefile PLIST distinfo
Log Message:
py-test4: added version 4.6.10
pytest 4.6.10:
Features
- New ``Config.invocation_args`` attribute containing the unchanged arguments passed to ``pytest.main()``.
Remark: while this is technically a new feature and according to our `policy <https://docs.pytest.org/en/latest/py27-py34-deprecation.html#what-goes-into-4-6-x-releases>`_ it should not have been
backported, we have opened an exception in this particular case because it fixes a serious interaction with ``pytest-xdist``, so it can also be considered a bugfix.
Trivial/Internal Changes
- Remove usage of ``parser`` module, deprecated in Python 3.9.
pytest 4.6.9:
Bug Fixes
- Fix assertion rewriting for egg-based distributions and ``editable`` installs (``pip install --editable``).
pytest 4.6.8:
Features
- JUnit XML now includes a timestamp and hostname in the testsuite tag.
Bug Fixes
- junitxml: Logs for failed test are now passed to junit report in case the test fails during call phase.
Trivial/Internal Changes
- Pin ``colorama`` to ``0.4.1`` only for Python 3.4 so newer Python versions can still receive colorama updates.
pytest 4.6.7:
Bug Fixes
- The XML file produced by ``--junitxml`` now correctly contain a ``<testsuites>`` root element.
- Properly ignore ``FileNotFoundError`` (``OSError.errno == NOENT`` in Python 2) exceptions when trying to remove old temporary directories,
for instance when multiple processes try to remove the same directory (common with ``pytest-xdist``
for example).
To generate a diff of this commit:
cvs rdiff -u -r1.3125 -r1.3126 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-test4/ALTERNATIVES \
pkgsrc/devel/py-test4/DESCR pkgsrc/devel/py-test4/Makefile \
pkgsrc/devel/py-test4/PLIST pkgsrc/devel/py-test4/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3125 pkgsrc/devel/Makefile:1.3126
--- pkgsrc/devel/Makefile:1.3125 Fri May 15 11:37:00 2020
+++ pkgsrc/devel/Makefile Sat May 16 07:51:58 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3125 2020/05/15 11:37:00 nia Exp $
+# $NetBSD: Makefile,v 1.3126 2020/05/16 07:51:58 adam Exp $
#
COMMENT= Development utilities
@@ -2554,7 +2554,7 @@ SUBDIR+= py-test-virtualenv
SUBDIR+= py-test-watch
SUBDIR+= py-test-xdist
SUBDIR+= py-test-xprocess
-SUBDIR+= py-test5
+SUBDIR+= py-test4
SUBDIR+= py-testpath
SUBDIR+= py-testrepository
SUBDIR+= py-testresources
Added files:
Index: pkgsrc/devel/py-test4/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-test4/ALTERNATIVES:1.1
--- /dev/null Sat May 16 07:51:58 2020
+++ pkgsrc/devel/py-test4/ALTERNATIVES Sat May 16 07:51:58 2020
@@ -0,0 +1,2 @@
+bin/py.test @PREFIX@/bin/py.test-@PYVERSSUFFIX@
+bin/pytest @PREFIX@/bin/pytest-@PYVERSSUFFIX@
Index: pkgsrc/devel/py-test4/DESCR
diff -u /dev/null pkgsrc/devel/py-test4/DESCR:1.1
--- /dev/null Sat May 16 07:51:58 2020
+++ pkgsrc/devel/py-test4/DESCR Sat May 16 07:51:58 2020
@@ -0,0 +1,12 @@
+The pytest framework makes it easy to write small tests, yet scales to support
+complex functional testing for applications and libraries.
+
+Features
+* Detailed info on failing assert statements (no need to remember self.assert*
+ names);
+* Auto-discovery of test modules and functions;
+* Modular fixtures for managing small or parametrized long-lived test
+ resources;
+* Can run unittest (including trial) and nose test suites out of the box;
+* Rich plugin architecture, with over 315+ external plugins and thriving
+ community;
Index: pkgsrc/devel/py-test4/Makefile
diff -u /dev/null pkgsrc/devel/py-test4/Makefile:1.1
--- /dev/null Sat May 16 07:51:58 2020
+++ pkgsrc/devel/py-test4/Makefile Sat May 16 07:51:58 2020
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.1 2020/05/16 07:51:58 adam Exp $
+
+DISTNAME= pytest-4.6.10
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://pytest.org/
+COMMENT= Python testing tool
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-atomicwrites>=1.0:../../devel/py-atomicwrites
+DEPENDS+= ${PYPKGPREFIX}-attrs>=17.4.0:../../devel/py-attrs
+DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
+DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
+DEPENDS+= ${PYPKGPREFIX}-pluggy>=0.12:../../devel/py-pluggy
+DEPENDS+= ${PYPKGPREFIX}-py>=1.5.0:../../devel/py-py
+DEPENDS+= ${PYPKGPREFIX}-six>=1.10.0:../../lang/py-six
+DEPENDS+= ${PYPKGPREFIX}-wcwidth-[0-9]*:../../devel/py-wcwidth
+BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+TEST_DEPENDS+= ${PYPKGPREFIX}-argcomplete-[0-9]*:../../devel/py-argcomplete
+TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=3.56:../../devel/py-hypothesis
+TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 27
+DEPENDS+= ${PYPKGPREFIX}-funcsigs>=1.0:../../devel/py-funcsigs
+DEPENDS+= ${PYPKGPREFIX}-pathlib2>=2.2.0:../../devel/py-pathlib2
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+.endif
+.if ${_PYTHON_VERSION} < 38
+DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=0.12:../../devel/py-importlib-metadata
+.endif
+
+PYTHON_VERSIONED_DEPENDENCIES+= more-itertools
+
+USE_LANGUAGES= # none
+USE_TOOLS+= bash:build
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} py.test py.test-${PYVERSSUFFIX} && \
+ ${MV} pytest pytest-${PYVERSSUFFIX} || ${TRUE}
+
+do-test:
+ cd ${WRKSRC}/testing && pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-test4/PLIST
diff -u /dev/null pkgsrc/devel/py-test4/PLIST:1.1
--- /dev/null Sat May 16 07:51:58 2020
+++ pkgsrc/devel/py-test4/PLIST Sat May 16 07:51:58 2020
@@ -0,0 +1,181 @@
+@comment $NetBSD: PLIST,v 1.1 2020/05/16 07:51:58 adam Exp $
+bin/py.test-${PYVERSSUFFIX}
+bin/pytest-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/_pytest/__init__.py
+${PYSITELIB}/_pytest/__init__.pyc
+${PYSITELIB}/_pytest/__init__.pyo
+${PYSITELIB}/_pytest/_argcomplete.py
+${PYSITELIB}/_pytest/_argcomplete.pyc
+${PYSITELIB}/_pytest/_argcomplete.pyo
+${PYSITELIB}/_pytest/_code/__init__.py
+${PYSITELIB}/_pytest/_code/__init__.pyc
+${PYSITELIB}/_pytest/_code/__init__.pyo
+${PYSITELIB}/_pytest/_code/_py2traceback.py
+${PYSITELIB}/_pytest/_code/_py2traceback.pyc
+${PYSITELIB}/_pytest/_code/_py2traceback.pyo
+${PYSITELIB}/_pytest/_code/code.py
+${PYSITELIB}/_pytest/_code/code.pyc
+${PYSITELIB}/_pytest/_code/code.pyo
+${PYSITELIB}/_pytest/_code/source.py
+${PYSITELIB}/_pytest/_code/source.pyc
+${PYSITELIB}/_pytest/_code/source.pyo
+${PYSITELIB}/_pytest/_io/__init__.py
+${PYSITELIB}/_pytest/_io/__init__.pyc
+${PYSITELIB}/_pytest/_io/__init__.pyo
+${PYSITELIB}/_pytest/_io/saferepr.py
+${PYSITELIB}/_pytest/_io/saferepr.pyc
+${PYSITELIB}/_pytest/_io/saferepr.pyo
+${PYSITELIB}/_pytest/_version.py
+${PYSITELIB}/_pytest/_version.pyc
+${PYSITELIB}/_pytest/_version.pyo
+${PYSITELIB}/_pytest/assertion/__init__.py
+${PYSITELIB}/_pytest/assertion/__init__.pyc
+${PYSITELIB}/_pytest/assertion/__init__.pyo
+${PYSITELIB}/_pytest/assertion/rewrite.py
+${PYSITELIB}/_pytest/assertion/rewrite.pyc
+${PYSITELIB}/_pytest/assertion/rewrite.pyo
+${PYSITELIB}/_pytest/assertion/truncate.py
+${PYSITELIB}/_pytest/assertion/truncate.pyc
+${PYSITELIB}/_pytest/assertion/truncate.pyo
+${PYSITELIB}/_pytest/assertion/util.py
+${PYSITELIB}/_pytest/assertion/util.pyc
+${PYSITELIB}/_pytest/assertion/util.pyo
+${PYSITELIB}/_pytest/cacheprovider.py
+${PYSITELIB}/_pytest/cacheprovider.pyc
+${PYSITELIB}/_pytest/cacheprovider.pyo
+${PYSITELIB}/_pytest/capture.py
+${PYSITELIB}/_pytest/capture.pyc
+${PYSITELIB}/_pytest/capture.pyo
+${PYSITELIB}/_pytest/compat.py
+${PYSITELIB}/_pytest/compat.pyc
+${PYSITELIB}/_pytest/compat.pyo
+${PYSITELIB}/_pytest/config/__init__.py
+${PYSITELIB}/_pytest/config/__init__.pyc
+${PYSITELIB}/_pytest/config/__init__.pyo
+${PYSITELIB}/_pytest/config/argparsing.py
+${PYSITELIB}/_pytest/config/argparsing.pyc
+${PYSITELIB}/_pytest/config/argparsing.pyo
+${PYSITELIB}/_pytest/config/exceptions.py
+${PYSITELIB}/_pytest/config/exceptions.pyc
+${PYSITELIB}/_pytest/config/exceptions.pyo
+${PYSITELIB}/_pytest/config/findpaths.py
+${PYSITELIB}/_pytest/config/findpaths.pyc
+${PYSITELIB}/_pytest/config/findpaths.pyo
+${PYSITELIB}/_pytest/debugging.py
+${PYSITELIB}/_pytest/debugging.pyc
+${PYSITELIB}/_pytest/debugging.pyo
+${PYSITELIB}/_pytest/deprecated.py
+${PYSITELIB}/_pytest/deprecated.pyc
+${PYSITELIB}/_pytest/deprecated.pyo
+${PYSITELIB}/_pytest/doctest.py
+${PYSITELIB}/_pytest/doctest.pyc
+${PYSITELIB}/_pytest/doctest.pyo
+${PYSITELIB}/_pytest/fixtures.py
+${PYSITELIB}/_pytest/fixtures.pyc
+${PYSITELIB}/_pytest/fixtures.pyo
+${PYSITELIB}/_pytest/freeze_support.py
+${PYSITELIB}/_pytest/freeze_support.pyc
+${PYSITELIB}/_pytest/freeze_support.pyo
+${PYSITELIB}/_pytest/helpconfig.py
+${PYSITELIB}/_pytest/helpconfig.pyc
+${PYSITELIB}/_pytest/helpconfig.pyo
+${PYSITELIB}/_pytest/hookspec.py
+${PYSITELIB}/_pytest/hookspec.pyc
+${PYSITELIB}/_pytest/hookspec.pyo
+${PYSITELIB}/_pytest/junitxml.py
+${PYSITELIB}/_pytest/junitxml.pyc
+${PYSITELIB}/_pytest/junitxml.pyo
+${PYSITELIB}/_pytest/logging.py
+${PYSITELIB}/_pytest/logging.pyc
+${PYSITELIB}/_pytest/logging.pyo
+${PYSITELIB}/_pytest/main.py
+${PYSITELIB}/_pytest/main.pyc
+${PYSITELIB}/_pytest/main.pyo
+${PYSITELIB}/_pytest/mark/__init__.py
+${PYSITELIB}/_pytest/mark/__init__.pyc
+${PYSITELIB}/_pytest/mark/__init__.pyo
+${PYSITELIB}/_pytest/mark/evaluate.py
+${PYSITELIB}/_pytest/mark/evaluate.pyc
+${PYSITELIB}/_pytest/mark/evaluate.pyo
+${PYSITELIB}/_pytest/mark/legacy.py
+${PYSITELIB}/_pytest/mark/legacy.pyc
+${PYSITELIB}/_pytest/mark/legacy.pyo
+${PYSITELIB}/_pytest/mark/structures.py
+${PYSITELIB}/_pytest/mark/structures.pyc
+${PYSITELIB}/_pytest/mark/structures.pyo
+${PYSITELIB}/_pytest/monkeypatch.py
+${PYSITELIB}/_pytest/monkeypatch.pyc
+${PYSITELIB}/_pytest/monkeypatch.pyo
+${PYSITELIB}/_pytest/nodes.py
+${PYSITELIB}/_pytest/nodes.pyc
+${PYSITELIB}/_pytest/nodes.pyo
+${PYSITELIB}/_pytest/nose.py
+${PYSITELIB}/_pytest/nose.pyc
+${PYSITELIB}/_pytest/nose.pyo
+${PYSITELIB}/_pytest/outcomes.py
+${PYSITELIB}/_pytest/outcomes.pyc
+${PYSITELIB}/_pytest/outcomes.pyo
+${PYSITELIB}/_pytest/pastebin.py
+${PYSITELIB}/_pytest/pastebin.pyc
+${PYSITELIB}/_pytest/pastebin.pyo
+${PYSITELIB}/_pytest/pathlib.py
+${PYSITELIB}/_pytest/pathlib.pyc
+${PYSITELIB}/_pytest/pathlib.pyo
+${PYSITELIB}/_pytest/pytester.py
+${PYSITELIB}/_pytest/pytester.pyc
+${PYSITELIB}/_pytest/pytester.pyo
+${PYSITELIB}/_pytest/python.py
+${PYSITELIB}/_pytest/python.pyc
+${PYSITELIB}/_pytest/python.pyo
+${PYSITELIB}/_pytest/python_api.py
+${PYSITELIB}/_pytest/python_api.pyc
+${PYSITELIB}/_pytest/python_api.pyo
+${PYSITELIB}/_pytest/recwarn.py
+${PYSITELIB}/_pytest/recwarn.pyc
+${PYSITELIB}/_pytest/recwarn.pyo
+${PYSITELIB}/_pytest/reports.py
+${PYSITELIB}/_pytest/reports.pyc
+${PYSITELIB}/_pytest/reports.pyo
+${PYSITELIB}/_pytest/resultlog.py
+${PYSITELIB}/_pytest/resultlog.pyc
+${PYSITELIB}/_pytest/resultlog.pyo
+${PYSITELIB}/_pytest/runner.py
+${PYSITELIB}/_pytest/runner.pyc
+${PYSITELIB}/_pytest/runner.pyo
+${PYSITELIB}/_pytest/setuponly.py
+${PYSITELIB}/_pytest/setuponly.pyc
+${PYSITELIB}/_pytest/setuponly.pyo
+${PYSITELIB}/_pytest/setupplan.py
+${PYSITELIB}/_pytest/setupplan.pyc
+${PYSITELIB}/_pytest/setupplan.pyo
+${PYSITELIB}/_pytest/skipping.py
+${PYSITELIB}/_pytest/skipping.pyc
+${PYSITELIB}/_pytest/skipping.pyo
+${PYSITELIB}/_pytest/stepwise.py
+${PYSITELIB}/_pytest/stepwise.pyc
+${PYSITELIB}/_pytest/stepwise.pyo
+${PYSITELIB}/_pytest/terminal.py
+${PYSITELIB}/_pytest/terminal.pyc
+${PYSITELIB}/_pytest/terminal.pyo
+${PYSITELIB}/_pytest/tmpdir.py
+${PYSITELIB}/_pytest/tmpdir.pyc
+${PYSITELIB}/_pytest/tmpdir.pyo
+${PYSITELIB}/_pytest/unittest.py
+${PYSITELIB}/_pytest/unittest.pyc
+${PYSITELIB}/_pytest/unittest.pyo
+${PYSITELIB}/_pytest/warning_types.py
+${PYSITELIB}/_pytest/warning_types.pyc
+${PYSITELIB}/_pytest/warning_types.pyo
+${PYSITELIB}/_pytest/warnings.py
+${PYSITELIB}/_pytest/warnings.pyc
+${PYSITELIB}/_pytest/warnings.pyo
+${PYSITELIB}/pytest.py
+${PYSITELIB}/pytest.pyc
+${PYSITELIB}/pytest.pyo
Index: pkgsrc/devel/py-test4/distinfo
diff -u /dev/null pkgsrc/devel/py-test4/distinfo:1.1
--- /dev/null Sat May 16 07:51:58 2020
+++ pkgsrc/devel/py-test4/distinfo Sat May 16 07:51:58 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/05/16 07:51:58 adam Exp $
+
+SHA1 (pytest-4.6.10.tar.gz) = 93384000ec4e04500b97cba18a2fdb193b07f7eb
+RMD160 (pytest-4.6.10.tar.gz) = 6110c442e2d919076837b3197b6934e9faac05e0
+SHA512 (pytest-4.6.10.tar.gz) = 73668967f6568654cdf92e260ada79d9685fcfc30967499709caeb12527e39a9e886f057c4c73e8a39125c0fbfcd674d905b7023402ce0ab9e836aa77d3888cb
+Size (pytest-4.6.10.tar.gz) = 951516 bytes
Home |
Main Index |
Thread Index |
Old Index