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

cvs diff -r1.815 -r1.816 pkgsrc/textproc/Makefile (expand / switch to unified diff)

--- 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
4COMMENT= Text processing utilities (does not include desktop publishing) 4COMMENT= Text processing utilities (does not include desktop publishing)
5 5
6SUBDIR+= CRF++ 6SUBDIR+= CRF++
7SUBDIR+= FlightCrew 7SUBDIR+= FlightCrew
8SUBDIR+= GutenMark 8SUBDIR+= GutenMark
9SUBDIR+= GutenMark-words 9SUBDIR+= GutenMark-words
10SUBDIR+= Markdown 10SUBDIR+= Markdown
11SUBDIR+= OdfConverter 11SUBDIR+= OdfConverter
12SUBDIR+= R-formatR 12SUBDIR+= R-formatR
13SUBDIR+= R-highr 13SUBDIR+= R-highr
14SUBDIR+= R-markdown 14SUBDIR+= R-markdown
@@ -651,26 +651,27 @@ SUBDIR+= py-docutils @@ -651,26 +651,27 @@ SUBDIR+= py-docutils
651SUBDIR+= py-ejson 651SUBDIR+= py-ejson
652SUBDIR+= py-elementtree 652SUBDIR+= py-elementtree
653SUBDIR+= py-empy 653SUBDIR+= py-empy
654SUBDIR+= py-enchant 654SUBDIR+= py-enchant
655SUBDIR+= py-expat 655SUBDIR+= py-expat
656SUBDIR+= py-feedparser 656SUBDIR+= py-feedparser
657SUBDIR+= py-gnosis-utils 657SUBDIR+= py-gnosis-utils
658SUBDIR+= py-html2text 658SUBDIR+= py-html2text
659SUBDIR+= py-html5lib 659SUBDIR+= py-html5lib
660SUBDIR+= py-iniparse 660SUBDIR+= py-iniparse
661SUBDIR+= py-jinja2 661SUBDIR+= py-jinja2
662SUBDIR+= py-jsonlib 662SUBDIR+= py-jsonlib
663SUBDIR+= py-jsonlib3 663SUBDIR+= py-jsonlib3
 664SUBDIR+= py-jsonschema
664SUBDIR+= py-libxml2 665SUBDIR+= py-libxml2
665SUBDIR+= py-libxslt 666SUBDIR+= py-libxslt
666SUBDIR+= py-lxml 667SUBDIR+= py-lxml
667SUBDIR+= py-marisa 668SUBDIR+= py-marisa
668SUBDIR+= py-markdown 669SUBDIR+= py-markdown
669SUBDIR+= py-markdown2 670SUBDIR+= py-markdown2
670SUBDIR+= py-markupsafe 671SUBDIR+= py-markupsafe
671SUBDIR+= py-mecab 672SUBDIR+= py-mecab
672SUBDIR+= py-numpydoc 673SUBDIR+= py-numpydoc
673SUBDIR+= py-openpyxl 674SUBDIR+= py-openpyxl
674SUBDIR+= py-pdf-parser 675SUBDIR+= py-pdf-parser
675SUBDIR+= py-phonenumbers 676SUBDIR+= py-phonenumbers
676SUBDIR+= py-prettytable 677SUBDIR+= py-prettytable

File Added: pkgsrc/textproc/py-jsonschema/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.

File Added: pkgsrc/textproc/py-jsonschema/Makefile
# $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"

File Added: pkgsrc/textproc/py-jsonschema/PLIST
@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

File Added: pkgsrc/textproc/py-jsonschema/distinfo
$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