pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-jsonschema



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Mar  2 14:31:51 UTC 2019

Modified Files:
        pkgsrc/textproc/py-jsonschema: Makefile PLIST distinfo

Log Message:
py-jsonschema: updated to 3.0.1

v3.0.0
* Support for Draft 6 and Draft 7
* Draft 7 is now the default
* New TypeChecker object for more complex type definitions (and overrides)
* Falling back to isodate for the date-time format checker is no longer
  attempted, in accordance with the specification


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/py-jsonschema/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/py-jsonschema/PLIST \
    pkgsrc/textproc/py-jsonschema/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-jsonschema/Makefile
diff -u pkgsrc/textproc/py-jsonschema/Makefile:1.9 pkgsrc/textproc/py-jsonschema/Makefile:1.10
--- pkgsrc/textproc/py-jsonschema/Makefile:1.9  Thu May  4 17:46:53 2017
+++ pkgsrc/textproc/py-jsonschema/Makefile      Sat Mar  2 14:31:51 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2017/05/04 17:46:53 adam Exp $
+# $NetBSD: Makefile,v 1.10 2019/03/02 14:31:51 adam Exp $
 
-DISTNAME=      jsonschema-2.6.0
+DISTNAME=      jsonschema-3.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=j/jsonschema/}
@@ -10,10 +10,20 @@ HOMEPAGE=   https://github.com/Julian/json
 COMMENT=       Implementation of JSON Schema for Python
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-vcversioner-[0-9]*:../../devel/py-vcversioner
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+DEPENDS+=      ${PYPKGPREFIX}-attrs>=17.4.0:../../devel/py-attrs
+DEPENDS+=      ${PYPKGPREFIX}-pyrsistent>=0.14.0:../../devel/py-pyrsistent
+DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+DEPENDS+=      ${PYPKGPREFIX}-six>=1.11.0:../../lang/py-six
+
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 27
+DEPENDS+=      ${PYPKGPREFIX}-functools32-[0-9]*:../../devel/py-functools32
+.endif
 
 post-install:
