./textproc/yq [jq wrapper for YAML/XML documents]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 2.12.2, Package name: yq-2.12.2
Maintained by: Klemens Nanni
Master sites:
Description
yq takes YAML input, converts it to JSON, and filters it through jq(1).

No output conversion is done by default. Command line arguments are forwarded.
yq exits 1 on YAML parsing errors, otherwise jq's exit code is forwarded.

YAML tags in the input are ignored (any nested data is treated as untagged).
Key order is preserved.

xq behaves like yq but takes XML input. Multiple XML documents can be passed
in separate files/streams. Entity expansion and DTD resolution is disabled to
avoid XML parsing vulnerabilities.


Filesize: 240.638 KB
Version History (View Complete History)
  • (2021-06-19) Updated to version: yq-2.12.2
  • (2021-02-09) Updated to version: yq-2.12.0
  • (2020-10-11) Updated to version: yq-2.11.1
  • (2020-05-15) Updated to version: yq-2.10.1
  • (2019-12-25) Updated to version: yq-2.10.0
  • (2019-11-10) Updated to version: yq-2.9.2
  • (2019-11-06) Package added to openports.se, version yq-2.7.2 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2021-06-19 06:09:54 by Klemens Nanni | Files touched by this commit (2)
Log message:
Update to yq 2.12.2
- Handle -n correctly
- Do not close fds on child process (2.12.1)
   2021-02-23 12:39:53 by Stuart Henderson | Files touched by this commit (743)
Log message:
Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.
This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.
Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
   2021-02-08 13:36:56 by Klemens Nanni | Files touched by this commit (3)
Log message:
Update to yq 2.12.0
- Add TOML support and the tomlq CLI utility to access it
- Drop Python 2.7 support
   2020-10-10 12:34:06 by Klemens Nanni | Files touched by this commit (3)
Log message:
Update to yq 2.11.1
   2020-07-03 15:13:23 by Stuart Henderson | Files touched by this commit (1032)
Log message:
bump REVISION; python 3 default changed to 3.8
   2020-05-14 13:05:57 by Klemens Nanni | Files touched by this commit (2)
Log message:
Update to yq 2.10.1
- Add support for xmltodict force_list definition for xq CLI (#95)
- Support explicit doc markers (#93)
- Ensure proper ordering of help messages (#90)
   2019-12-24 12:24:31 by Klemens Nanni | Files touched by this commit (2)
Log message:
Update to yq 2.10.0
- Add support for in-place editing (yq -yi)
- Add argcomplete integration
   2019-11-23 16:49:17 by Kurt Mosiejczuk | Files touched by this commit (1)
Log message:
Move tests to MODPY_PYTEST and make results more legible
   2019-11-09 10:41:10 by Klemens Nanni | Files touched by this commit (3)
Log message:
Update to yq 2.9.2
- Fix interrupted release
- Fix documentation build
- Add -Y/–yaml-roundtrip for preserving YAML styles and tags
- Filter out -C and separate commingled yq and jq short options
- Set default block sequence indentation to 2 spaces, –indentless for 0
- Make main body of yq callable as a library function
- Test and release infrastructure updates