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 8AEE9158089 for ; Wed, 4 Oct 2023 22:21:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D418B2BC054; Wed, 4 Oct 2023 22:21:56 +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 BEF8F2BC054 for ; Wed, 4 Oct 2023 22:21:56 +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 10785335CDF for ; Wed, 4 Oct 2023 22:21:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B550E8EB for ; Wed, 4 Oct 2023 22:21:54 +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: <1696458106.91f1c92a3dd2a088373e7c3c3978042f4c0b387e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libunwind/libunwind-1.7.2.ebuild sys-libs/libunwind/libunwind-9999.ebuild X-VCS-Directories: sys-libs/libunwind/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 91f1c92a3dd2a088373e7c3c3978042f4c0b387e X-VCS-Branch: master Date: Wed, 4 Oct 2023 22:21:54 +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: ad7c9492-5d62-4f9a-a140-b97e8c240cac X-Archives-Hash: e5988655ca8484aa9f70905f805b4381 commit: 91f1c92a3dd2a088373e7c3c3978042f4c0b387e Author: Sam James gentoo org> AuthorDate: Wed Oct 4 22:21:34 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed Oct 4 22:21:46 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91f1c92a sys-libs/libunwind: add 9999 Needed for testing some arm64 (apple) bits. Signed-off-by: Sam James gentoo.org> sys-libs/libunwind/libunwind-1.7.2.ebuild | 25 ++++++++++++++++------ ...ibunwind-1.7.2.ebuild => libunwind-9999.ebuild} | 25 ++++++++++++++++------ 2 files changed, 38 insertions(+), 12 deletions(-) diff --git a/sys-libs/libunwind/libunwind-1.7.2.ebuild b/sys-libs/libunwind/libunwind-1.7.2.ebuild index da2467284362..e5cd9a5f96e9 100644 --- a/sys-libs/libunwind/libunwind-1.7.2.ebuild +++ b/sys-libs/libunwind/libunwind-1.7.2.ebuild @@ -13,20 +13,29 @@ LIBUNWIND_DOCS_VERSION=1.7.1 # Default to generating docs (inc. man pages) if no prebuilt; overridden later LIBUNWIND_DOCS_USEFLAG="+doc" -[[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] && LIBUNWIND_DOCS_USEFLAG="doc" - inherit multilib-minimal DESCRIPTION="Portable and efficient API to determine the call-chain of a program" HOMEPAGE="https://savannah.nongnu.org/projects/libunwind" -SRC_URI="https://github.com/libunwind/libunwind/releases/download/v${PV}/${P}.tar.gz" -if [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then - SRC_URI+=" !doc? ( https://dev.gentoo.org/~${LIBUNWIND_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBUNWIND_DOCS_VERSION}-docs.tar.xz )" + +if [[ ${PV} == 9999 ]] ; then + LIBUNWIND_DOCS_PREBUILT=0 + + EGIT_REPO_URI="https://github.com/libunwind/libunwind" + inherit autotools git-r3 +else + SRC_URI="https://github.com/libunwind/libunwind/releases/download/v${PV}/${P}.tar.gz" + if [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then + SRC_URI+=" !doc? ( https://dev.gentoo.org/~${LIBUNWIND_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBUNWIND_DOCS_VERSION}-docs.tar.xz )" + fi + + KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 -sparc x86 ~amd64-linux ~x86-linux" fi +[[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] && LIBUNWIND_DOCS_USEFLAG="doc" + LICENSE="MIT" SLOT="0/8" # libunwind.so.8 -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 -sparc x86 ~amd64-linux ~x86-linux" IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs test zlib" RESTRICT="test !test? ( test )" # some tests are broken (toolchain version dependent, rely on external binaries) @@ -66,6 +75,10 @@ src_prepare() { default chmod +x src/ia64/mk_cursor_i || die + + if [[ ${PV} == 9999 ]] ; then + eautoreconf + fi } multilib_src_configure() { diff --git a/sys-libs/libunwind/libunwind-1.7.2.ebuild b/sys-libs/libunwind/libunwind-9999.ebuild similarity index 84% copy from sys-libs/libunwind/libunwind-1.7.2.ebuild copy to sys-libs/libunwind/libunwind-9999.ebuild index da2467284362..f851e69da60a 100644 --- a/sys-libs/libunwind/libunwind-1.7.2.ebuild +++ b/sys-libs/libunwind/libunwind-9999.ebuild @@ -13,20 +13,29 @@ LIBUNWIND_DOCS_VERSION=1.7.1 # Default to generating docs (inc. man pages) if no prebuilt; overridden later LIBUNWIND_DOCS_USEFLAG="+doc" -[[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] && LIBUNWIND_DOCS_USEFLAG="doc" - inherit multilib-minimal DESCRIPTION="Portable and efficient API to determine the call-chain of a program" HOMEPAGE="https://savannah.nongnu.org/projects/libunwind" -SRC_URI="https://github.com/libunwind/libunwind/releases/download/v${PV}/${P}.tar.gz" -if [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then - SRC_URI+=" !doc? ( https://dev.gentoo.org/~${LIBUNWIND_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBUNWIND_DOCS_VERSION}-docs.tar.xz )" + +if [[ ${PV} == 9999 ]] ; then + LIBUNWIND_DOCS_PREBUILT=0 + + EGIT_REPO_URI="https://github.com/libunwind/libunwind" + inherit autotools git-r3 +else + SRC_URI="https://github.com/libunwind/libunwind/releases/download/v${PV}/${P}.tar.gz" + if [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then + SRC_URI+=" !doc? ( https://dev.gentoo.org/~${LIBUNWIND_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBUNWIND_DOCS_VERSION}-docs.tar.xz )" + fi + + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 -sparc ~x86 ~amd64-linux ~x86-linux" fi +[[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] && LIBUNWIND_DOCS_USEFLAG="doc" + LICENSE="MIT" SLOT="0/8" # libunwind.so.8 -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 -sparc x86 ~amd64-linux ~x86-linux" IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs test zlib" RESTRICT="test !test? ( test )" # some tests are broken (toolchain version dependent, rely on external binaries) @@ -66,6 +75,10 @@ src_prepare() { default chmod +x src/ia64/mk_cursor_i || die + + if [[ ${PV} == 9999 ]] ; then + eautoreconf + fi } multilib_src_configure() {