diff options
-rw-r--r-- | textproc/py-demjson3/ALTERNATIVES | 1 | ||||
-rw-r--r-- | textproc/py-demjson3/DESCR | 7 | ||||
-rw-r--r-- | textproc/py-demjson3/Makefile | 24 | ||||
-rw-r--r-- | textproc/py-demjson3/PLIST | 13 | ||||
-rw-r--r-- | textproc/py-demjson3/distinfo | 5 |
5 files changed, 50 insertions, 0 deletions
diff --git a/textproc/py-demjson3/ALTERNATIVES b/textproc/py-demjson3/ALTERNATIVES new file mode 100644 index 00000000000..f7d2c9b97ae --- /dev/null +++ b/textproc/py-demjson3/ALTERNATIVES @@ -0,0 +1 @@ +bin/jsonlint @PREFIX@/bin/jsonlint-@PYVERSSUFFIX@ diff --git a/textproc/py-demjson3/DESCR b/textproc/py-demjson3/DESCR new file mode 100644 index 00000000000..982a046026f --- /dev/null +++ b/textproc/py-demjson3/DESCR @@ -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 --git a/textproc/py-demjson3/Makefile b/textproc/py-demjson3/Makefile new file mode 100644 index 00000000000..81ea7358215 --- /dev/null +++ b/textproc/py-demjson3/Makefile @@ -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 +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 --git a/textproc/py-demjson3/PLIST b/textproc/py-demjson3/PLIST new file mode 100644 index 00000000000..8416fa863b2 --- /dev/null +++ b/textproc/py-demjson3/PLIST @@ -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 --git a/textproc/py-demjson3/distinfo b/textproc/py-demjson3/distinfo new file mode 100644 index 00000000000..beec4e4a594 --- /dev/null +++ b/textproc/py-demjson3/distinfo @@ -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 |