pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-demjson3 py-demjson3: added version 3.0.6
details: https://anonhg.NetBSD.org/pkgsrc/rev/3ca13915a6b5
branches: trunk
changeset: 387312:3ca13915a6b5
user: adam <adam%pkgsrc.org@localhost>
date: Wed Oct 26 13:25:20 2022 +0000
description:
py-demjson3: added version 3.0.6
demjson3 is a Python language module for encoding, decoding, and
syntax-checking JSON data. It works under Python 3.
It comes with a jsonlint script which can be used to validate your JSON
documents for strict conformance to the JSON specification, and to detect
potential data portability issues. It can also reformat or pretty-print JSON
documents; either by re-indenting or removing unnecessary whitespace.
diffstat:
textproc/py-demjson3/ALTERNATIVES | 1 +
textproc/py-demjson3/DESCR | 7 +++++++
textproc/py-demjson3/Makefile | 24 ++++++++++++++++++++++++
textproc/py-demjson3/PLIST | 13 +++++++++++++
textproc/py-demjson3/distinfo | 5 +++++
5 files changed, 50 insertions(+), 0 deletions(-)
diffs (70 lines):
diff -r e3b6c9863935 -r 3ca13915a6b5 textproc/py-demjson3/ALTERNATIVES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-demjson3/ALTERNATIVES Wed Oct 26 13:25:20 2022 +0000
@@ -0,0 +1,1 @@
+bin/jsonlint @PREFIX@/bin/jsonlint-@PYVERSSUFFIX@
diff -r e3b6c9863935 -r 3ca13915a6b5 textproc/py-demjson3/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-demjson3/DESCR Wed Oct 26 13:25:20 2022 +0000
@@ -0,0 +1,7 @@
+demjson3 is a Python language module for encoding, decoding, and
+syntax-checking JSON data. It works under Python 3.
+
+It comes with a jsonlint script which can be used to validate your JSON
+documents for strict conformance to the JSON specification, and to detect
+potential data portability issues. It can also reformat or pretty-print JSON
+documents; either by re-indenting or removing unnecessary whitespace.
diff -r e3b6c9863935 -r 3ca13915a6b5 textproc/py-demjson3/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-demjson3/Makefile Wed Oct 26 13:25:20 2022 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2022/10/26 13:25:20 adam Exp $
+
+DISTNAME= demjson3-3.0.6
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc python
+MASTER_SITES= ${MASTER_SITE_PYPI:=d/demjson3/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://nielstron.github.io/demjson3/
+COMMENT= Encoder, decoder, and lint/validator for JSON compliant with RFC 7159
+LICENSE= gnu-lgpl-v3
+
+USE_LANGUAGES= # none
+
+USE_PKG_RESOURCES= yes
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} jsonlint jsonlint-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e3b6c9863935 -r 3ca13915a6b5 textproc/py-demjson3/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-demjson3/PLIST Wed Oct 26 13:25:20 2022 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2022/10/26 13:25:20 adam Exp $
+bin/jsonlint-${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}/demjson3.py
+${PYSITELIB}/demjson3.pyc
+${PYSITELIB}/demjson3.pyo
+${PYSITELIB}/jsonlint.py
+${PYSITELIB}/jsonlint.pyc
+${PYSITELIB}/jsonlint.pyo
diff -r e3b6c9863935 -r 3ca13915a6b5 textproc/py-demjson3/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-demjson3/distinfo Wed Oct 26 13:25:20 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/10/26 13:25:20 adam Exp $
+
+BLAKE2s (demjson3-3.0.6.tar.gz) = f19aef9975e17fac5c7404c2a906c26df0c774ebc6e48d37e76de2ea6fbdced8
+SHA512 (demjson3-3.0.6.tar.gz) = d7d8d6fdd151c9c12692cd75f2368296408c00c722457206b8a49cb20ee9847b2c3f28c803ea52d788017631295551f7d8eaf7ae7537063deb618eb2ec8920cc
+Size (demjson3-3.0.6.tar.gz) = 131477 bytes
Home |
Main Index |
Thread Index |
Old Index