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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7252F138334 for ; Sun, 3 Nov 2019 11:46:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8DA9AE091D; Sun, 3 Nov 2019 11:46:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 60473E091D for ; Sun, 3 Nov 2019 11:46:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E751934C78A for ; Sun, 3 Nov 2019 11:46:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C8B78A7 for ; Sun, 3 Nov 2019 11:46:28 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1572781573.bc3e82c78d2d861be2dc2bfd12de34b0661318e0.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/clang-common/clang-common-10.0.0.9999.ebuild sys-devel/clang-common/clang-common-9.0.0.ebuild sys-devel/clang-common/clang-common-9.0.1.9999.ebuild X-VCS-Directories: sys-devel/clang-common/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: bc3e82c78d2d861be2dc2bfd12de34b0661318e0 X-VCS-Branch: master Date: Sun, 3 Nov 2019 11:46:28 +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: 068dfca2-574c-4afd-80ba-56b1e14b307d X-Archives-Hash: 1e30694aa9d96e9546befe2fe9890404 commit: bc3e82c78d2d861be2dc2bfd12de34b0661318e0 Author: Michał Górny gentoo org> AuthorDate: Fri Nov 1 17:37:42 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Nov 3 11:46:13 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc3e82c7 sys-devel/clang-common: Port 9+ to llvm.org.eclass Signed-off-by: Michał Górny gentoo.org> .../clang-common/clang-common-10.0.0.9999.ebuild | 19 +++++-------------- sys-devel/clang-common/clang-common-9.0.0.ebuild | 19 +++++-------------- .../clang-common/clang-common-9.0.1.9999.ebuild | 20 +++++--------------- 3 files changed, 15 insertions(+), 43 deletions(-) diff --git a/sys-devel/clang-common/clang-common-10.0.0.9999.ebuild b/sys-devel/clang-common/clang-common-10.0.0.9999.ebuild index 6b707e3d41f..d1bfe71d2f8 100644 --- a/sys-devel/clang-common/clang-common-10.0.0.9999.ebuild +++ b/sys-devel/clang-common/clang-common-10.0.0.9999.ebuild @@ -3,13 +3,13 @@ EAPI=7 -inherit bash-completion-r1 git-r3 +inherit bash-completion-r1 llvm.org DESCRIPTION="Common files shared between multiple slots of clang" HOMEPAGE="https://llvm.org/" -SRC_URI="" -EGIT_REPO_URI="https://github.com/llvm/llvm-project.git" -S=${WORKDIR}/${P}/clang +LLVM_COMPONENTS=( clang/utils/bash-autocomplete.sh ) +llvm.org_set_globals +S=${WORKDIR}/clang/utils LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" @@ -18,15 +18,6 @@ IUSE="" PDEPEND="sys-devel/clang:*" -src_unpack() { - git-r3_fetch - git-r3_checkout '' '' '' clang/utils/bash-autocomplete.sh -} - -src_configure() { :; } -src_compile() { :; } -src_test() { :; } - src_install() { - newbashcomp utils/bash-autocomplete.sh clang + newbashcomp bash-autocomplete.sh clang } diff --git a/sys-devel/clang-common/clang-common-9.0.0.ebuild b/sys-devel/clang-common/clang-common-9.0.0.ebuild index 609bdcde4cc..3fc7a056a92 100644 --- a/sys-devel/clang-common/clang-common-9.0.0.ebuild +++ b/sys-devel/clang-common/clang-common-9.0.0.ebuild @@ -3,13 +3,13 @@ EAPI=7 -inherit bash-completion-r1 +inherit bash-completion-r1 llvm.org -MY_P=cfe-${PV/_/}.src DESCRIPTION="Common files shared between multiple slots of clang" HOMEPAGE="https://llvm.org/" -SRC_URI="https://releases.llvm.org/${PV}/${MY_P}.tar.xz" -S=${WORKDIR}/${MY_P} +LLVM_COMPONENTS=( clang/utils/bash-autocomplete.sh ) +llvm.org_set_globals +S=${WORKDIR}/clang/utils LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" @@ -18,15 +18,6 @@ IUSE="" PDEPEND="sys-devel/clang:*" -src_unpack() { - einfo "Unpacking parts of ${MY_P}.tar.xz ..." - tar -xJf "${DISTDIR}/${MY_P}.tar.xz" "${MY_P}/utils/bash-autocomplete.sh" || die -} - -src_configure() { :; } -src_compile() { :; } -src_test() { :; } - src_install() { - newbashcomp utils/bash-autocomplete.sh clang + newbashcomp bash-autocomplete.sh clang } diff --git a/sys-devel/clang-common/clang-common-9.0.1.9999.ebuild b/sys-devel/clang-common/clang-common-9.0.1.9999.ebuild index eecb0ff749d..d1bfe71d2f8 100644 --- a/sys-devel/clang-common/clang-common-9.0.1.9999.ebuild +++ b/sys-devel/clang-common/clang-common-9.0.1.9999.ebuild @@ -3,14 +3,13 @@ EAPI=7 -inherit bash-completion-r1 git-r3 +inherit bash-completion-r1 llvm.org DESCRIPTION="Common files shared between multiple slots of clang" HOMEPAGE="https://llvm.org/" -SRC_URI="" -EGIT_REPO_URI="https://github.com/llvm/llvm-project.git" -EGIT_BRANCH="release/9.x" -S=${WORKDIR}/${P}/clang +LLVM_COMPONENTS=( clang/utils/bash-autocomplete.sh ) +llvm.org_set_globals +S=${WORKDIR}/clang/utils LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" @@ -19,15 +18,6 @@ IUSE="" PDEPEND="sys-devel/clang:*" -src_unpack() { - git-r3_fetch - git-r3_checkout '' '' '' clang/utils/bash-autocomplete.sh -} - -src_configure() { :; } -src_compile() { :; } -src_test() { :; } - src_install() { - newbashcomp utils/bash-autocomplete.sh clang + newbashcomp bash-autocomplete.sh clang }