pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-test4
Module Name: pkgsrc
Committed By: adam
Date: Tue Oct 11 11:52:44 UTC 2022
Modified Files:
pkgsrc/devel/py-test4: Makefile distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-test4/Makefile
cvs rdiff -u -r1.3 -r1.4 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/py-test4/Makefile
diff -u pkgsrc/devel/py-test4/Makefile:1.10 pkgsrc/devel/py-test4/Makefile:1.11
--- pkgsrc/devel/py-test4/Makefile:1.10 Wed Jul 13 19:14:16 2022
+++ pkgsrc/devel/py-test4/Makefile Tue Oct 11 11:52:44 2022
@@ -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}-importlib-metad
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 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]
# 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 @@ post-install:
${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"
Index: pkgsrc/devel/py-test4/distinfo
diff -u pkgsrc/devel/py-test4/distinfo:1.3 pkgsrc/devel/py-test4/distinfo:1.4
--- pkgsrc/devel/py-test4/distinfo:1.3 Tue Oct 26 10:19:10 2021
+++ pkgsrc/devel/py-test4/distinfo Tue Oct 11 11:52:44 2022
@@ -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