dev-util/fq: add 0.15.1

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-07-13 06:04:50 +01:00
parent c889c1c021
commit 09c288f2f1
2 changed files with 46 additions and 0 deletions

View File

@@ -4,3 +4,5 @@ DIST fq-0.14.0-deps.tar.xz 12137204 BLAKE2B 4ac73adb456f039fea274f8e8c7ab8fd104b
DIST fq-0.14.0.tar.gz 17885309 BLAKE2B ec4f2c80ee86cb9ebd01006104a35ff390d802b379b953288dc72e3a5a712a8425c9d4bc999a270f08a3d109b87ea5b436897eb917a4af8550421b0b94940fea SHA512 0b2bb193d18ff068a5dad84176ca36de63be56987819d3775f3e7a8384e1b78f9910989d761bb29d884d4f990a6df5a319393282977ae8a2432e81359e84d06c
DIST fq-0.15.0-deps.tar.xz 12166584 BLAKE2B 15361dcf080bb60777149328e42fe05c3f95161887452b81e98ea8c52bec7367e5979bc822d128b9803a47585b298a062c66405796513d5c3ba1d928a76d98d5 SHA512 c60bf5b0c9b43f937bdd53fd624ec07204f3fb6b21c8ff85b980118c0d718b2b2da7bc309d02659c7cca0c9883fa5d0de33756359b860198e4a2dfd972fc7569
DIST fq-0.15.0.tar.gz 17886893 BLAKE2B d1c12e40350caad3358624c2d878c22d7c968a7c8cbf8a305dd48197281ae0e7657818b646de11b14e5762ba6ad25071634538b08ef8be93a5fcc1a95519e81a SHA512 0406ac9d2381900688aade6c4604d38bca326ceb1cfde17d457780736c5d3f313605cbbf8482401b3d3f26dbcef16243a04da2b7e1d62c80d3995be1323517e2
DIST fq-0.15.1-deps.tar.xz 12415040 BLAKE2B d4e2f662af1aa222683120da75d21a496f86dc81225c1a69bd1e1ddeb62d8e11c24ce4d7ef261fccb63d4ddbedc8bd861e0d699ac8e26d3c403b9d53bc93d843 SHA512 7a0350e0895aafc5215afd3e8633f317779f39bfd6c9d3813d1006e25a9af38b39670c454b8566b35591bfe93d872663fe8118806c66aea1ba53bf0f7afb5b8c
DIST fq-0.15.1.tar.gz 17886366 BLAKE2B f285c85698d3cacefcbeb69e7169dc1e7924d58997ac1713660ff407f94869e8c0c585b46108ca75f9608d0796e963e582105b2ed28ccb958b54e1d5b353161f SHA512 e6723d47b8b620feffa96f6e706d56ce20b41e9ae7e7a2443a09fa37d13b24b92313f54a3354d40b37f93e44ffca1825bcec914a92db40665c51688f686b517b

View File

@@ -0,0 +1,44 @@
# Copyright 2022-2025 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"
# Dependent licenses
LICENSE+=" BSD BSD-2 MIT"
# Dependent licenses
LICENSE+=" BSD BSD-2 MIT"
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
}