svn commit: r413671 - in head/www: . py-demjson
Bernard Spil
brnrd at FreeBSD.org
Wed Apr 20 06:17:47 UTC 2016
Author: brnrd
Date: Wed Apr 20 06:17:45 2016
New Revision: 413671
URL: https://svnweb.freebsd.org/changeset/ports/413671
Log:
www/py-demjson: encoder, decoder, and lint/validator for JSON
- New python port
- Add README documents
Reviewed by: feld (mentor)
Approved by: feld (mentor)
Differential Revision: D5969
Added:
head/www/py-demjson/
head/www/py-demjson/Makefile (contents, props changed)
head/www/py-demjson/distinfo (contents, props changed)
head/www/py-demjson/pkg-descr (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Wed Apr 20 05:03:46 2016 (r413670)
+++ head/www/Makefile Wed Apr 20 06:17:45 2016 (r413671)
@@ -1520,6 +1520,7 @@
SUBDIR += py-cssmin
SUBDIR += py-cssselect
SUBDIR += py-cssutils
+ SUBDIR += py-demjson
SUBDIR += py-django
SUBDIR += py-django-allauth
SUBDIR += py-django-annoying
Added: head/www/py-demjson/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-demjson/Makefile Wed Apr 20 06:17:45 2016 (r413671)
@@ -0,0 +1,27 @@
+# Created by: Bernard Spil <brnrd at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= demjson
+PORTVERSION= 2.2.4
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= Bernard Spil <brnrd at FreeBSD.org>
+COMMENT= encoder, decoder, and lint/validator for JSON (JavaScript Object Notation) compliant with RFC 7159
+
+LICENSE= AGPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
+PORTDOCS= README.txt README.md
+
+post-install:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/
+ ${INSTALL_MAN} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/
+
+.include <bsd.port.mk>
Added: head/www/py-demjson/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-demjson/distinfo Wed Apr 20 06:17:45 2016 (r413671)
@@ -0,0 +1,2 @@
+SHA256 (demjson-2.2.4.tar.gz) = 31de2038a0fdd9c4c11f8bf3b13fe77bc2a128307f965c8d5fb4dc6d6f6beb79
+SIZE (demjson-2.2.4.tar.gz) = 131457
Added: head/www/py-demjson/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-demjson/pkg-descr Wed Apr 20 06:17:45 2016 (r413671)
@@ -0,0 +1,10 @@
+The "demjson" module, and the included "jsonlint" script, provide methods for
+encoding and decoding JSON formatted data, as well as checking JSON data for
+errors and/or portability issues. The jsonlint command/script can be used from
+the command line without needing any programming. Although the standard Python
+library now includes basic JSON support (which it did not when demjson was first
+written), this module provides a much more comprehensive implementation with
+many features not found elsewhere. It is especially useful for error checking
+or for parsing JavaScript data which may not strictly be valid JSON data.
+
+WWW: http://deron.meranda.us/python/demjson/
More information about the svn-ports-all
mailing list