aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-08-02 01:47:16 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-08-02 01:47:16 +0000
commit711ddb582bf71429d165f9c76a0e73b02b24e7c8 (patch)
treeac33f0f06022fd6c2046ca1f031530aebb719088
parent43c9c433822e3afbd655c92113c5b622bf8c6a45 (diff)
downloadports-711ddb582bf71429d165f9c76a0e73b02b24e7c8.tar.gz
ports-711ddb582bf71429d165f9c76a0e73b02b24e7c8.zip
textproc/py-json2html: New port: JSON to HTML Table Representation
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-json2html/Makefile19
-rw-r--r--textproc/py-json2html/distinfo3
-rw-r--r--textproc/py-json2html/pkg-descr2
4 files changed, 25 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index a44d7641f788..edaeabaa11f9 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1387,6 +1387,7 @@
SUBDIR += py-jc
SUBDIR += py-jinja2-cli
SUBDIR += py-jq
+ SUBDIR += py-json2html
SUBDIR += py-jsonslicer
SUBDIR += py-jsx-lexer
SUBDIR += py-jtextfsm
diff --git a/textproc/py-json2html/Makefile b/textproc/py-json2html/Makefile
new file mode 100644
index 000000000000..ce94ac719c8d
--- /dev/null
+++ b/textproc/py-json2html/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= json2html
+PORTVERSION= 1.3.0
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= JSON to HTML Table Representation
+WWW= https://github.com/softvar/json2html
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= python
+USE_PYTHON= distutils autoplist pytest
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-json2html/distinfo b/textproc/py-json2html/distinfo
new file mode 100644
index 000000000000..0a322d157c9e
--- /dev/null
+++ b/textproc/py-json2html/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1690940619
+SHA256 (json2html-1.3.0.tar.gz) = 8951a53662ae9cfd812685facdba693fc950ffc1c1fd1a8a2d3cf4c34600689c
+SIZE (json2html-1.3.0.tar.gz) = 6977
diff --git a/textproc/py-json2html/pkg-descr b/textproc/py-json2html/pkg-descr
new file mode 100644
index 000000000000..a2bb33971892
--- /dev/null
+++ b/textproc/py-json2html/pkg-descr
@@ -0,0 +1,2 @@
+json2html is a Python module for converting complex JSON to HTML Table
+representation.