Wed Dec 31 13:18:58 2014 UTC ()
Add a package for py-jsonschema. From DESCR:
jsonschema is an implementation of JSON Schema for Python (supporting
2.6+ including Python 3).
Features:
- 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.
(bsiegert)
diff -r1.815 -r1.816 pkgsrc/textproc/Makefile
diff -r0 -r1.1 pkgsrc/textproc/py-jsonschema/DESCR
diff -r0 -r1.1 pkgsrc/textproc/py-jsonschema/Makefile
diff -r0 -r1.1 pkgsrc/textproc/py-jsonschema/PLIST
diff -r0 -r1.1 pkgsrc/textproc/py-jsonschema/distinfo
--- pkgsrc/textproc/Makefile 2014/12/30 15:52:17 1.815
+++ pkgsrc/textproc/Makefile 2014/12/31 13:18:58 1.816
| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.815 2014/12/30 15:52:17 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.816 2014/12/31 13:18:58 bsiegert Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | COMMENT= Text processing utilities (does not include desktop publishing) | | 4 | COMMENT= Text processing utilities (does not include desktop publishing) |
5 | | | 5 | |
6 | SUBDIR+= CRF++ | | 6 | SUBDIR+= CRF++ |
7 | SUBDIR+= FlightCrew | | 7 | SUBDIR+= FlightCrew |
8 | SUBDIR+= GutenMark | | 8 | SUBDIR+= GutenMark |
9 | SUBDIR+= GutenMark-words | | 9 | SUBDIR+= GutenMark-words |
10 | SUBDIR+= Markdown | | 10 | SUBDIR+= Markdown |
11 | SUBDIR+= OdfConverter | | 11 | SUBDIR+= OdfConverter |
12 | SUBDIR+= R-formatR | | 12 | SUBDIR+= R-formatR |
13 | SUBDIR+= R-highr | | 13 | SUBDIR+= R-highr |
14 | SUBDIR+= R-markdown | | 14 | SUBDIR+= R-markdown |
| @@ -651,26 +651,27 @@ SUBDIR+= py-docutils | | | @@ -651,26 +651,27 @@ SUBDIR+= py-docutils |
651 | SUBDIR+= py-ejson | | 651 | SUBDIR+= py-ejson |
652 | SUBDIR+= py-elementtree | | 652 | SUBDIR+= py-elementtree |
653 | SUBDIR+= py-empy | | 653 | SUBDIR+= py-empy |
654 | SUBDIR+= py-enchant | | 654 | SUBDIR+= py-enchant |
655 | SUBDIR+= py-expat | | 655 | SUBDIR+= py-expat |
656 | SUBDIR+= py-feedparser | | 656 | SUBDIR+= py-feedparser |
657 | SUBDIR+= py-gnosis-utils | | 657 | SUBDIR+= py-gnosis-utils |
658 | SUBDIR+= py-html2text | | 658 | SUBDIR+= py-html2text |
659 | SUBDIR+= py-html5lib | | 659 | SUBDIR+= py-html5lib |
660 | SUBDIR+= py-iniparse | | 660 | SUBDIR+= py-iniparse |
661 | SUBDIR+= py-jinja2 | | 661 | SUBDIR+= py-jinja2 |
662 | SUBDIR+= py-jsonlib | | 662 | SUBDIR+= py-jsonlib |
663 | SUBDIR+= py-jsonlib3 | | 663 | SUBDIR+= py-jsonlib3 |
| | | 664 | SUBDIR+= py-jsonschema |
664 | SUBDIR+= py-libxml2 | | 665 | SUBDIR+= py-libxml2 |
665 | SUBDIR+= py-libxslt | | 666 | SUBDIR+= py-libxslt |
666 | SUBDIR+= py-lxml | | 667 | SUBDIR+= py-lxml |
667 | SUBDIR+= py-marisa | | 668 | SUBDIR+= py-marisa |
668 | SUBDIR+= py-markdown | | 669 | SUBDIR+= py-markdown |
669 | SUBDIR+= py-markdown2 | | 670 | SUBDIR+= py-markdown2 |
670 | SUBDIR+= py-markupsafe | | 671 | SUBDIR+= py-markupsafe |
671 | SUBDIR+= py-mecab | | 672 | SUBDIR+= py-mecab |
672 | SUBDIR+= py-numpydoc | | 673 | SUBDIR+= py-numpydoc |
673 | SUBDIR+= py-openpyxl | | 674 | SUBDIR+= py-openpyxl |
674 | SUBDIR+= py-pdf-parser | | 675 | SUBDIR+= py-pdf-parser |
675 | SUBDIR+= py-phonenumbers | | 676 | SUBDIR+= py-phonenumbers |
676 | SUBDIR+= py-prettytable | | 677 | SUBDIR+= py-prettytable |
jsonschema is an implementation of JSON Schema for Python (supporting
2.6+ including Python 3).
Features:
- 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.
# $NetBSD: Makefile,v 1.1 2014/12/31 13:18:58 bsiegert Exp $
DISTNAME= jsonschema-2.4.0
CATEGORIES= textproc python
MASTER_SITES= https://pypi.python.org/packages/source/j/jsonschema/
MAINTAINER= bsiegert@NetBSD.org
HOMEPAGE= https://github.com/Julian/jsonschema
COMMENT= Implementation of JSON Schema for Python
LICENSE= modified-bsd
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
.include "../../lang/python/egg.mk"
post-install:
mv ${DESTDIR}${PREFIX}/bin/jsonschema ${DESTDIR}${PREFIX}/bin/jsonschema${PYVERSSUFFIX}
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2014/12/31 13:18:58 bsiegert Exp $
bin/jsonschema${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/jsonschema/__init__.py
${PYSITELIB}/jsonschema/__init__.pyc
${PYSITELIB}/jsonschema/__init__.pyo
${PYSITELIB}/jsonschema/__main__.py
${PYSITELIB}/jsonschema/__main__.pyc
${PYSITELIB}/jsonschema/__main__.pyo
${PYSITELIB}/jsonschema/_format.py
${PYSITELIB}/jsonschema/_format.pyc
${PYSITELIB}/jsonschema/_format.pyo
${PYSITELIB}/jsonschema/_reflect.py
${PYSITELIB}/jsonschema/_reflect.pyc
${PYSITELIB}/jsonschema/_reflect.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/cli.py
${PYSITELIB}/jsonschema/cli.pyc
${PYSITELIB}/jsonschema/cli.pyo
${PYSITELIB}/jsonschema/compat.py
${PYSITELIB}/jsonschema/compat.pyc
${PYSITELIB}/jsonschema/compat.pyo
${PYSITELIB}/jsonschema/exceptions.py
${PYSITELIB}/jsonschema/exceptions.pyc
${PYSITELIB}/jsonschema/exceptions.pyo
${PYSITELIB}/jsonschema/schemas/draft3.json
${PYSITELIB}/jsonschema/schemas/draft4.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/test_cli.py
${PYSITELIB}/jsonschema/tests/test_cli.pyc
${PYSITELIB}/jsonschema/tests/test_cli.pyo
${PYSITELIB}/jsonschema/tests/test_exceptions.py
${PYSITELIB}/jsonschema/tests/test_exceptions.pyc
${PYSITELIB}/jsonschema/tests/test_exceptions.pyo
${PYSITELIB}/jsonschema/tests/test_format.py
${PYSITELIB}/jsonschema/tests/test_format.pyc
${PYSITELIB}/jsonschema/tests/test_format.pyo
${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_validators.py
${PYSITELIB}/jsonschema/tests/test_validators.pyc
${PYSITELIB}/jsonschema/tests/test_validators.pyo
${PYSITELIB}/jsonschema/validators.py
${PYSITELIB}/jsonschema/validators.pyc
${PYSITELIB}/jsonschema/validators.pyo
$NetBSD: distinfo,v 1.1 2014/12/31 13:18:58 bsiegert Exp $
SHA1 (jsonschema-2.4.0.tar.gz) = 35d4d90ce942a4b030eda75e9a2b32f97e121a98
RMD160 (jsonschema-2.4.0.tar.gz) = 2c48450248267e754dab237f48af949a15762205
Size (jsonschema-2.4.0.tar.gz) = 48293 bytes