svn commit: r565977 - in head/textproc: . py-hjson
Mateusz Piotrowski
0mp at FreeBSD.org
Thu Feb 18 20:22:37 UTC 2021
Author: 0mp
Date: Thu Feb 18 20:22:35 2021
New Revision: 565977
URL: https://svnweb.freebsd.org/changeset/ports/565977
Log:
Add textproc/py-hjson
Hjson, the Human JSON. A configuration file format that caters to humans
and helps reduce the errors they make.
WWW: https://github.com/hjson/hjson-py
Added:
head/textproc/py-hjson/
head/textproc/py-hjson/Makefile (contents, props changed)
head/textproc/py-hjson/distinfo (contents, props changed)
head/textproc/py-hjson/pkg-descr (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Thu Feb 18 20:20:25 2021 (r565976)
+++ head/textproc/Makefile Thu Feb 18 20:22:35 2021 (r565977)
@@ -1283,6 +1283,7 @@
SUBDIR += py-guess-language
SUBDIR += py-hexdump
SUBDIR += py-hieroglyph
+ SUBDIR += py-hjson
SUBDIR += py-html2text
SUBDIR += py-html2text2018
SUBDIR += py-humanfriendly
Added: head/textproc/py-hjson/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-hjson/Makefile Thu Feb 18 20:22:35 2021 (r565977)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= hjson
+DISTVERSIONPREFIX= v
+DISTVERSION= 3.0.2
+CATEGORIES= textproc python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= 0mp at FreeBSD.org
+COMMENT= User interface for JSON written in Python
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= python
+# Use GitHub instead of CHEESESHOP to get the test files.
+USE_GITHUB= yes
+GH_PROJECT= ${PORTNAME}-py
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+do-test:
+ @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test)
+
+.include <bsd.port.mk>
Added: head/textproc/py-hjson/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-hjson/distinfo Thu Feb 18 20:22:35 2021 (r565977)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1613646861
+SHA256 (hjson-hjson-py-v3.0.2_GH0.tar.gz) = 1c16084568a6328ba404703aad6db8ddf7e3b6afec9e141b375a40a61a209c30
+SIZE (hjson-hjson-py-v3.0.2_GH0.tar.gz) = 72965
Added: head/textproc/py-hjson/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-hjson/pkg-descr Thu Feb 18 20:22:35 2021 (r565977)
@@ -0,0 +1,4 @@
+Hjson, the Human JSON. A configuration file format that caters to humans and
+helps reduce the errors they make.
+
+WWW: https://github.com/hjson/hjson-py
More information about the svn-ports-all
mailing list