From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1469552-garchives=archives.gentoo.org@lists.gentoo.org>
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 40213158020
	for <garchives@archives.gentoo.org>; Tue, 20 Dec 2022 09:38:37 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 7251DE0965;
	Tue, 20 Dec 2022 09:38:36 +0000 (UTC)
Received: from smtp.gentoo.org (mail.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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 42C04E0965
	for <gentoo-commits@lists.gentoo.org>; Tue, 20 Dec 2022 09:38:36 +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 70F42341479
	for <gentoo-commits@lists.gentoo.org>; Tue, 20 Dec 2022 09:38:35 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D3377703
	for <gentoo-commits@lists.gentoo.org>; Tue, 20 Dec 2022 09:38:33 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1671529082.186da07aa7b9ce8ca4c124bd3b6068fe95f034e2.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/libabigail/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-util/libabigail/libabigail-2.2.ebuild dev-util/libabigail/libabigail-9999.ebuild
X-VCS-Directories: dev-util/libabigail/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 186da07aa7b9ce8ca4c124bd3b6068fe95f034e2
X-VCS-Branch: master
Date: Tue, 20 Dec 2022 09:38:33 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: b095839e-073b-4d45-b9c8-ee8372d3708b
X-Archives-Hash: ebca1d0c168cf4ddaa84ad1605f1c0e8

commit:     186da07aa7b9ce8ca4c124bd3b6068fe95f034e2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 20 09:37:34 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 20 09:38:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=186da07a

dev-util/libabigail: add live ebuild

Useful for testing recent changes/fixes for ghostscript at least.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/libabigail/libabigail-2.2.ebuild               | 17 ++++++++++++-----
 .../{libabigail-2.2.ebuild => libabigail-9999.ebuild}   | 17 ++++++++++++-----
 2 files changed, 24 insertions(+), 10 deletions(-)

diff --git a/dev-util/libabigail/libabigail-2.2.ebuild b/dev-util/libabigail/libabigail-2.2.ebuild
index e57b7f1c2158..3bd31a3ad9b3 100644
--- a/dev-util/libabigail/libabigail-2.2.ebuild
+++ b/dev-util/libabigail/libabigail-2.2.ebuild
@@ -20,15 +20,22 @@ inherit autotools bash-completion-r1 python-any-r1 out-of-source
 
 DESCRIPTION="Suite of tools for checking ABI differences between ELF objects"
 HOMEPAGE="https://sourceware.org/libabigail/"
-SRC_URI="https://mirrors.kernel.org/sourceware/libabigail/${P}.tar.xz"
-if [[ ${LIBABIGAIL_DOCS_PREBUILT} == 1 ]] ; then
-	SRC_URI+=" !doc? ( https://dev.gentoo.org/~${LIBABIGAIL_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBABIGAIL_DOCS_VERSION}-docs.tar.xz )"
-	LIBABIGAIL_DOCS_USEFLAG="doc"
+if [[ ${PV} == 9999 ]] ; then
+	LIBABIGAIL_DOCS_PREBUILT=0
+	EGIT_REPO_URI="https://sourceware.org/git/libabigail.git"
+	inherit git-r3
+else
+	SRC_URI="https://mirrors.kernel.org/sourceware/libabigail/${P}.tar.xz"
+	if [[ ${LIBABIGAIL_DOCS_PREBUILT} == 1 ]] ; then
+		SRC_URI+=" !doc? ( https://dev.gentoo.org/~${LIBABIGAIL_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBABIGAIL_DOCS_VERSION}-docs.tar.xz )"
+		LIBABIGAIL_DOCS_USEFLAG="doc"
+	fi
+
+	KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv"
 fi
 
 LICENSE="Apache-2.0-with-LLVM-exceptions"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv"
 IUSE="${LIBABIGAIL_DOCS_USEFLAG} test"
 RESTRICT="!test? ( test )"
 

diff --git a/dev-util/libabigail/libabigail-2.2.ebuild b/dev-util/libabigail/libabigail-9999.ebuild
similarity index 82%
copy from dev-util/libabigail/libabigail-2.2.ebuild
copy to dev-util/libabigail/libabigail-9999.ebuild
index e57b7f1c2158..3bd31a3ad9b3 100644
--- a/dev-util/libabigail/libabigail-2.2.ebuild
+++ b/dev-util/libabigail/libabigail-9999.ebuild
@@ -20,15 +20,22 @@ inherit autotools bash-completion-r1 python-any-r1 out-of-source
 
 DESCRIPTION="Suite of tools for checking ABI differences between ELF objects"
 HOMEPAGE="https://sourceware.org/libabigail/"
-SRC_URI="https://mirrors.kernel.org/sourceware/libabigail/${P}.tar.xz"
-if [[ ${LIBABIGAIL_DOCS_PREBUILT} == 1 ]] ; then
-	SRC_URI+=" !doc? ( https://dev.gentoo.org/~${LIBABIGAIL_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBABIGAIL_DOCS_VERSION}-docs.tar.xz )"
-	LIBABIGAIL_DOCS_USEFLAG="doc"
+if [[ ${PV} == 9999 ]] ; then
+	LIBABIGAIL_DOCS_PREBUILT=0
+	EGIT_REPO_URI="https://sourceware.org/git/libabigail.git"
+	inherit git-r3
+else
+	SRC_URI="https://mirrors.kernel.org/sourceware/libabigail/${P}.tar.xz"
+	if [[ ${LIBABIGAIL_DOCS_PREBUILT} == 1 ]] ; then
+		SRC_URI+=" !doc? ( https://dev.gentoo.org/~${LIBABIGAIL_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBABIGAIL_DOCS_VERSION}-docs.tar.xz )"
+		LIBABIGAIL_DOCS_USEFLAG="doc"
+	fi
+
+	KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv"
 fi
 
 LICENSE="Apache-2.0-with-LLVM-exceptions"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv"
 IUSE="${LIBABIGAIL_DOCS_USEFLAG} test"
 RESTRICT="!test? ( test )"