git: d4cd2db1055c - main - textproc/aq: New port: Extend jq for any data format
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 May 2024 17:16:14 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=d4cd2db1055c26faa899468998dc16684a782515 commit d4cd2db1055c26faa899468998dc16684a782515 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-05-04 16:24:13 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-05-04 17:16:05 +0000 textproc/aq: New port: Extend jq for any data format --- textproc/Makefile | 1 + textproc/aq/Makefile | 66 +++++++++++++++++++++++++++++++++++++++++ textproc/aq/distinfo | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++ textproc/aq/pkg-descr | 2 ++ 4 files changed, 150 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 35acdf46fbd5..a0ea16e4f6a1 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -58,6 +58,7 @@ SUBDIR += apache-xmlbeans SUBDIR += apertium SUBDIR += apertium-eng + SUBDIR += aq SUBDIR += arianna SUBDIR += asciidoc SUBDIR += asm-xml diff --git a/textproc/aq/Makefile b/textproc/aq/Makefile new file mode 100644 index 000000000000..04e629382c2c --- /dev/null +++ b/textproc/aq/Makefile @@ -0,0 +1,66 @@ +PORTNAME= aq +DISTVERSION= 0.3.0 +CATEGORIES= textproc + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Extend jq for any data format +WWW= https://github.com/rossmacarthur/aq + +LICENSE= APACHE20 MIT +LICENSE_COMB= dual +LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE +LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT + +RUN_DEPENDS= jq:textproc/jq + +USES= cargo + +USE_GITHUB= yes +GH_ACCOUNT= rossmacarthur + +CARGO_CRATES= anyhow-1.0.69 \ + autocfg-1.1.0 \ + bitflags-1.3.2 \ + cc-1.0.79 \ + errno-0.2.8 \ + errno-dragonfly-0.1.2 \ + hashbrown-0.12.3 \ + hermit-abi-0.3.1 \ + indexmap-1.9.2 \ + io-lifetimes-1.0.5 \ + is-terminal-0.4.3 \ + itoa-1.0.5 \ + libc-0.2.139 \ + linux-raw-sys-0.1.4 \ + memchr-2.5.0 \ + nom8-0.2.0 \ + rustix-0.36.8 \ + ryu-1.0.12 \ + serde-1.0.152 \ + serde-transcode-1.1.1 \ + serde_json-1.0.93 \ + serde_spanned-0.6.1 \ + serde_yaml-0.9.17 \ + toml-0.7.2 \ + toml_datetime-0.6.1 \ + toml_edit-0.19.3 \ + unsafe-libyaml-0.2.5 \ + winapi-0.3.9 \ + winapi-i686-pc-windows-gnu-0.4.0 \ + winapi-x86_64-pc-windows-gnu-0.4.0 \ + windows-sys-0.45.0 \ + windows-targets-0.42.1 \ + windows_aarch64_gnullvm-0.42.1 \ + windows_aarch64_msvc-0.42.1 \ + windows_i686_gnu-0.42.1 \ + windows_i686_msvc-0.42.1 \ + windows_x86_64_gnu-0.42.1 \ + windows_x86_64_gnullvm-0.42.1 \ + windows_x86_64_msvc-0.42.1 + +PLIST_FILES= bin/${PORTNAME} + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/textproc/aq/distinfo b/textproc/aq/distinfo new file mode 100644 index 000000000000..57855c4a6151 --- /dev/null +++ b/textproc/aq/distinfo @@ -0,0 +1,81 @@ +TIMESTAMP = 1714798194 +SHA256 (rust/crates/anyhow-1.0.69.crate) = 224afbd727c3d6e4b90103ece64b8d1b67fbb1973b1046c2281eed3f3803f800 +SIZE (rust/crates/anyhow-1.0.69.crate) = 43576 +SHA256 (rust/crates/autocfg-1.1.0.crate) = d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa +SIZE (rust/crates/autocfg-1.1.0.crate) = 13272 +SHA256 (rust/crates/bitflags-1.3.2.crate) = bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a +SIZE (rust/crates/bitflags-1.3.2.crate) = 23021 +SHA256 (rust/crates/cc-1.0.79.crate) = 50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f +SIZE (rust/crates/cc-1.0.79.crate) = 62624 +SHA256 (rust/crates/errno-0.2.8.crate) = f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1 +SIZE (rust/crates/errno-0.2.8.crate) = 9276 +SHA256 (rust/crates/errno-dragonfly-0.1.2.crate) = aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf +SIZE (rust/crates/errno-dragonfly-0.1.2.crate) = 1810 +SHA256 (rust/crates/hashbrown-0.12.3.crate) = 8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888 +SIZE (rust/crates/hashbrown-0.12.3.crate) = 102968 +SHA256 (rust/crates/hermit-abi-0.3.1.crate) = fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286 +SIZE (rust/crates/hermit-abi-0.3.1.crate) = 13793 +SHA256 (rust/crates/indexmap-1.9.2.crate) = 1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399 +SIZE (rust/crates/indexmap-1.9.2.crate) = 54627 +SHA256 (rust/crates/io-lifetimes-1.0.5.crate) = 1abeb7a0dd0f8181267ff8adc397075586500b81b28a73e8a0208b00fc170fb3 +SIZE (rust/crates/io-lifetimes-1.0.5.crate) = 35939 +SHA256 (rust/crates/is-terminal-0.4.3.crate) = 22e18b0a45d56fe973d6db23972bf5bc46f988a4a2385deac9cc29572f09daef +SIZE (rust/crates/is-terminal-0.4.3.crate) = 7701 +SHA256 (rust/crates/itoa-1.0.5.crate) = fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440 +SIZE (rust/crates/itoa-1.0.5.crate) = 10622 +SHA256 (rust/crates/libc-0.2.139.crate) = 201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79 +SIZE (rust/crates/libc-0.2.139.crate) = 638983 +SHA256 (rust/crates/linux-raw-sys-0.1.4.crate) = f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4 +SIZE (rust/crates/linux-raw-sys-0.1.4.crate) = 878981 +SHA256 (rust/crates/memchr-2.5.0.crate) = 2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d +SIZE (rust/crates/memchr-2.5.0.crate) = 65812 +SHA256 (rust/crates/nom8-0.2.0.crate) = ae01545c9c7fc4486ab7debaf2aad7003ac19431791868fb2e8066df97fad2f8 +SIZE (rust/crates/nom8-0.2.0.crate) = 162020 +SHA256 (rust/crates/rustix-0.36.8.crate) = f43abb88211988493c1abb44a70efa56ff0ce98f233b7b276146f1f3f7ba9644 +SIZE (rust/crates/rustix-0.36.8.crate) = 290808 +SHA256 (rust/crates/ryu-1.0.12.crate) = 7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde +SIZE (rust/crates/ryu-1.0.12.crate) = 47070 +SHA256 (rust/crates/serde-1.0.152.crate) = bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb +SIZE (rust/crates/serde-1.0.152.crate) = 77091 +SHA256 (rust/crates/serde-transcode-1.1.1.crate) = 590c0e25c2a5bb6e85bf5c1bce768ceb86b316e7a01bdf07d2cb4ec2271990e2 +SIZE (rust/crates/serde-transcode-1.1.1.crate) = 8271 +SHA256 (rust/crates/serde_json-1.0.93.crate) = cad406b69c91885b5107daf2c29572f6c8cdb3c66826821e286c533490c0bc76 +SIZE (rust/crates/serde_json-1.0.93.crate) = 144383 +SHA256 (rust/crates/serde_spanned-0.6.1.crate) = 0efd8caf556a6cebd3b285caf480045fcc1ac04f6bd786b09a6f11af30c4fcf4 +SIZE (rust/crates/serde_spanned-0.6.1.crate) = 7828 +SHA256 (rust/crates/serde_yaml-0.9.17.crate) = 8fb06d4b6cdaef0e0c51fa881acb721bed3c924cfaa71d9c94a3b771dfdf6567 +SIZE (rust/crates/serde_yaml-0.9.17.crate) = 63585 +SHA256 (rust/crates/toml-0.7.2.crate) = f7afcae9e3f0fe2c370fd4657108972cbb2fa9db1b9f84849cefd80741b01cb6 +SIZE (rust/crates/toml-0.7.2.crate) = 47107 +SHA256 (rust/crates/toml_datetime-0.6.1.crate) = 3ab8ed2edee10b50132aed5f331333428b011c99402b5a534154ed15746f9622 +SIZE (rust/crates/toml_datetime-0.6.1.crate) = 10765 +SHA256 (rust/crates/toml_edit-0.19.3.crate) = 5e6a7712b49e1775fb9a7b998de6635b299237f48b404dde71704f2e0e7f37e5 +SIZE (rust/crates/toml_edit-0.19.3.crate) = 93962 +SHA256 (rust/crates/unsafe-libyaml-0.2.5.crate) = bc7ed8ba44ca06be78ea1ad2c3682a43349126c8818054231ee6f4748012aed2 +SIZE (rust/crates/unsafe-libyaml-0.2.5.crate) = 61185 +SHA256 (rust/crates/winapi-0.3.9.crate) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419 +SIZE (rust/crates/winapi-0.3.9.crate) = 1200382 +SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6 +SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815 +SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f +SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998 +SHA256 (rust/crates/windows-sys-0.45.0.crate) = 75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0 +SIZE (rust/crates/windows-sys-0.45.0.crate) = 2568659 +SHA256 (rust/crates/windows-targets-0.42.1.crate) = 8e2522491fbfcd58cc84d47aeb2958948c4b8982e9a2d8a2a35bbaed431390e7 +SIZE (rust/crates/windows-targets-0.42.1.crate) = 5524 +SHA256 (rust/crates/windows_aarch64_gnullvm-0.42.1.crate) = 8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608 +SIZE (rust/crates/windows_aarch64_gnullvm-0.42.1.crate) = 362795 +SHA256 (rust/crates/windows_aarch64_msvc-0.42.1.crate) = 4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7 +SIZE (rust/crates/windows_aarch64_msvc-0.42.1.crate) = 664655 +SHA256 (rust/crates/windows_i686_gnu-0.42.1.crate) = de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640 +SIZE (rust/crates/windows_i686_gnu-0.42.1.crate) = 733428 +SHA256 (rust/crates/windows_i686_msvc-0.42.1.crate) = bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605 +SIZE (rust/crates/windows_i686_msvc-0.42.1.crate) = 722583 +SHA256 (rust/crates/windows_x86_64_gnu-0.42.1.crate) = c1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45 +SIZE (rust/crates/windows_x86_64_gnu-0.42.1.crate) = 697614 +SHA256 (rust/crates/windows_x86_64_gnullvm-0.42.1.crate) = 628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463 +SIZE (rust/crates/windows_x86_64_gnullvm-0.42.1.crate) = 362788 +SHA256 (rust/crates/windows_x86_64_msvc-0.42.1.crate) = 447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd +SIZE (rust/crates/windows_x86_64_msvc-0.42.1.crate) = 664606 +SHA256 (rossmacarthur-aq-0.3.0_GH0.tar.gz) = 7a3c3a9a6813c0dce3b3dd2dbaeed431cac20f5cb880b5010eec868db8ec8bb4 +SIZE (rossmacarthur-aq-0.3.0_GH0.tar.gz) = 11738 diff --git a/textproc/aq/pkg-descr b/textproc/aq/pkg-descr new file mode 100644 index 000000000000..229943a9663e --- /dev/null +++ b/textproc/aq/pkg-descr @@ -0,0 +1,2 @@ +aq extends jq for any data format. +Currently supports JSON, TOML, and YAML.