textproc/json2yaml: Add json2yaml 1.2.0
Command line utilities to convert between JSON and YAML while preserving the order of associative arrays. Preserving the mapping order is helpful to humans reading the documents, despite not affecting their meaning. WWW: https://github.com/drbild/json2yaml
This commit is contained in:
parent
d00b784f5f
commit
38438992ea
@ -332,6 +332,7 @@
|
||||
SUBDIR += jrefentry
|
||||
SUBDIR += jshon
|
||||
SUBDIR += json-yaml
|
||||
SUBDIR += json2yaml
|
||||
SUBDIR += jtc
|
||||
SUBDIR += kdiff3
|
||||
SUBDIR += kepubify
|
||||
|
22
textproc/json2yaml/Makefile
Normal file
22
textproc/json2yaml/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
|
||||
PORTNAME= json2yaml
|
||||
PORTVERSION= 1.2.0
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Convert JSON to YAML or vice versa
|
||||
|
||||
LICENSE= APACHE20
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docopt>=0:devel/py-docopt@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyaml>=0:textproc/py-pyaml@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist distutils noflavors
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
textproc/json2yaml/distinfo
Normal file
3
textproc/json2yaml/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1638556436
|
||||
SHA256 (json2yaml-1.2.0.tar.gz) = 9528db11de8a9c9f2f1d227f0c06ee9f20a589b39f14c37c4c445bd544375d46
|
||||
SIZE (json2yaml-1.2.0.tar.gz) = 2989
|
7
textproc/json2yaml/pkg-descr
Normal file
7
textproc/json2yaml/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
Command line utilities to convert between JSON and YAML while preserving the
|
||||
order of associative arrays.
|
||||
|
||||
Preserving the mapping order is helpful to humans reading the documents, despite
|
||||
not affecting their meaning.
|
||||
|
||||
WWW: https://github.com/drbild/json2yaml
|
Loading…
Reference in New Issue
Block a user