summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-02-27 21:54:54 +0000
committerSam James <sam@gentoo.org>2024-02-27 21:59:01 +0000
commit4ca2d52ab1880d43b7dfc89b7cff9a63e111180a (patch)
treefbefc8902bb2c307c2b89d4d784cb4bbe0a3551a /dev-util
parentapp-crypt/pinentry: backport include fix (diff)
downloadgentoo-4ca2d52ab1880d43b7dfc89b7cff9a63e111180a.tar.gz
gentoo-4ca2d52ab1880d43b7dfc89b7cff9a63e111180a.tar.bz2
gentoo-4ca2d52ab1880d43b7dfc89b7cff9a63e111180a.zip
dev-util/fq: add 0.10.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.10.0.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-util/fq/Manifest b/dev-util/fq/Manifest
index b337a71ef730..4fcee844bc68 100644
--- a/dev-util/fq/Manifest
+++ b/dev-util/fq/Manifest
@@ -1,3 +1,5 @@
+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.8.0-deps.tar.xz 30680132 BLAKE2B df9eed4dd0fd04c114293286aeb57d8c29ef8d09577f433c3c50cde32ccb87985efc5e7f5b4be30a9ff47ad0d072ff2989868dec5d74721bd809f93960ee15f1 SHA512 97dbe3467a8ca388b7345da11d67a7b84f77b38ec2c114ceb223eceb7fcf1b682d6e531c30fa0134b1f3fd9461f6b98e381ebcc6a12386f630460a3b6d778077
DIST fq-0.8.0.tar.gz 15152198 BLAKE2B 5e07106adc7539225a47c0e06eed5731c0c5b121c6206afa54eaf5598d56c7a00ea7cc984afc6808fb28964e999cee91bec587ece2cf5ef0b3b5f85faf50b1dd SHA512 b9733ecb2b8ffaac564c1fb18d4fab1fe1a2b3307f42c1ac1968d5f2f74e4ca37c16add2a6e366d65e60173967e1317f6c6383d414e9ff95d0fc8f5dcefa9637
DIST fq-0.9.0-deps.tar.xz 30756668 BLAKE2B 6e5ca0ba9c595f3907c0e0fd5330360cea5c60a2a8d6c3501a333f1084380563c7d7bdd13030659cd2a1bfaf38e6a5d529b53734b3f39e7715a39f51f3efce81 SHA512 e1061470c0bc863f0a2a96a5fc2ebbca8262a5e67856fe0caa39c88ccca4d5e1411e9a14befbf11b0511bbc19ba90c14917aa91b808dbc5531201c40cd0dfb64
diff --git a/dev-util/fq/fq-0.10.0.ebuild b/dev-util/fq/fq-0.10.0.ebuild
new file mode 100644
index 000000000000..e41588bcdc59
--- /dev/null
+++ b/dev-util/fq/fq-0.10.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
+}