head 1.17; access; symbols pkgsrc-2023Q4:1.17.0.6 pkgsrc-2023Q4-base:1.17 pkgsrc-2023Q3:1.17.0.4 pkgsrc-2023Q3-base:1.17 pkgsrc-2023Q2:1.17.0.2 pkgsrc-2023Q2-base:1.17 pkgsrc-2023Q1:1.16.0.2 pkgsrc-2023Q1-base:1.16 pkgsrc-2022Q4:1.15.0.2 pkgsrc-2022Q4-base:1.15 pkgsrc-2022Q3:1.14.0.2 pkgsrc-2022Q3-base:1.14 pkgsrc-2022Q2:1.13.0.4 pkgsrc-2022Q2-base:1.13 pkgsrc-2022Q1:1.13.0.2 pkgsrc-2022Q1-base:1.13 pkgsrc-2021Q4:1.11.0.12 pkgsrc-2021Q4-base:1.11 pkgsrc-2021Q3:1.11.0.10 pkgsrc-2021Q3-base:1.11 pkgsrc-2021Q2:1.11.0.8 pkgsrc-2021Q2-base:1.11 pkgsrc-2021Q1:1.11.0.6 pkgsrc-2021Q1-base:1.11 pkgsrc-2020Q4:1.11.0.4 pkgsrc-2020Q4-base:1.11 pkgsrc-2020Q3:1.11.0.2 pkgsrc-2020Q3-base:1.11 pkgsrc-2020Q2:1.10.0.6 pkgsrc-2020Q2-base:1.10 pkgsrc-2020Q1:1.10.0.2 pkgsrc-2020Q1-base:1.10 pkgsrc-2019Q4:1.10.0.4 pkgsrc-2019Q4-base:1.10 pkgsrc-2019Q3:1.8.0.2 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.7.0.4 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.2 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.6.0.16 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.14 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.12 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.10 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.8 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.6 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.2 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.5.0.2 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.3.0.4 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.2 pkgsrc-2016Q3-base:1.3; locks; strict; comment @# @; 1.17 date 2023.04.10.13.54.21; author schmonz; state Exp; branches; next 1.16; commitid TJL3KQzQx8wnczkE; 1.16 date 2023.01.09.15.50.22; author fcambus; state Exp; branches; next 1.15; commitid xL0Jm7EeqVbvLS8E; 1.15 date 2022.10.30.16.52.29; author fcambus; state Exp; branches; next 1.14; commitid uqkFBpfpNaQioLZD; 1.14 date 2022.06.27.15.29.17; author fcambus; state Exp; branches; next 1.13; commitid IQmQDlWLRNqyWGJD; 1.13 date 2022.01.07.21.29.43; author fcambus; state Exp; branches; next 1.12; commitid ZNd4z8QiDaujrKnD; 1.12 date 2022.01.04.17.26.24; author fcambus; state Exp; branches; next 1.11; commitid 5Ol4dMKpWZFOblnD; 1.11 date 2020.07.19.07.41.36; author fcambus; state Exp; branches; next 1.10; commitid m1FVi3OE5c2i7FgC; 1.10 date 2019.12.25.12.49.27; author adam; state Exp; branches; next 1.9; commitid lN0qMyGnBq7At5QB; 1.9 date 2019.11.04.09.24.22; author fcambus; state Exp; branches; next 1.8; commitid tNQgcsF2MPtMYvJB; 1.8 date 2019.09.07.14.05.44; author fcambus; state Exp; branches; next 1.7; commitid k0jxRQaM4kZEo5CB; 1.7 date 2019.01.18.18.00.54; author kamil; state Exp; branches; next 1.6; commitid Us6MpX5gM26x9i8B; 1.6 date 2017.05.19.11.38.36; author fhajny; state Exp; branches; next 1.5; commitid sIkZLuO72RzsCZRz; 1.5 date 2017.01.27.11.33.11; author fhajny; state Exp; branches; next 1.4; commitid mh5t2qVzGvdvbBDz; 1.4 date 2017.01.04.12.44.59; author fhajny; state Exp; branches; next 1.3; commitid 9fQXdbOD3cW7kEAz; 1.3 date 2016.09.11.15.59.29; author kamil; state Exp; branches; next 1.2; commitid XXBC0ZgcerAY5Tlz; 1.2 date 2016.08.02.23.35.46; author wiz; state Exp; branches; next 1.1; commitid HBfPZLW3E8HnUMgz; 1.1 date 2016.07.26.17.29.22; author kamil; state Exp; branches; next ; commitid x1mZbUNVMeLy6Rfz; desc @@ 1.17 log @jo: install bash completion to what seems like the standard location. @ text @# $NetBSD: Makefile,v 1.16 2023/01/09 15:50:22 fcambus Exp $ DISTNAME= jo-1.9 PKGREVISION= 1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GITHUB:=jpmens/} GITHUB_RELEASE= ${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/jpmens/jo COMMENT= JSON output from a shell LICENSE= gnu-gpl-v2 USE_LANGUAGES= c c99 GNU_CONFIGURE= yes CONFIGURE_ENV+= bashcompdir=${PREFIX}/share/bash-completion/completions CONFIGURE_ENV+= ac_cv_path_PANDOC=none TEST_TARGET= check post-install: ${MV} ${DESTDIR}${PREFIX}/share/bash-completion/completions/${PKGBASE}.bash \ ${DESTDIR}${PREFIX}/share/bash-completion/completions/${PKGBASE} .include "../../mk/bsd.pkg.mk" @ 1.16 log @jo: update to 1.9. 2022-11-04 1.9 - FIX: fix reading of long lines from stdin (mk 2) (#195) - FIX: add missing test files (#196) 2022-11-04 1.8 - FIX: fix reading of long lines from stdin (mk 2) (#195) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2022/10/30 16:52:29 fcambus Exp $ d4 1 d16 1 a16 1 CONFIGURE_ENV+= bashcompdir=${PREFIX}/share/bash_completion.d d21 4 @ 1.15 log @jo: update to 1.7. 2022-10-29 1.7 - FIX: fix warnings on Windows build and reimplement err{x,} functions - FIX: fix reading of long lines from stdin and refactor slurp_file() in the process - NEW: Add option -o outfile for when not run from a shell and redirect '>' is not an option - FIX: fix tables in jo.md @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2022/06/27 15:29:17 fcambus Exp $ d3 1 a3 1 DISTNAME= jo-1.7 @ 1.14 log @*: drop maintainership for packages not related to toolchains and ELF. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2022/01/07 21:29:43 fcambus Exp $ d3 1 a3 1 DISTNAME= jo-1.6 @ 1.13 log @jo: update to 1.6. ChangeLog: 2022-01-05 1.6 - FIX: repair tests broken by AUTHORS change (#164) - FIX: repair make distcheck by removing copied _jo zsh functions @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2022/01/04 17:26:24 fcambus Exp $ d8 1 a8 1 MAINTAINER= fcambus@@NetBSD.org @ 1.12 log @jo: update to 1.5. ChangeLog: 2022-01-04 1.5 - NEW: replace asserts with human errors (#162) - NEW: zsh completion (#158) - FIX: stdin filter on Windows (# - FIX: several cleanups - NEW: Meson build - UPD: snap to newer base (#149) - NEW: option to deduplicate keys (#143, #145) - NEW: Filter functionality (#141) - FIX: file embedding - FIX: add missing tests to Makefile.am @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2020/07/19 07:41:36 fcambus Exp $ d3 1 a3 1 DISTNAME= jo-1.5 @ 1.11 log @jo: update to 1.4. ChangeLog: 2020-07-18 1.4 - FIX: Coercion flag logic now permits getopt(3) double-dash - FIX: Documentation clarifies special characters - FIX: Jo builds on snap builds (#110) - FIX: Jo builds on systems with slightly older pkg-config (#107) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2019/12/25 12:49:27 adam Exp $ d3 1 a3 1 DISTNAME= jo-1.4 d16 2 @ 1.10 log @jo: fix PLIST; bump revision @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2019/11/04 09:24:22 fcambus Exp $ d3 1 a3 2 DISTNAME= jo-1.3 PKGREVISION= 1 @ 1.9 log @jo: update to 1.3. ChangeLog: 2019-11-04 1.3 - FIX: Escaped @@ ("\@@") is treated as "@@" (#42, #103) - NEW: Support reading JSON array elements (#91) - UPD: Add home and removable-media interfaces to snap (#94) - FIX: fix unlikely crash after malloc fail when base64 encoding. - NEW: Support reading nested data from pipes (#82) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2019/09/07 14:05:44 fcambus Exp $ d4 1 d7 1 d14 1 a14 2 GITHUB_RELEASE= ${PKGVERSION_NOREV} d16 1 a16 3 USE_LANGUAGES= c c99 @ 1.8 log @jo: update my MAINTAINER email address. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2019/01/18 18:00:54 kamil Exp $ d3 1 a3 1 DISTNAME= jo-1.2 @ 1.7 log @jo: Update to 1.2 Patch submitted by Frederic Cambus, who takes maintainership. Upstream changelog ================== 2018-12-10 1.2 NEW: Dockerfile (#76) UPD: add examples of empty arrays/objects to manual (#74) NEW: support -e to ignore empty stdin; contributed by Robi Karp NEW: object-path support (#57) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2017/05/19 11:38:36 fhajny Exp $ d7 1 a7 1 MAINTAINER= fred@@statdns.com @ 1.6 log @Update textproc/jo to 1.1. - NEW: type coercion (#55) - FIX: quotes in quotes and double quotes at begin of string (#47) - FIX: catch null value in assignmen (#46) - NEW: support for key:=file.json for reading object values from a file (#43) - NEW: PPA contributed by Ross Duggan in #32 - FIX: "null" is now handled like we handle "true" and "false"; disable with -B - NEW: more tests in the test suite @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2017/01/27 11:33:11 fhajny Exp $ d3 1 a3 1 DISTNAME= jo-1.1 d7 1 a7 1 MAINTAINER= pkgsrc-users@@NetBSD.org d12 1 a12 1 GITHUB_RELEASE= v${PKGVERSION_NOREV} @ 1.5 log @This is the proper GITHUB_RELEASE, fixes fetching. No change to distfile hash. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2017/01/04 12:44:59 fhajny Exp $ d3 1 a3 1 DISTNAME= jo-1.0 d18 2 @ 1.4 log @Fix build on SunOS platforms. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2016/09/11 15:59:29 kamil Exp $ d12 1 a12 1 GITHUB_RELEASE= ${DISTNAME} @ 1.3 log @Reset maintainer to pkgsrc-users@@NetBSD.org Change requested by Frederic Cambus. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2016/08/02 23:35:46 wiz Exp $ a5 1 GITHUB_RELEASE= ${DISTNAME} d12 2 d16 2 @ 1.2 log @Use github framework properly so PR 51386 can be avoided in the future. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2016/07/26 17:29:22 kamil Exp $ d8 1 a8 1 MAINTAINER= fred@@statdns.com @ 1.1 log @Import jo-1.0 as textproc/jo jo creates a JSON string on stdout from words given it as arguments or read from stdin. Without option -a it generates an object whereby each word is a key=value (or key@@value) pair with key being the JSON object element and value its value. jo attempts to guess the type of value in order to create number (using strtod(3)), string, or null values in JSON. Originally packaged in pkgsrc-wip by Frederic Cambus. @ text @d1 1 a1 1 # $NetBSD$ d6 1 a6 1 GITHUB_TAG= v${PKGVERSION_NOREV} @