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 562D1158020 for ; Fri, 23 Dec 2022 08:55:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9AA9FE075F; Fri, 23 Dec 2022 08:55:51 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7A5FEE075F for ; Fri, 23 Dec 2022 08:55:51 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7B2EF340E03 for ; Fri, 23 Dec 2022 08:55:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C951677C for ; Fri, 23 Dec 2022 08:55:48 +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: <1671785681.13411b70bf6fbae0398bc481f6a262ed1b74ed09.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.1.0.ebuild dev-util/fq/metadata.xml X-VCS-Directories: dev-util/fq/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 13411b70bf6fbae0398bc481f6a262ed1b74ed09 X-VCS-Branch: master Date: Fri, 23 Dec 2022 08:55:48 +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: eb01d77e-644b-4062-892e-559879406b8e X-Archives-Hash: 574c19576285adf048371f854e84df84 commit: 13411b70bf6fbae0398bc481f6a262ed1b74ed09 Author: Sam James gentoo org> AuthorDate: Fri Dec 23 08:53:53 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Dec 23 08:54:41 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13411b70 dev-util/fq: new package, add 0.1.0 Signed-off-by: Sam James gentoo.org> dev-util/fq/Manifest | 2 ++ dev-util/fq/fq-0.1.0.ebuild | 37 +++++++++++++++++++++++++++++++++++++ dev-util/fq/metadata.xml | 11 +++++++++++ 3 files changed, 50 insertions(+) diff --git a/dev-util/fq/Manifest b/dev-util/fq/Manifest new file mode 100644 index 000000000000..10f17360ce3b --- /dev/null +++ b/dev-util/fq/Manifest @@ -0,0 +1,2 @@ +DIST fq-0.1.0-deps.tar.xz 23497408 BLAKE2B 2ea9edad64f5d077026db99b6d981a443a7c5f5501b4525311512100fb68674bfd9f884908af845a007579d45b5e199bbaf8139a5ed0cee764167459bc62072f SHA512 0b028de7c909077253309d6f16d7bb036b67fb9db6716327d6fe403e7e491f1a56547f91159302e19a8bb578ffdcd74bcb1eab80f1ed65be9f11b4c35fbaf0d9 +DIST fq-0.1.0.tar.gz 8549022 BLAKE2B e4a7d8240f6f9adadab95d66b79747417290d24b53dc1b07c9f2cd526ef86f93f932ba15072cef050d9e3da2f1212ee76da5265345d665796c109bb4b104f0f7 SHA512 3cc81962c9a31343109743f9de7b73939df9165d4d5dd4beff3790e85e435c0344fa44f59a66153d9235ed156e9bee0f93e63b36c492d337547c6cf1712132ed diff --git a/dev-util/fq/fq-0.1.0.ebuild b/dev-util/fq/fq-0.1.0.ebuild new file mode 100644 index 000000000000..ae862b026637 --- /dev/null +++ b/dev-util/fq/fq-0.1.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022 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 (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" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( dev-tcltk/expect )" + +src_prepare() { + default + + # https://github.com/wader/fq/issues/494 + sed -i -e '/test_repl.exp/d' Makefile || die +} + +src_compile() { + # Avoid -s being set in Makefile (stripping) + export GO_BUILD_LDFLAGS="-w" + + default +} + +src_install() { + dobin fq +} diff --git a/dev-util/fq/metadata.xml b/dev-util/fq/metadata.xml new file mode 100644 index 000000000000..df8d11274d38 --- /dev/null +++ b/dev-util/fq/metadata.xml @@ -0,0 +1,11 @@ + + + + + sam@gentoo.org + Sam James + + + wader/fq + +