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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1E2FB15823F for ; Fri, 17 Nov 2023 13:58:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57C3E2BC020; Fri, 17 Nov 2023 13:58:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 2E3652BC020 for ; Fri, 17 Nov 2023 13:58:52 +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 64063335D02 for ; Fri, 17 Nov 2023 13:58:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F17DF1356 for ; Fri, 17 Nov 2023 13:58:49 +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: <1700229480.ced2df2d20af4f4165413494b231ef846387a0b3.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pv/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/pv/pv-1.8.0.ebuild sys-apps/pv/pv-9999.ebuild X-VCS-Directories: sys-apps/pv/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ced2df2d20af4f4165413494b231ef846387a0b3 X-VCS-Branch: master Date: Fri, 17 Nov 2023 13:58:49 +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: 157d9e88-fb75-4107-b567-0d43b01f58dc X-Archives-Hash: e11b75fe5963883a826802779cf9e539 commit: ced2df2d20af4f4165413494b231ef846387a0b3 Author: Sam James gentoo org> AuthorDate: Fri Nov 17 13:43:58 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Nov 17 13:58:00 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ced2df2d sys-apps/pv: add 9999 Needed to test upstream changes for tests. Signed-off-by: Sam James gentoo.org> sys-apps/pv/pv-1.8.0.ebuild | 23 +++++++++++++++++----- sys-apps/pv/{pv-1.8.0.ebuild => pv-9999.ebuild} | 26 ++++++++++++++++++------- 2 files changed, 37 insertions(+), 12 deletions(-) diff --git a/sys-apps/pv/pv-1.8.0.ebuild b/sys-apps/pv/pv-1.8.0.ebuild index c5442aa977e9..ca01ea55e00a 100644 --- a/sys-apps/pv/pv-1.8.0.ebuild +++ b/sys-apps/pv/pv-1.8.0.ebuild @@ -8,14 +8,21 @@ inherit linux-info toolchain-funcs verify-sig DESCRIPTION="Pipe Viewer: a tool for monitoring the progress of data through a pipe" HOMEPAGE="https://www.ivarch.com/programs/pv.shtml https://codeberg.org/a-j-wood/pv" -SRC_URI=" - https://www.ivarch.com/programs/sources/${P}.tar.gz - verify-sig? ( https://www.ivarch.com/programs/sources/${P}.tar.gz.txt -> ${P}.tar.gz.asc ) -" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://codeberg.org/a-j-wood/pv" + inherit autotools git-r3 +else + SRC_URI=" + https://www.ivarch.com/programs/sources/${P}.tar.gz + verify-sig? ( https://www.ivarch.com/programs/sources/${P}.tar.gz.txt -> ${P}.tar.gz.asc ) + " + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +fi LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="debug nls" BDEPEND="verify-sig? ( sec-keys/openpgp-keys-pv )" @@ -28,6 +35,12 @@ pkg_setup() { fi } +src_prepare() { + default + + [[ ${PV} == 9999 ]] && eautoreconf +} + src_configure() { tc-export AR diff --git a/sys-apps/pv/pv-1.8.0.ebuild b/sys-apps/pv/pv-9999.ebuild similarity index 61% copy from sys-apps/pv/pv-1.8.0.ebuild copy to sys-apps/pv/pv-9999.ebuild index c5442aa977e9..7d003e10536d 100644 --- a/sys-apps/pv/pv-1.8.0.ebuild +++ b/sys-apps/pv/pv-9999.ebuild @@ -8,14 +8,21 @@ inherit linux-info toolchain-funcs verify-sig DESCRIPTION="Pipe Viewer: a tool for monitoring the progress of data through a pipe" HOMEPAGE="https://www.ivarch.com/programs/pv.shtml https://codeberg.org/a-j-wood/pv" -SRC_URI=" - https://www.ivarch.com/programs/sources/${P}.tar.gz - verify-sig? ( https://www.ivarch.com/programs/sources/${P}.tar.gz.txt -> ${P}.tar.gz.asc ) -" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://codeberg.org/a-j-wood/pv" + inherit autotools git-r3 +else + SRC_URI=" + https://www.ivarch.com/programs/sources/${P}.tar.gz + verify-sig? ( https://www.ivarch.com/programs/sources/${P}.tar.gz.txt -> ${P}.tar.gz.asc ) + " + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +fi LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="debug nls" BDEPEND="verify-sig? ( sec-keys/openpgp-keys-pv )" @@ -28,6 +35,12 @@ pkg_setup() { fi } +src_prepare() { + default + + [[ ${PV} == 9999 ]] && eautoreconf +} + src_configure() { tc-export AR @@ -37,6 +50,5 @@ src_configure() { } src_test() { - # -j1: https://codeberg.org/a-j-wood/pv/issues/78 - emake -Onone check -j1 + emake -Onone check }