-       ${MV} ${DESTDIR}${PREFIX}/bin/jsonschema ${DESTDIR}${PREFIX}/bin/jsonschema${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} jsonschema jsonschema-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-jsonschema/PLIST
diff -u pkgsrc/textproc/py-jsonschema/PLIST:1.4 pkgsrc/textproc/py-jsonschema/PLIST:1.5
--- pkgsrc/textproc/py-jsonschema/PLIST:1.4     Thu May  4 17:46:53 2017
+++ pkgsrc/textproc/py-jsonschema/PLIST Sat Mar  2 14:31:51 2019
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.4 2017/05/04 17:46:53 adam Exp $
-bin/jsonschema${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.5 2019/03/02 14:31:51 adam Exp $
+bin/jsonschema-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -15,18 +15,30 @@ ${PYSITELIB}/jsonschema/__main__.pyo
 ${PYSITELIB}/jsonschema/_format.py
 ${PYSITELIB}/jsonschema/_format.pyc
 ${PYSITELIB}/jsonschema/_format.pyo
+${PYSITELIB}/jsonschema/_legacy_validators.py
+${PYSITELIB}/jsonschema/_legacy_validators.pyc
+${PYSITELIB}/jsonschema/_legacy_validators.pyo
 ${PYSITELIB}/jsonschema/_reflect.py
 ${PYSITELIB}/jsonschema/_reflect.pyc
 ${PYSITELIB}/jsonschema/_reflect.pyo
+${PYSITELIB}/jsonschema/_types.py
+${PYSITELIB}/jsonschema/_types.pyc
+${PYSITELIB}/jsonschema/_types.pyo
 ${PYSITELIB}/jsonschema/_utils.py
 ${PYSITELIB}/jsonschema/_utils.pyc
 ${PYSITELIB}/jsonschema/_utils.pyo
 ${PYSITELIB}/jsonschema/_validators.py
 ${PYSITELIB}/jsonschema/_validators.pyc
 ${PYSITELIB}/jsonschema/_validators.pyo
-${PYSITELIB}/jsonschema/_version.py
-${PYSITELIB}/jsonschema/_version.pyc
-${PYSITELIB}/jsonschema/_version.pyo
+${PYSITELIB}/jsonschema/benchmarks/__init__.py
+${PYSITELIB}/jsonschema/benchmarks/__init__.pyc
+${PYSITELIB}/jsonschema/benchmarks/__init__.pyo
+${PYSITELIB}/jsonschema/benchmarks/issue232.py
+${PYSITELIB}/jsonschema/benchmarks/issue232.pyc
+${PYSITELIB}/jsonschema/benchmarks/issue232.pyo
+${PYSITELIB}/jsonschema/benchmarks/json_schema_test_suite.py
+${PYSITELIB}/jsonschema/benchmarks/json_schema_test_suite.pyc
+${PYSITELIB}/jsonschema/benchmarks/json_schema_test_suite.pyo
 ${PYSITELIB}/jsonschema/cli.py
 ${PYSITELIB}/jsonschema/cli.pyc
 ${PYSITELIB}/jsonschema/cli.pyo
@@ -38,12 +50,14 @@ ${PYSITELIB}/jsonschema/exceptions.pyc
 ${PYSITELIB}/jsonschema/exceptions.pyo
 ${PYSITELIB}/jsonschema/schemas/draft3.json
 ${PYSITELIB}/jsonschema/schemas/draft4.json
+${PYSITELIB}/jsonschema/schemas/draft6.json
+${PYSITELIB}/jsonschema/schemas/draft7.json
 ${PYSITELIB}/jsonschema/tests/__init__.py
 ${PYSITELIB}/jsonschema/tests/__init__.pyc
 ${PYSITELIB}/jsonschema/tests/__init__.pyo
-${PYSITELIB}/jsonschema/tests/compat.py
-${PYSITELIB}/jsonschema/tests/compat.pyc
-${PYSITELIB}/jsonschema/tests/compat.pyo
+${PYSITELIB}/jsonschema/tests/_suite.py
+${PYSITELIB}/jsonschema/tests/_suite.pyc
+${PYSITELIB}/jsonschema/tests/_suite.pyo
 ${PYSITELIB}/jsonschema/tests/test_cli.py
 ${PYSITELIB}/jsonschema/tests/test_cli.pyc
 ${PYSITELIB}/jsonschema/tests/test_cli.pyo
@@ -56,6 +70,9 @@ ${PYSITELIB}/jsonschema/tests/test_forma
 ${PYSITELIB}/jsonschema/tests/test_jsonschema_test_suite.py
 ${PYSITELIB}/jsonschema/tests/test_jsonschema_test_suite.pyc
 ${PYSITELIB}/jsonschema/tests/test_jsonschema_test_suite.pyo
+${PYSITELIB}/jsonschema/tests/test_types.py
+${PYSITELIB}/jsonschema/tests/test_types.pyc
+${PYSITELIB}/jsonschema/tests/test_types.pyo
 ${PYSITELIB}/jsonschema/tests/test_validators.py
 ${PYSITELIB}/jsonschema/tests/test_validators.pyc
 ${PYSITELIB}/jsonschema/tests/test_validators.pyo
Index: pkgsrc/textproc/py-jsonschema/distinfo
diff -u pkgsrc/textproc/py-jsonschema/distinfo:1.4 pkgsrc/textproc/py-jsonschema/distinfo:1.5
--- pkgsrc/textproc/py-jsonschema/distinfo:1.4  Thu May  4 17:46:53 2017
+++ pkgsrc/textproc/py-jsonschema/distinfo      Sat Mar  2 14:31:51 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2017/05/04 17:46:53 adam Exp $
+$NetBSD: distinfo,v 1.5 2019/03/02 14:31:51 adam Exp $
 
-SHA1 (jsonschema-2.6.0.tar.gz) = 97e49df4601f7066d9954c0ec4d8d697887b32f0
-RMD160 (jsonschema-2.6.0.tar.gz) = e4fb6118c531291fb705c9cc3629f1d5792a2dd8
-SHA512 (jsonschema-2.6.0.tar.gz) = 03f916abd023b32fbe60f91718d6f2f94d8834bd1bd8ec85ab02f591a145161275c2cde25b037c4d2e94703b870159feb776d3556f011e4c394d2e20ab897b0b
-Size (jsonschema-2.6.0.tar.gz) = 53252 bytes
+SHA1 (jsonschema-3.0.1.tar.gz) = fff9f3dc4c9f28e0008e482d1737723b71705d48
+RMD160 (jsonschema-3.0.1.tar.gz) = 65018b00913131e736d01175fcca690aa1792d08
+SHA512 (jsonschema-3.0.1.tar.gz) = 564e7385728b15387cd44c06cf50c36342fe4c6f497d208ce3d611d1659023e95ff032b2609a786cd9610bd915f878d138eef47913f18cc56eaae0651eb6efe8
+Size (jsonschema-3.0.1.tar.gz) = 120834 bytes



Home | Main Index | Thread Index | Old Index