pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-demjson3



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Oct 26 13:25:20 UTC 2022

Added Files:
        pkgsrc/textproc/py-demjson3: ALTERNATIVES DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-demjson3/ALTERNATIVES \
    pkgsrc/textproc/py-demjson3/DESCR pkgsrc/textproc/py-demjson3/Makefile \
    pkgsrc/textproc/py-demjson3/PLIST pkgsrc/textproc/py-demjson3/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/textproc/py-demjson3/ALTERNATIVES
diff -u /dev/null pkgsrc/textproc/py-demjson3/ALTERNATIVES:1.1
--- /dev/null   Wed Oct 26 13:25:20 2022
+++ pkgsrc/textproc/py-demjson3/ALTERNATIVES    Wed Oct 26 13:25:20 2022
@@ -0,0 +1 @@
+bin/jsonlint @PREFIX@/bin/jsonlint-@PYVERSSUFFIX@
Index: pkgsrc/textproc/py-demjson3/DESCR
diff -u /dev/null pkgsrc/textproc/py-demjson3/DESCR:1.1
--- /dev/null   Wed Oct 26 13:25:20 2022
+++ pkgsrc/textproc/py-demjson3/DESCR   Wed Oct 26 13:25:20 2022
@@ -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.
Index: pkgsrc/textproc/py-demjson3/Makefile
diff -u /dev/null pkgsrc/textproc/py-demjson3/Makefile:1.1
--- /dev/null   Wed Oct 26 13:25:20 2022
+++ pkgsrc/textproc/py-demjson3/Makefile        Wed Oct 26 13:25:20 2022
@@ -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"
Index: pkgsrc/textproc/py-demjson3/PLIST
diff -u /dev/null pkgsrc/textproc/py-demjson3/PLIST:1.1
--- /dev/null   Wed Oct 26 13:25:20 2022
+++ pkgsrc/textproc/py-demjson3/PLIST   Wed Oct 26 13:25:20 2022
@@ -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
Index: pkgsrc/textproc/py-demjson3/distinfo
diff -u /dev/null pkgsrc/textproc/py-demjson3/distinfo:1.1
--- /dev/null   Wed Oct 26 13:25:20 2022
+++ pkgsrc/textproc/py-demjson3/distinfo        Wed Oct 26 13:25:20 2022
@@ -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