pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-test4 py-test4: updated to 4.6.11
details: https://anonhg.NetBSD.org/pkgsrc/rev/ba396317ad83
branches: trunk
changeset: 386601:ba396317ad83
user: adam <adam%pkgsrc.org@localhost>
date: Tue Oct 11 11:52:44 2022 +0000
description:
py-test4: updated to 4.6.11
pytest 4.6.11 (2020-06-04)
==========================
Bug Fixes
---------
- Fix summary entries appearing twice when ``f/F`` and ``s/S`` report chars were used at the same time in the ``-r`` command-line option (for example ``-rFf``).
The upper case variants were never documented and the preferred form should be the lower case.
- Fix ``UnboundLocalError: local variable 'letter' referenced before
assignment`` in ``_pytest.terminal.pytest_report_teststatus()``
when plugins return report objects in an unconventional state.
This was making ``pytest_report_teststatus()`` skip
entering if-block branches that declare the ``letter`` variable.
The fix was to set the initial value of the ``letter`` before
the if-block cascade so that it always has a value.
diffstat:
devel/py-test4/Makefile | 15 +++++++--------
devel/py-test4/distinfo | 8 ++++----
2 files changed, 11 insertions(+), 12 deletions(-)
diffs (61 lines):
diff -r c474f53f86e0 -r ba396317ad83 devel/py-test4/Makefile
--- a/devel/py-test4/Makefile Tue Oct 11 11:51:54 2022 +0000
+++ b/devel/py-test4/Makefile Tue Oct 11 11:52:44 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2022/07/13 19:14:16 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2022/10/11 11:52:44 adam Exp $
-DISTNAME= pytest-4.6.10
+DISTNAME= pytest-4.6.11
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION= 2
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest/}
@@ -20,7 +19,7 @@
DEPENDS+= ${PYPKGPREFIX}-more-itertools-[0-9]*:../../devel/py-more-itertools2
DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging2
DEPENDS+= ${PYPKGPREFIX}-pathlib2>=2.2.0:../../devel/py-pathlib2
-DEPENDS+= ${PYPKGPREFIX}-pluggy>=0.12:../../devel/py-pluggy
+DEPENDS+= ${PYPKGPREFIX}-pluggy>=0.12:../../devel/py27-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
@@ -31,12 +30,12 @@
# does not support python 2.7
#TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
-PYTHON_VERSIONS_ACCEPTED= 27
+USE_LANGUAGES= # none
+USE_TOOLS+= bash:build
USE_PKG_RESOURCES= yes
-USE_LANGUAGES= # none
-USE_TOOLS+= bash:build
+PYTHON_VERSIONS_ACCEPTED= 27
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
@@ -44,7 +43,7 @@
${MV} pytest pytest-${PYVERSSUFFIX} || ${TRUE}
do-test:
- cd ${WRKSRC}/testing && pytest-${PYVERSSUFFIX}
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} testing
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r c474f53f86e0 -r ba396317ad83 devel/py-test4/distinfo
--- a/devel/py-test4/distinfo Tue Oct 11 11:51:54 2022 +0000
+++ b/devel/py-test4/distinfo Tue Oct 11 11:52:44 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:19:10 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/10/11 11:52:44 adam Exp $
-BLAKE2s (pytest-4.6.10.tar.gz) = 1333913a962023795fe80c87e53a8ee088c49205f06d9599394282521fab48d7
-SHA512 (pytest-4.6.10.tar.gz) = 73668967f6568654cdf92e260ada79d9685fcfc30967499709caeb12527e39a9e886f057c4c73e8a39125c0fbfcd674d905b7023402ce0ab9e836aa77d3888cb
-Size (pytest-4.6.10.tar.gz) = 951516 bytes
+BLAKE2s (pytest-4.6.11.tar.gz) = f252058479aac517794aa5fe7e6a417fa794b0e5cde829a9fd526758d37f8f95
+SHA512 (pytest-4.6.11.tar.gz) = 6fddf4944bd9fab83024aa2d338d54aaf3d164bd5c7f634357376f3b0d2dab6a43d784e7fb567236c2d2f029151c5d9e2cb36c22e9b551c2c8823c52a2246e9c
+Size (pytest-4.6.11.tar.gz) = 952305 bytes
Home |
Main Index |
Thread Index |
Old Index