Mon Nov 27 15:37:10 2023 UTC ()
py-jsonschema: updated to 4.20.0

v4.20.0

* Properly consider items (and properties) to be evaluated by ``unevaluatedItems`` (resp. ``unevaluatedProperties``) when behind a ``$dynamicRef`` as specified by the 2020 and 2019 specifications.
* ``jsonschema.exceptions.ErrorTree.__setitem__`` is now deprecated.
  More broadly, in general users of ``jsonschema`` should never be mutating objects owned by the library.


(adam)
diff -r1.37 -r1.38 pkgsrc/textproc/py-jsonschema/Makefile
diff -r1.22 -r1.23 pkgsrc/textproc/py-jsonschema/distinfo

cvs diff -r1.37 -r1.38 pkgsrc/textproc/py-jsonschema/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/py-jsonschema/Makefile 2023/11/02 11:01:10 1.37
+++ pkgsrc/textproc/py-jsonschema/Makefile 2023/11/27 15:37:10 1.38
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.37 2023/11/02 11:01:10 adam Exp $ 1# $NetBSD: Makefile,v 1.38 2023/11/27 15:37:10 adam Exp $
2 2
3DISTNAME= jsonschema-4.19.2 3DISTNAME= jsonschema-4.20.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= textproc python 5CATEGORIES= textproc python
6MASTER_SITES= ${MASTER_SITE_PYPI:=j/jsonschema/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=j/jsonschema/}
7 7
8MAINTAINER= bsiegert@NetBSD.org 8MAINTAINER= bsiegert@NetBSD.org
9HOMEPAGE= https://github.com/Julian/jsonschema 9HOMEPAGE= https://github.com/Julian/jsonschema
10COMMENT= Implementation of JSON Schema for Python 10COMMENT= Implementation of JSON Schema for Python
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling 13TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
14TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-fancy-pypi-readme-[0-9]*:../../devel/py-hatch-fancy-pypi-readme 14TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-fancy-pypi-readme-[0-9]*:../../devel/py-hatch-fancy-pypi-readme
15TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs-[0-9]*:../../devel/py-hatch-vcs 15TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs-[0-9]*:../../devel/py-hatch-vcs
16DEPENDS+= ${PYPKGPREFIX}-attrs>=22.2.0:../../devel/py-attrs 16DEPENDS+= ${PYPKGPREFIX}-attrs>=22.2.0:../../devel/py-attrs
@@ -25,19 +25,15 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27 @@ -25,19 +25,15 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
25 25
26.include "../../lang/python/pyversion.mk" 26.include "../../lang/python/pyversion.mk"
27.if ${PYTHON_VERSION} < 309 27.if ${PYTHON_VERSION} < 309
28DEPENDS+= ${PYPKGPREFIX}-importlib-resources>=1.4.0:../../devel/py-importlib-resources 28DEPENDS+= ${PYPKGPREFIX}-importlib-resources>=1.4.0:../../devel/py-importlib-resources
29DEPENDS+= ${PYPKGPREFIX}-pkgutil_resolve_name>=1.3.10:../../devel/py-pkgutil_resolve_name 29DEPENDS+= ${PYPKGPREFIX}-pkgutil_resolve_name>=1.3.10:../../devel/py-pkgutil_resolve_name
30.endif 30.endif
31 31
32post-install: 32post-install:
33 cd ${DESTDIR}${PREFIX}/bin && \ 33 cd ${DESTDIR}${PREFIX}/bin && \
34 ${MV} jsonschema jsonschema-${PYVERSSUFFIX} || ${TRUE} 34 ${MV} jsonschema jsonschema-${PYVERSSUFFIX} || ${TRUE}
35 35
36TEST_ENV+= JSON_SCHEMA_TEST_SUITE=${WRKSRC}/json 36TEST_ENV+= JSON_SCHEMA_TEST_SUITE=${WRKSRC}/json
37 37
38# after 'make install' 
39do-test: 
40 cd ${WRKSRC}/jsonschema && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -v 
41 
42.include "../../lang/python/wheel.mk" 38.include "../../lang/python/wheel.mk"
43.include "../../mk/bsd.pkg.mk" 39.include "../../mk/bsd.pkg.mk"

cvs diff -r1.22 -r1.23 pkgsrc/textproc/py-jsonschema/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/py-jsonschema/distinfo 2023/11/02 11:01:10 1.22
+++ pkgsrc/textproc/py-jsonschema/distinfo 2023/11/27 15:37:10 1.23
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.22 2023/11/02 11:01:10 adam Exp $ 1$NetBSD: distinfo,v 1.23 2023/11/27 15:37:10 adam Exp $
2 2
3BLAKE2s (jsonschema-4.19.2.tar.gz) = e90207185abafa7354cf10f56cfc37d7bb716aa9906cf4481be1c2b8290bef71 3BLAKE2s (jsonschema-4.20.0.tar.gz) = d7bc2421b7b4513538765ba99e2b861bf652b1d9d8152b5fc9c27b6cfc0b44af
4SHA512 (jsonschema-4.19.2.tar.gz) = 0820f0e6417cceb1017efe9b8fed6e386acbb194e786c97c89a94f173c22a8dfa8144f19ae46cbf44cb3d2b78b27d4631344e13e964d82d9810a513d328a95a0 4SHA512 (jsonschema-4.20.0.tar.gz) = 916ce6e5a1cce19e52d34394797d59c4821a3e7abad0248d929a8d5975e8e5a2c0a270b2839d6e1800037a53d0ed8fd38ca44264a88653b5aaba1705d459cb47
5Size (jsonschema-4.19.2.tar.gz) = 318786 bytes 5Size (jsonschema-4.20.0.tar.gz) = 320243 bytes