summaryrefslogtreecommitdiff
path: root/devel/py-jstyleson
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-jstyleson')
-rw-r--r--devel/py-jstyleson/Makefile18
-rw-r--r--devel/py-jstyleson/distinfo3
-rw-r--r--devel/py-jstyleson/pkg-descr7
3 files changed, 28 insertions, 0 deletions
diff --git a/devel/py-jstyleson/Makefile b/devel/py-jstyleson/Makefile
new file mode 100644
index 000000000000..f1aa5ff82ebe
--- /dev/null
+++ b/devel/py-jstyleson/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= jstyleson
+DISTVERSION= 0.0.2
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Library to parse JSON with js-style comments
+WWW= https://github.com/linjackson78/jstyleson
+
+LICENSE= MIT
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-jstyleson/distinfo b/devel/py-jstyleson/distinfo
new file mode 100644
index 000000000000..9600fc582c45
--- /dev/null
+++ b/devel/py-jstyleson/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1760676101
+SHA256 (jstyleson-0.0.2.tar.gz) = 680003f3b15a2959e4e6a351f3b858e3c07dd3e073a0d54954e34d8ea5e1308e
+SIZE (jstyleson-0.0.2.tar.gz) = 2004
diff --git a/devel/py-jstyleson/pkg-descr b/devel/py-jstyleson/pkg-descr
new file mode 100644
index 000000000000..62e776de1342
--- /dev/null
+++ b/devel/py-jstyleson/pkg-descr
@@ -0,0 +1,7 @@
+jstyleson is a Python library designed to parse JSON data that includes
+JavaScript-style comments (single-line and multi-line) and trailing commas.
+Standard JSON does not permit these features, and the default Python json
+module cannot handle them. This library preprocesses such JSON strings to
+remove comments and trailing commas, making them compatible with the standard
+json module. It provides wrapper functions around the standard json module
+for convenience.