pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-test py-test: updated to 4.6.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/478a4a9ce150
branches:  trunk
changeset: 403163:478a4a9ce150
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Oct 22 13:21:49 2019 +0000

description:
py-test: updated to 4.6.6

pytest 4.6.6:
Bug Fixes
* Fixed using multiple short options together in the command-line (for example -vs) in Python 3.8+.
* Replace importlib_metadata backport with importlib.metadata from the standard library on Python 3.8+.
* Fix ?lexer? being used when uploading to bpaste.net from --pastebin to ?text?.
* Fix warnings about deprecated cmp attribute in attrs>=19.2.

Trivial/Internal Changes
* Fixes python version checks (detected by flake8-2020) in case python4 becomes a thing.

diffstat:

 devel/py-test/Makefile |  10 +++++-----
 devel/py-test/distinfo |  10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (57 lines):

diff -r 74828e7c6a9a -r 478a4a9ce150 devel/py-test/Makefile
--- a/devel/py-test/Makefile    Tue Oct 22 13:20:27 2019 +0000
+++ b/devel/py-test/Makefile    Tue Oct 22 13:21:49 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.85 2019/08/22 11:06:28 adam Exp $
+# $NetBSD: Makefile,v 1.86 2019/10/22 13:21:49 adam Exp $
 
-DISTNAME=      pytest-4.6.5
+DISTNAME=      pytest-4.6.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest/}
@@ -13,12 +13,10 @@
 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}-importlib-metadata>=0.12:../../devel/py-importlib-metadata
 DEPENDS+=      ${PYPKGPREFIX}-more-itertools>=4.0.0:../../devel/py-more-itertools
 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}-setuptools-[0-9]*:../../devel/py-setuptools
 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
@@ -33,6 +31,9 @@
 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
 
 USE_LANGUAGES= # none
 USE_TOOLS+=    bash:build
@@ -45,6 +46,5 @@
 do-test:
        cd ${WRKSRC}/testing && pytest-${PYVERSSUFFIX}
 
-.include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 74828e7c6a9a -r 478a4a9ce150 devel/py-test/distinfo
--- a/devel/py-test/distinfo    Tue Oct 22 13:20:27 2019 +0000
+++ b/devel/py-test/distinfo    Tue Oct 22 13:21:49 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.77 2019/08/22 11:06:28 adam Exp $
+$NetBSD: distinfo,v 1.78 2019/10/22 13:21:49 adam Exp $
 
-SHA1 (pytest-4.6.5.tar.gz) = 53a91cf85be9dd3dc31abd1a8c20b82f5fb6ae09
-RMD160 (pytest-4.6.5.tar.gz) = 226dc73f5379143d9d6ee6f3bca64671eec84fc0
-SHA512 (pytest-4.6.5.tar.gz) = e09b36ed7e862ada429b72a2090274bf5e583de749137051eb047f1e565ad65ac66a59f1ad43bfa62395019b1d41615c45b6144eada05286091455501a21608e
-Size (pytest-4.6.5.tar.gz) = 952740 bytes
+SHA1 (pytest-4.6.6.tar.gz) = 6b2e5766b509e9351c457f3d48c665a8e6842e87
+RMD160 (pytest-4.6.6.tar.gz) = b75334c32ca7141775eac19281238fafde067803
+SHA512 (pytest-4.6.6.tar.gz) = c5b6c21c352787eadce06be7529ecb6f6fd5f5eb193ec29e5a4cfff3d7e305f50c6f07aeac15bddce007d88077a35a8f59633111815321792ed3d9fa1011b684
+Size (pytest-4.6.6.tar.gz) = 954899 bytes



Home | Main Index | Thread Index | Old Index