summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-10-22 13:21:49 +0000
committeradam <adam@pkgsrc.org>2019-10-22 13:21:49 +0000
commitf6cfb7a13a97609e2c5a34423e3b835959e7df62 (patch)
tree8c7c1e6cb2d2d5d9d1605c95ed3a27eaacd8054d
parent0ec9d11ed1b7df06d905a8e249d676effd260982 (diff)
downloadpkgsrc-f6cfb7a13a97609e2c5a34423e3b835959e7df62.tar.gz
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.
-rw-r--r--devel/py-test/Makefile10
-rw-r--r--devel/py-test/distinfo10
2 files changed, 10 insertions, 10 deletions
diff --git a/devel/py-test/Makefile b/devel/py-test/Makefile
index e39796a4924..249a82faa62 100644
--- a/devel/py-test/Makefile
+++ b/devel/py-test/Makefile
@@ -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 @@ 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}-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}-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
USE_LANGUAGES= # none
USE_TOOLS+= bash:build
@@ -45,6 +46,5 @@ post-install:
do-test:
cd ${WRKSRC}/testing && pytest-${PYVERSSUFFIX}
-.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-test/distinfo b/devel/py-test/distinfo
index 5c64b78a5e2..f400e9f7452 100644
--- a/devel/py-test/distinfo
+++ b/devel/py-test/distinfo
@@ -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