summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-08-15 01:20:50 +0100
committerSam James <sam@gentoo.org>2024-08-15 01:26:16 +0100
commit1b9d7396d4799d54e2975b44993a49e5fee2fc9a (patch)
tree61fd52fd8f96512da8f7274e9b51fe369fd92cf5 /dev-util/fq
parentsys-apps/moar: add 1.26.0 (diff)
downloadgentoo-1b9d7396d4799d54e2975b44993a49e5fee2fc9a.tar.gz
gentoo-1b9d7396d4799d54e2975b44993a49e5fee2fc9a.tar.bz2
gentoo-1b9d7396d4799d54e2975b44993a49e5fee2fc9a.zip
dev-util/fq: add 0.12.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/fq')
-rw-r--r--dev-util/fq/Manifest2
-rw-r--r--dev-util/fq/fq-0.12.0.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-util/fq/Manifest b/dev-util/fq/Manifest
index 94bfb8883307..1ae9255c7a29 100644
--- a/dev-util/fq/Manifest
+++ b/dev-util/fq/Manifest
@@ -2,5 +2,7 @@ DIST fq-0.10.0-deps.tar.xz 12289084 BLAKE2B b89d31408f2c6f522e2621959428eb665d60
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.12.0-deps.tar.xz 12362664 BLAKE2B c1453465b4ffee0103ce075c3df0157912b09b6614b68f8c7b219767579c815a297df75fd8a230f455f9235e6f9cce5df50e564b4d09303dd846549fd4b504cd SHA512 f94054a5ce888bffb757c36d8208ab3eae8f3793195d9cb5c199caf5c89eebb1a8827a19f9d60f341d29b65496ebbb1795946e63211f995a98bef605d8aef4bd
+DIST fq-0.12.0.tar.gz 17697247 BLAKE2B 90399317b2ede730379a2931eb8096fa276ef16ad7ffcc625fa839168dbc66638c1bc7d3fe3e57b70ada70db83bc634c8dedd5e008a49f05553eea6083bcb084 SHA512 d280865b300106784e91f66b44b21d82cf177cc8e5d91b9891202f41ca1399a64f0be572821c51141a6fd2a14267fe4dab03bbdd5c6fd2263e15bae934652264
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.12.0.ebuild b/dev-util/fq/fq-0.12.0.ebuild
new file mode 100644
index 000000000000..e41588bcdc59
--- /dev/null
+++ b/dev-util/fq/fq-0.12.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
+}