json-yaml: Update to 1.2.1

Changes in 1.2.1:
 - Fixed: extraneous error message due to switch fallthrough.

Changes in 1.2:
 - Added: yaml-json to convert YAML back into JSON. Doesn't suport YAML
   aliases yet.
 - Changed: Makefile no longer hardcodes /usr/local/{include,lib}.
 - Changed: no longer requires nonstandard libc headers (err.h).
 - Changed: small documentation tweaks.
 - Removed: cleanup function; let OS handle it.
 - Removed: version number from usage output.
This commit is contained in:
sjmulder 2020-01-01 01:19:00 +00:00
parent c758c3f732
commit 550d17140c
4 changed files with 13 additions and 11 deletions

View file

@ -1,2 +1,2 @@
Convert JSON to YAML on the command line. Useful to get more readable output Convert JSON to YAML or YAML to JSON on the command line. Useful to get more
from web APIs and such. readable output from web APIs and such.

View file

@ -1,12 +1,12 @@
# $NetBSD: Makefile,v 1.3 2019/05/06 09:17:13 sjmulder Exp $ # $NetBSD: Makefile,v 1.4 2020/01/01 01:19:00 sjmulder Exp $
DISTNAME= json-yaml-1.1.2 DISTNAME= json-yaml-1.2.1
CATEGORIES= textproc CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=sjmulder/} MASTER_SITES= ${MASTER_SITE_GITHUB:=sjmulder/}
MAINTAINER= sjmulder@NetBSD.org MAINTAINER= sjmulder@NetBSD.org
HOMEPAGE= https://github.com/sjmulder/json-yaml/ HOMEPAGE= https://github.com/sjmulder/json-yaml/
COMMENT= Convert JSON to YAML COMMENT= Convert JSON to YAML and back
LICENSE= 2-clause-bsd LICENSE= 2-clause-bsd
INSTALL_MAKE_FLAGS+= MANPREFIX=${PREFIX}/${PKGMANDIR} INSTALL_MAKE_FLAGS+= MANPREFIX=${PREFIX}/${PKGMANDIR}

View file

@ -1,3 +1,5 @@
@comment $NetBSD: PLIST,v 1.2 2018/12/06 19:41:08 leot Exp $ @comment $NetBSD: PLIST,v 1.3 2020/01/01 01:19:00 sjmulder Exp $
bin/json-yaml bin/json-yaml
bin/yaml-json
man/man1/json-yaml.1 man/man1/json-yaml.1
man/man1/yaml-json.1

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.2 2018/12/06 19:41:08 leot Exp $ $NetBSD: distinfo,v 1.3 2020/01/01 01:19:00 sjmulder Exp $
SHA1 (json-yaml-1.1.2.tar.gz) = 52252bd2ad5200f0dd44f32e4d75dba558e0104c SHA1 (json-yaml-1.2.1.tar.gz) = 41e4e638db3c14ef4ffa9433caf9f7c10c03e456
RMD160 (json-yaml-1.1.2.tar.gz) = 975a9b54a30ffedd98b7163ad3dc4b399bb7d0ad RMD160 (json-yaml-1.2.1.tar.gz) = 87d0e805b6e5a4b6fdf201b3b993a7b4ca5aaabb
SHA512 (json-yaml-1.1.2.tar.gz) = 1aad3ae60b4a6215b894966f2857701911262e146be18c223c4ece4ca23fc4746038f0e5200807f29e2e1808ab124217122107b4790b7302fbcb3224e3f94c3e SHA512 (json-yaml-1.2.1.tar.gz) = b5fa09329205d4f8e2ff02f2a2e60085102af4d4c4b21fe3f4196bdf86a98c38fe4213da6ec52e3b15625d6254796541e1429b6728c076edb7d72e6cf30dc385
Size (json-yaml-1.1.2.tar.gz) = 4381 bytes Size (json-yaml-1.2.1.tar.gz) = 5409 bytes