diff options
author | wg <wg@FreeBSD.org> | 2013-06-06 20:56:22 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-06-06 20:56:22 +0800 |
commit | 90b2688b402cc113c864b5481bcccb2ae801bf5a (patch) | |
tree | 48b38ea6e4164eb43ce921fe0f1e905b8ac6311f /devel | |
parent | 269b5f10b0ec76eb59728e6a02d6254ad0d13f12 (diff) | |
download | freebsd-ports-gnome-90b2688b402cc113c864b5481bcccb2ae801bf5a.tar.gz freebsd-ports-gnome-90b2688b402cc113c864b5481bcccb2ae801bf5a.tar.zst freebsd-ports-gnome-90b2688b402cc113c864b5481bcccb2ae801bf5a.zip |
jsonschema is an implementation of JSON Schema for Python
- Full support for Draft 3 and Draft 4 of the schema.
- Lazy validation that can iteratively report all validation errors.
- Small and extensible
- Programmatic querying of which properties or items failed validation.
WWW: http://github.com/Julian/jsonschema
Approved by: culot (mentor)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-jsonschema/Makefile | 18 | ||||
-rw-r--r-- | devel/py-jsonschema/distinfo | 2 | ||||
-rw-r--r-- | devel/py-jsonschema/pkg-descr | 8 | ||||
-rw-r--r-- | devel/py-jsonschema/pkg-plist | 41 |
5 files changed, 70 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 4fab2d6080ad..a57250386c9b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3544,6 +3544,7 @@ SUBDIR += py-jsonlib SUBDIR += py-jsonlib2 SUBDIR += py-jsonrpclib + SUBDIR += py-jsonschema SUBDIR += py-kazoo SUBDIR += py-kid SUBDIR += py-kjbuckets diff --git a/devel/py-jsonschema/Makefile b/devel/py-jsonschema/Makefile new file mode 100644 index 000000000000..c0121defc14f --- /dev/null +++ b/devel/py-jsonschema/Makefile @@ -0,0 +1,18 @@ +# Created by: William Grzybowski <wg@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= jsonschema +PORTVERSION= 2.0.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wg@FreeBSD.org +COMMENT= JSON Schema validation for Python + +LICENSE= MIT + +USE_PYTHON= -2.7 +USE_PYDISTUTILS= yes + +.include <bsd.port.mk> diff --git a/devel/py-jsonschema/distinfo b/devel/py-jsonschema/distinfo new file mode 100644 index 000000000000..1871da2f2aa2 --- /dev/null +++ b/devel/py-jsonschema/distinfo @@ -0,0 +1,2 @@ +SHA256 (jsonschema-2.0.0.tar.gz) = c2c8483be59aea3df568d8aad2b3296ef7ea767639efe6e0363c722f7f096322 +SIZE (jsonschema-2.0.0.tar.gz) = 39933 diff --git a/devel/py-jsonschema/pkg-descr b/devel/py-jsonschema/pkg-descr new file mode 100644 index 000000000000..693f9c26f84a --- /dev/null +++ b/devel/py-jsonschema/pkg-descr @@ -0,0 +1,8 @@ +jsonschema is an implementation of JSON Schema for Python + + - Full support for Draft 3 and Draft 4 of the schema. + - Lazy validation that can iteratively report all validation errors. + - Small and extensible + - Programmatic querying of which properties or items failed validation. + +WWW: http://github.com/Julian/jsonschema diff --git a/devel/py-jsonschema/pkg-plist b/devel/py-jsonschema/pkg-plist new file mode 100644 index 000000000000..9be38dcd7491 --- /dev/null +++ b/devel/py-jsonschema/pkg-plist @@ -0,0 +1,41 @@ +%%PYTHON_SITELIBDIR%%/jsonschema/__init__.py +%%PYTHON_SITELIBDIR%%/jsonschema/__init__.pyc +%%PYTHON_SITELIBDIR%%/jsonschema/__init__.pyo +%%PYTHON_SITELIBDIR%%/jsonschema/_format.py +%%PYTHON_SITELIBDIR%%/jsonschema/_format.pyc +%%PYTHON_SITELIBDIR%%/jsonschema/_format.pyo +%%PYTHON_SITELIBDIR%%/jsonschema/_utils.py +%%PYTHON_SITELIBDIR%%/jsonschema/_utils.pyc +%%PYTHON_SITELIBDIR%%/jsonschema/_utils.pyo +%%PYTHON_SITELIBDIR%%/jsonschema/_validators.py +%%PYTHON_SITELIBDIR%%/jsonschema/_validators.pyc +%%PYTHON_SITELIBDIR%%/jsonschema/_validators.pyo +%%PYTHON_SITELIBDIR%%/jsonschema/compat.py +%%PYTHON_SITELIBDIR%%/jsonschema/compat.pyc +%%PYTHON_SITELIBDIR%%/jsonschema/compat.pyo +%%PYTHON_SITELIBDIR%%/jsonschema/exceptions.py +%%PYTHON_SITELIBDIR%%/jsonschema/exceptions.pyc +%%PYTHON_SITELIBDIR%%/jsonschema/exceptions.pyo +%%PYTHON_SITELIBDIR%%/jsonschema/schemas/draft3.json +%%PYTHON_SITELIBDIR%%/jsonschema/schemas/draft4.json +%%PYTHON_SITELIBDIR%%/jsonschema/tests/__init__.py +%%PYTHON_SITELIBDIR%%/jsonschema/tests/__init__.pyc +%%PYTHON_SITELIBDIR%%/jsonschema/tests/__init__.pyo +%%PYTHON_SITELIBDIR%%/jsonschema/tests/compat.py +%%PYTHON_SITELIBDIR%%/jsonschema/tests/compat.pyc +%%PYTHON_SITELIBDIR%%/jsonschema/tests/compat.pyo +%%PYTHON_SITELIBDIR%%/jsonschema/tests/test_format.py +%%PYTHON_SITELIBDIR%%/jsonschema/tests/test_format.pyc +%%PYTHON_SITELIBDIR%%/jsonschema/tests/test_format.pyo +%%PYTHON_SITELIBDIR%%/jsonschema/tests/test_jsonschema_test_suite.py +%%PYTHON_SITELIBDIR%%/jsonschema/tests/test_jsonschema_test_suite.pyc +%%PYTHON_SITELIBDIR%%/jsonschema/tests/test_jsonschema_test_suite.pyo +%%PYTHON_SITELIBDIR%%/jsonschema/tests/test_validators.py +%%PYTHON_SITELIBDIR%%/jsonschema/tests/test_validators.pyc +%%PYTHON_SITELIBDIR%%/jsonschema/tests/test_validators.pyo +%%PYTHON_SITELIBDIR%%/jsonschema/validators.py +%%PYTHON_SITELIBDIR%%/jsonschema/validators.pyc +%%PYTHON_SITELIBDIR%%/jsonschema/validators.pyo +@dirrm %%PYTHON_SITELIBDIR%%/jsonschema/tests +@dirrm %%PYTHON_SITELIBDIR%%/jsonschema/schemas +@dirrm %%PYTHON_SITELIBDIR%%/jsonschema |