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 26487138334 for ; Sun, 3 Nov 2019 11:46:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC67DE08AC; Sun, 3 Nov 2019 11:46:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 B7E3DE08AC for ; Sun, 3 Nov 2019 11:46:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 56C0D34C78E for ; Sun, 3 Nov 2019 11:46:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 282EB8A6 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: <1572781572.48e800a34207510703a668c562ad7f061a208ed5.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/lit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/lit/lit-10.0.0.9999.ebuild dev-python/lit/lit-9.0.0.ebuild dev-python/lit/lit-9.0.1.9999.ebuild X-VCS-Directories: dev-python/lit/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 48e800a34207510703a668c562ad7f061a208ed5 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: 68fc7316-ee5a-4db6-a2ad-09a56c6ab79d X-Archives-Hash: 38420853667d87e6fa25a83376d3d8a0 commit: 48e800a34207510703a668c562ad7f061a208ed5 Author: Michał Górny gentoo org> AuthorDate: Fri Nov 1 17:37:40 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Nov 3 11:46:12 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48e800a3 dev-python/lit: Port 9+ to llvm.org.eclass Signed-off-by: Michał Górny gentoo.org> dev-python/lit/lit-10.0.0.9999.ebuild | 12 +++--------- dev-python/lit/lit-9.0.0.ebuild | 12 +++--------- dev-python/lit/lit-9.0.1.9999.ebuild | 13 +++---------- 3 files changed, 9 insertions(+), 28 deletions(-) diff --git a/dev-python/lit/lit-10.0.0.9999.ebuild b/dev-python/lit/lit-10.0.0.9999.ebuild index 05acb219e32..e051ca51410 100644 --- a/dev-python/lit/lit-10.0.0.9999.ebuild +++ b/dev-python/lit/lit-10.0.0.9999.ebuild @@ -4,13 +4,12 @@ EAPI=7 PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) -inherit distutils-r1 git-r3 multiprocessing +inherit distutils-r1 llvm.org multiprocessing DESCRIPTION="A stand-alone install of the LLVM suite testing tool" HOMEPAGE="https://llvm.org/" -SRC_URI="" -EGIT_REPO_URI="https://github.com/llvm/llvm-project.git" -S=${WORKDIR}/${P}/llvm/utils/lit +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" @@ -27,11 +26,6 @@ BDEPEND=" # TODO: move the manpage generation here (from sys-devel/llvm) -src_unpack() { - git-r3_fetch - git-r3_checkout '' '' '' llvm/utils/lit -} - python_test() { local -x LIT_PRESERVES_TMP=1 ./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" \ diff --git a/dev-python/lit/lit-9.0.0.ebuild b/dev-python/lit/lit-9.0.0.ebuild index 379734458ba..cbc3d5b9e6d 100644 --- a/dev-python/lit/lit-9.0.0.ebuild +++ b/dev-python/lit/lit-9.0.0.ebuild @@ -4,13 +4,12 @@ EAPI=7 PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) -inherit distutils-r1 multiprocessing +inherit distutils-r1 llvm.org multiprocessing -MY_P=llvm-${PV/_/}.src DESCRIPTION="A stand-alone install of the LLVM suite testing tool" HOMEPAGE="https://llvm.org/" -SRC_URI="https://releases.llvm.org/${PV}/${MY_P}.tar.xz" -S=${WORKDIR}/${MY_P}/utils/lit +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" @@ -27,11 +26,6 @@ BDEPEND=" # TODO: move the manpage generation here (from sys-devel/llvm) -src_unpack() { - einfo "Unpacking parts of ${MY_P}.tar.xz ..." - tar -xJf "${DISTDIR}/${MY_P}.tar.xz" "${MY_P}/utils/lit" || die -} - python_test() { local -x LIT_PRESERVES_TMP=1 ./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" \ diff --git a/dev-python/lit/lit-9.0.1.9999.ebuild b/dev-python/lit/lit-9.0.1.9999.ebuild index ca1cce6c00b..e051ca51410 100644 --- a/dev-python/lit/lit-9.0.1.9999.ebuild +++ b/dev-python/lit/lit-9.0.1.9999.ebuild @@ -4,14 +4,12 @@ EAPI=7 PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) -inherit distutils-r1 git-r3 multiprocessing +inherit distutils-r1 llvm.org multiprocessing DESCRIPTION="A stand-alone install of the LLVM suite testing tool" HOMEPAGE="https://llvm.org/" -SRC_URI="" -EGIT_REPO_URI="https://github.com/llvm/llvm-project.git" -EGIT_BRANCH="release/9.x" -S=${WORKDIR}/${P}/llvm/utils/lit +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" @@ -28,11 +26,6 @@ BDEPEND=" # TODO: move the manpage generation here (from sys-devel/llvm) -src_unpack() { - git-r3_fetch - git-r3_checkout '' '' '' llvm/utils/lit -} - python_test() { local -x LIT_PRESERVES_TMP=1 ./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" \