From 9434ed297963d9174aba2717341124c01ee1f0d7 Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Thu, 5 Dec 2024 07:14:11 +0100 Subject: [PATCH] net-misc/q: Do some housekeeping - Add the git commit ID of the release - Fixes for QA: EmptyGlobalAssignment: version 0.19.2: line 36: empty global assignment: IUSE="" EmptyGlobalAssignment: version 0.19.2: line 38: empty global assignment: DEPEND="" EmptyGlobalAssignment: version 0.19.2: line 40: empty global assignment: BDEPEND="" VariableOrderWrong: version 0.19.2: variable DESCRIPTION should occur before HOMEPAGE VariableOrderWrong: version 0.19.2: variable LICENSE should occur before KEYWORDS Signed-off-by: Nils Freydank --- net-misc/q/{q-0.19.2.ebuild => q-0.19.2-r1.ebuild} | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) rename net-misc/q/{q-0.19.2.ebuild => q-0.19.2-r1.ebuild} (94%) diff --git a/net-misc/q/q-0.19.2.ebuild b/net-misc/q/q-0.19.2-r1.ebuild similarity index 94% rename from net-misc/q/q-0.19.2.ebuild rename to net-misc/q/q-0.19.2-r1.ebuild index 616ca16..f61c361 100644 --- a/net-misc/q/q-0.19.2.ebuild +++ b/net-misc/q/q-0.19.2-r1.ebuild @@ -1,14 +1,14 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" EGO_PN="github.com/natesales/q" -COMMIT_ID="" +COMMIT_ID="0ca9b8b13fc69121144d85365c16b3e21508ffc3" inherit go-module -HOMEPAGE="https://github.com/natesales/q" DESCRIPTION="DNS client with support for UDP, TCP, DoT, DoH, DoQ and ODoH" +HOMEPAGE="https://github.com/natesales/q" if [[ ${PV} == *_p* ]]; then SRC_URI="https://${EGO_PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" @@ -29,15 +29,9 @@ fi SRC_URI+=" https://files.holgersson.xyz/gentoo/distfiles/golang-pkg-deps/${P}-deps.tar.xz" MY_PN="q-dns" -KEYWORDS="~amd64" LICENSE="AGPL-3 Apache-2.0 BSD BSD-2 GPL-3 MIT" - SLOT="0" -IUSE="" - -DEPEND="" -RDEPEND="${DEPEND}" -BDEPEND="" +KEYWORDS="~amd64" src_compile() { export CGO_ENABLED=0