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 A3C97158090 for ; Wed, 14 Feb 2024 23:29:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D1D8E29DB; Wed, 14 Feb 2024 23:29:16 +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 5FD12E29DB for ; Wed, 14 Feb 2024 23:29:16 +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 4B43034302F for ; Wed, 14 Feb 2024 23:29:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A6CD514C9 for ; Wed, 14 Feb 2024 23:29:13 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1707953277.ebc5eb8dd9edccf4bd13a4baa9ca2de6bf6d572f.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/shellcheck-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/shellcheck-bin/shellcheck-bin-0.9.0.ebuild X-VCS-Directories: dev-util/shellcheck-bin/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: ebc5eb8dd9edccf4bd13a4baa9ca2de6bf6d572f X-VCS-Branch: master Date: Wed, 14 Feb 2024 23:29:13 +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: 49313d3b-3f49-4a99-8aaf-1aafde211842 X-Archives-Hash: 1e3afbc70f175531dc2795d58c791c64 commit: ebc5eb8dd9edccf4bd13a4baa9ca2de6bf6d572f Author: Ionen Wolkens gentoo org> AuthorDate: Wed Feb 14 23:20:41 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Wed Feb 14 23:27:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebc5eb8d dev-util/shellcheck-bin: adjust ebuild style Signed-off-by: Ionen Wolkens gentoo.org> dev-util/shellcheck-bin/shellcheck-bin-0.9.0.ebuild | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/dev-util/shellcheck-bin/shellcheck-bin-0.9.0.ebuild b/dev-util/shellcheck-bin/shellcheck-bin-0.9.0.ebuild index 8085adc0f633..c6c33e14f8a3 100644 --- a/dev-util/shellcheck-bin/shellcheck-bin-0.9.0.ebuild +++ b/dev-util/shellcheck-bin/shellcheck-bin-0.9.0.ebuild @@ -1,28 +1,27 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -MY_PN=${PN/-bin/} -BASE_URI="https://github.com/koalaman/${MY_PN}/releases/download/v${PV}/${MY_PN}-v${PV}.linux" +SC_P=${PN%-bin}-v${PV} +SC_URI="https://github.com/koalaman/shellcheck/releases/download/v${PV}/${SC_P}.linux" DESCRIPTION="Shell script analysis tool (binary package)" HOMEPAGE="https://www.shellcheck.net/" SRC_URI=" - amd64? ( "${BASE_URI}".x86_64.tar.xz ) - arm? ( "${BASE_URI}".armv6hf.tar.xz ) - arm64? ( "${BASE_URI}".aarch64.tar.xz ) + amd64? ( ${SC_URI}.x86_64.tar.xz ) + arm64? ( ${SC_URI}.aarch64.tar.xz ) + arm? ( ${SC_URI}.armv6hf.tar.xz ) " +S=${WORKDIR}/${SC_P} LICENSE="GPL-3+" SLOT="0" KEYWORDS="-* amd64 ~arm arm64" -DEPEND="!dev-util/shellcheck" -RDEPEND="${DEPEND}" +RDEPEND="!dev-util/shellcheck" -QA_PREBUILT="/usr/bin/shellcheck" -S="${WORKDIR}/${MY_PN}-v${PV}" +QA_PREBUILT="usr/bin/shellcheck" src_install() { dobin shellcheck