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 4D3E8138334 for ; Sun, 3 Nov 2019 11:46:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 041A6E08AD; Sun, 3 Nov 2019 11:46:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 CF88BE08AD 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 407E334C78D 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 1451E8A5 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: <1572781570.93c15cd3f35765500aed9e9061a83dbe63ec11a7.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/llvm-ocaml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.ebuild dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.9999.ebuild X-VCS-Directories: dev-ml/llvm-ocaml/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 93c15cd3f35765500aed9e9061a83dbe63ec11a7 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: 73e9522c-3838-4828-b252-f6dcf6f6835e X-Archives-Hash: bb248ff51558a8b0aa747e91adc0ca24 commit: 93c15cd3f35765500aed9e9061a83dbe63ec11a7 Author: Michał Górny gentoo org> AuthorDate: Fri Nov 1 17:37:38 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Nov 3 11:46:10 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93c15cd3 dev-ml/llvm-ocaml: Port 9+ to llvm.org.eclass Signed-off-by: Michał Górny gentoo.org> dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild | 12 +++--------- dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.ebuild | 7 +++---- dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.9999.ebuild | 13 +++---------- 3 files changed, 9 insertions(+), 23 deletions(-) diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild index 986eb0186f7..4b0cb21a949 100644 --- a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild +++ b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild @@ -4,13 +4,12 @@ EAPI=7 PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) -inherit cmake-utils git-r3 llvm multiprocessing python-any-r1 +inherit cmake-utils llvm llvm.org multiprocessing python-any-r1 DESCRIPTION="OCaml bindings for LLVM" HOMEPAGE="https://llvm.org/" -SRC_URI="" -EGIT_REPO_URI="https://github.com/llvm/llvm-project.git" -S=${WORKDIR}/${P}/llvm +LLVM_COMPONENTS=( llvm ) +llvm.org_set_globals # Keep in sync with sys-devel/llvm ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC AVR ) @@ -49,11 +48,6 @@ pkg_setup() { python-any-r1_pkg_setup } -src_unpack() { - git-r3_fetch - git-r3_checkout '' '' '' llvm -} - src_prepare() { # Python is needed to run tests using lit python_setup diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.ebuild index bca23552f28..79b9b550b23 100644 --- a/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.ebuild +++ b/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.ebuild @@ -4,13 +4,12 @@ EAPI=7 PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) -inherit cmake-utils llvm multiprocessing python-any-r1 +inherit cmake-utils llvm llvm.org multiprocessing python-any-r1 -MY_P=llvm-${PV/_/}.src DESCRIPTION="OCaml bindings for LLVM" HOMEPAGE="https://llvm.org/" -SRC_URI="https://releases.llvm.org/${PV}/${MY_P}.tar.xz" -S=${WORKDIR}/${MY_P} +LLVM_COMPONENTS=( llvm ) +llvm.org_set_globals # Keep in sync with sys-devel/llvm ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.9999.ebuild index 5d4cd53080e..8084c82be3e 100644 --- a/dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.9999.ebuild +++ b/dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.9999.ebuild @@ -4,14 +4,12 @@ EAPI=7 PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) -inherit cmake-utils git-r3 llvm multiprocessing python-any-r1 +inherit cmake-utils llvm llvm.org multiprocessing python-any-r1 DESCRIPTION="OCaml bindings for LLVM" 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 +LLVM_COMPONENTS=( llvm ) +llvm.org_set_globals # Keep in sync with sys-devel/llvm ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430 @@ -48,11 +46,6 @@ pkg_setup() { python-any-r1_pkg_setup } -src_unpack() { - git-r3_fetch - git-r3_checkout '' '' '' llvm -} - src_prepare() { # Python is needed to run tests using lit python_setup