summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-04-15 08:24:48 +0100
committerSam James <sam@gentoo.org>2024-04-15 08:26:58 +0100
commit9f6cf8251bb62b31939e6cbc4529667324753af3 (patch)
treec95ffbc70cdd2e3ac51adb7d9f1bfd0482ab0893 /dev-util
parentsys-apps/moar: add 1.23.10 (diff)
downloadgentoo-9f6cf8251bb62b31939e6cbc4529667324753af3.tar.gz
gentoo-9f6cf8251bb62b31939e6cbc4529667324753af3.tar.bz2
gentoo-9f6cf8251bb62b31939e6cbc4529667324753af3.zip
dev-util/fq: add 0.11.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/fq/Manifest2
-rw-r--r--dev-util/fq/fq-0.11.0.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-util/fq/Manifest b/dev-util/fq/Manifest
index bcbf1cde337c..94bfb8883307 100644
--- a/dev-util/fq/Manifest
+++ b/dev-util/fq/Manifest
@@ -1,4 +1,6 @@
DIST fq-0.10.0-deps.tar.xz 12289084 BLAKE2B b89d31408f2c6f522e2621959428eb665d60f37c5a77d1d1a518d47368f742cd740be1091b207a6299f01a69ee937c5b5a0be7828ed28488f9dd5688c8020a31 SHA512 8df16ec29d87d7392b602def400a09f9d047e548c96a77cd63f36f96e749d43a92711cb472e1a4a45cbdff2a42d820f89e6b26675b38b6b31a1dea203baf20e0
DIST fq-0.10.0.tar.gz 17319298 BLAKE2B 98bedb4cd1322f33eaeea68895a53d54d10c59477104bc597c06a737d9f2cc354307b9f51eba66e691387184160e1cfe2c13f2a2ba8dee1e82eaadfeb33b07d7 SHA512 8cc179721de4b8b268dcd41c53b7c689b30574ea9f3c4f796115255b0dd8a2e681f955c2b2a0dc364f4e15aad582ea0a0aa038d4cee7c7bb79f5096d467883a3
+DIST fq-0.11.0-deps.tar.xz 12384484 BLAKE2B 5b60f1f5d0189ab9d734f24a119a67529fff118ef737300551d820d6b3b2ad6a33c7423b947717583e2765280ae52560aa3f4dfbb6827092c42fa948ddc682dd SHA512 5a0ea43891dae644b386b6236e214b9459c3b40ee03bf49547abe930f097a109ba6c9655a88050cd64b0d45fb29b8f0b4c6088d40874d4ba4dba0dfed952369b
+DIST fq-0.11.0.tar.gz 17696740 BLAKE2B 6f1bd80bdc13a3c271311440869905dbadee229af6243e6121216604e55216deba7fa02838cf7f0bdef9cfc3202ae3132eb60ad90b6b75f3e5731fd2ce076f9c SHA512 a953046f1d12e6bd519d8f54521e3d48a727b8acfb0f3ff63cee139f97b35e54399e16158a1dda719f2068322fe377eff11200870e4db28992176598ee2b4efe
DIST fq-0.9.0-deps.tar.xz 12255984 BLAKE2B b14169dd1f6889ee7c8460d11e5e8306ff96b85c68865d4335bb2cb42df85eb3f30423e55647ba3e4568115f6d68fab576a369a3662614d51c17355ca927f52b SHA512 ffed1929c17c6397df2a4845034014a8d33400caa6579e79e637818a03340be47c449ec258174dc980cbbc3abab3d691449430b23da790ff860999122412b461
DIST fq-0.9.0.tar.gz 15107174 BLAKE2B 4ab47ff8e726d1af9785cf9d83e628235cd43ef659c93a5a15759f7844f5c323e0e4ae82dea45b7b9c756f9cb264c0f7164a9fbe6fecdde1478f94c6a3301784 SHA512 4b8fdf25cd4aa255d4f689d612c1f43997e277fa4b4f522a0b346ec55ebdbeef93a20fdfb78a2c23df16a475c70abebec507145f0fb8d2ca1d3f564076b2ddad
diff --git a/dev-util/fq/fq-0.11.0.ebuild b/dev-util/fq/fq-0.11.0.ebuild
new file mode 100644
index 000000000000..e41588bcdc59
--- /dev/null
+++ b/dev-util/fq/fq-0.11.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="Tool for working with binary data (app-misc/jq for binary formats)"
+HOMEPAGE="https://github.com/wader/fq"
+SRC_URI="https://github.com/wader/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz"
+
+LICENSE="MIT BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-tcltk/expect )"
+
+src_prepare() {
+ default
+
+ # Don't unconditionally (and therefore twice) build tests
+ # TODO: upstream
+ sed -i -e 's/all: test fq/all: fq/' Makefile || die
+}
+
+src_compile() {
+ # Avoid -s being set in Makefile (stripping)
+ export GO_BUILD_LDFLAGS="-w"
+
+ default
+}
+
+src_install() {
+ einstalldocs
+
+ dobin fq
+}