pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-jsonschema py-jsonschema: updated to 3.0.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/253433ffc1cb
branches: trunk
changeset: 392429:253433ffc1cb
user: adam <adam%pkgsrc.org@localhost>
date: Sat Mar 02 14:31:51 2019 +0000
description:
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
diffstat:
textproc/py-jsonschema/Makefile | 18 ++++++++++++++----
textproc/py-jsonschema/PLIST | 33 +++++++++++++++++++++++++--------
textproc/py-jsonschema/distinfo | 10 +++++-----
3 files changed, 44 insertions(+), 17 deletions(-)
diffs (123 lines):
diff -r 9e7d64401a31 -r 253433ffc1cb textproc/py-jsonschema/Makefile
--- a/textproc/py-jsonschema/Makefile Sat Mar 02 14:31:26 2019 +0000
+++ b/textproc/py-jsonschema/Makefile Sat Mar 02 14:31:51 2019 +0000
@@ -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 @@
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"
diff -r 9e7d64401a31 -r 253433ffc1cb textproc/py-jsonschema/PLIST
--- a/textproc/py-jsonschema/PLIST Sat Mar 02 14:31:26 2019 +0000
+++ b/textproc/py-jsonschema/PLIST Sat Mar 02 14:31:51 2019 +0000
@@ -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/_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.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_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
diff -r 9e7d64401a31 -r 253433ffc1cb textproc/py-jsonschema/distinfo
--- a/textproc/py-jsonschema/distinfo Sat Mar 02 14:31:26 2019 +0000
+++ b/textproc/py-jsonschema/distinfo Sat Mar 02 14:31:51 2019 +0000
@@ -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