From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 486C315814C for ; Fri, 29 Sep 2023 23:54:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66D192BC017; Fri, 29 Sep 2023 23:54:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4ADBA2BC017 for ; Fri, 29 Sep 2023 23:54:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 43F3F335CAF for ; Fri, 29 Sep 2023 23:54:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B1D3A125A for ; Fri, 29 Sep 2023 23:54:29 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1696031614.e45d10e5aa7ca7589b5d2908c3de72679160cd7b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/fq/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/fq/Manifest dev-util/fq/fq-0.8.0.ebuild X-VCS-Directories: dev-util/fq/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e45d10e5aa7ca7589b5d2908c3de72679160cd7b X-VCS-Branch: master Date: Fri, 29 Sep 2023 23:54:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4e6ccc86-f123-4def-9fb8-fee6022d2710 X-Archives-Hash: 985ecf577d4b447960081b7ee65449fc commit: e45d10e5aa7ca7589b5d2908c3de72679160cd7b Author: Sam James gentoo org> AuthorDate: Fri Sep 29 23:53:34 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Sep 29 23:53:34 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e45d10e5 dev-util/fq: add 0.8.0 Signed-off-by: Sam James gentoo.org> dev-util/fq/Manifest | 2 ++ dev-util/fq/fq-0.8.0.ebuild | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-util/fq/Manifest b/dev-util/fq/Manifest index 7544fb8e3fa0..5faf666a4650 100644 --- a/dev-util/fq/Manifest +++ b/dev-util/fq/Manifest @@ -4,3 +4,5 @@ DIST fq-0.6.0-deps.tar.xz 23555196 BLAKE2B 9cdaefa577a4f795cdae1ad548a973439e3f9 DIST fq-0.6.0.tar.gz 14669090 BLAKE2B 6ad6be12df84e8c21f01679a1dcb94b9095735570843258fe302c5b1ac0d45305fdb4ad15fff287077ecdd20bc51af56f9036127e7dcfc23b69160dc4ee04d75 SHA512 625bef47f03115d52a960ce1afb5f850f8cd8a5414a12df3213fd3af6e6d9b7c0022dc62ee2d424d6dcbee828c9c8f233050e9d0afb880aac2864c2b24737f40 DIST fq-0.7.0-deps.tar.xz 30504100 BLAKE2B c5882e883ee63b6e342a1f492a7455fd51712ea4eba294f3f360293fc5acb9a561d92d1a1f5aadc81aba8cb8f9528b4f55cd17e0789d10770f2b130f16ddcadd SHA512 08cd7904056c571553621c9baf66b35a82dc4ef6ea608e5c3692155769293743ade964682e565d46ace2e26ab769b1dcb3b23933acda9fb82e6725cee682f761 DIST fq-0.7.0.tar.gz 14694306 BLAKE2B 5eb70ffd97b17d9c8b457939c05df2fe9c852766483914e877a72b07a03516d6c23220e08ad1209e0211ad27123f4782947004da7e67179a17460790b5e6d659 SHA512 6f04b705f466009c53e6626411f84346486a688bbc6ddb596e0b2f6dbae46b12734e0345fd4641883fda209fe0fee5c04cf65398bb9a4215b297d9ebc74c1372 +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 diff --git a/dev-util/fq/fq-0.8.0.ebuild b/dev-util/fq/fq-0.8.0.ebuild new file mode 100644 index 000000000000..5df96c3f076c --- /dev/null +++ b/dev-util/fq/fq-0.8.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2022-2023 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 +}