summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2022-05-11 09:30:52 +0000
committeradam <adam@pkgsrc.org>2022-05-11 09:30:52 +0000
commit0d9873fdba777871979cf0a90ed6f3aae81a9336 (patch)
tree51a62b7192b3a6d4f3c9734137b3853d3f9d7e84
parent24908e9c34259a85a48b503aa6346af7133727d7 (diff)
downloadpkgsrc-0d9873fdba777871979cf0a90ed6f3aae81a9336.tar.gz
py-jsonschema: updated to 4.5.1
v4.5.0 ------ * Validator classes for each version now maintain references to the correct corresponding format checker * Development has moved to a `GitHub organization <https://github.com/python-jsonschema/>`_. No functional behavior changes are expected from the change.
-rw-r--r--textproc/py-jsonschema/Makefile8
-rw-r--r--textproc/py-jsonschema/distinfo8
2 files changed, 9 insertions, 7 deletions
diff --git a/textproc/py-jsonschema/Makefile b/textproc/py-jsonschema/Makefile
index 5efe81ebcc3..48e28782381 100644
--- a/textproc/py-jsonschema/Makefile
+++ b/textproc/py-jsonschema/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2022/04/13 10:33:28 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2022/05/11 09:30:52 adam Exp $
-DISTNAME= jsonschema-4.4.0
+DISTNAME= jsonschema-4.5.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=j/jsonschema/}
@@ -35,8 +35,10 @@ post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} jsonschema jsonschema-${PYVERSSUFFIX} || ${TRUE}
+TEST_ENV+= JSON_SCHEMA_TEST_SUITE=${WRKSRC}/json
+
do-test:
- cd ${WRKSRC}/jsonschema && ${PYTHONBIN} -m unittest discover -v
+ cd ${WRKSRC}/jsonschema && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -v
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-jsonschema/distinfo b/textproc/py-jsonschema/distinfo
index b02e38af4db..4b9132d0333 100644
--- a/textproc/py-jsonschema/distinfo
+++ b/textproc/py-jsonschema/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2022/04/07 06:49:20 adam Exp $
+$NetBSD: distinfo,v 1.12 2022/05/11 09:30:52 adam Exp $
-BLAKE2s (jsonschema-4.4.0.tar.gz) = e04f27ea5b75c46c0df864c290704146bba3ab6ac15c5d80f50db96496c2b91b
-SHA512 (jsonschema-4.4.0.tar.gz) = 8e5c138f4debf7540e2cd131f3f208d1778927ac9036f5fa67bcf5db8c62fe1bb454c7818ee61acef64e856ea4b498ef6ab08be314a3c6b1e461e0bb44db41c7
-Size (jsonschema-4.4.0.tar.gz) = 313519 bytes
+BLAKE2s (jsonschema-4.5.1.tar.gz) = f94cf3c999423b984611c5926f50d04ec749d66112b4eef9bab65abc0e9f014c
+SHA512 (jsonschema-4.5.1.tar.gz) = 3866a649ece45c1c69d3d5e9810cfdb094f1af82fcc08a186f9babd7516ad311c4bffa52f61f013bc84e7ab1be06605c5fab738c1c920ff8ce85a73429d9efde
+Size (jsonschema-4.5.1.tar.gz) = 282414 bytes