commit:     306d02dba5fd17bf291bcf83acde372f3fcdd25d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  1 08:34:33 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov  1 13:15:41 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=306d02db

dev-ml/llvm-ocaml: Switch live to monorepo

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild |  9 +++++++--
 dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.9999.ebuild  | 11 ++++++++---
 2 files changed, 15 insertions(+), 5 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 b0d581bd9ff..664c0aa4484 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
@@ -13,8 +13,8 @@ inherit cmake-utils git-r3 llvm multiprocessing python-any-r1
 DESCRIPTION="OCaml bindings for LLVM"
 HOMEPAGE="https://llvm.org/";
 SRC_URI=""
-EGIT_REPO_URI="https://git.llvm.org/git/llvm.git
-       https://github.com/llvm-mirror/llvm.git";
+EGIT_REPO_URI="https://github.com/llvm/llvm-project.git";
+S=${WORKDIR}/${P}/llvm
 
 # Keep in sync with sys-devel/llvm
 ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC AVR )
@@ -53,6 +53,11 @@ 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.1.9999.ebuild 
b/dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.9999.ebuild
index ea47038cb44..d47587faed9 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
@@ -13,9 +13,9 @@ inherit cmake-utils git-r3 llvm multiprocessing python-any-r1
 DESCRIPTION="OCaml bindings for LLVM"
 HOMEPAGE="https://llvm.org/";
 SRC_URI=""
-EGIT_REPO_URI="https://git.llvm.org/git/llvm.git
-       https://github.com/llvm-mirror/llvm.git";
-EGIT_BRANCH="release_90"
+EGIT_REPO_URI="https://github.com/llvm/llvm-project.git";
+EGIT_BRANCH="release/9.x"
+S=${WORKDIR}/${P}/llvm
 
 # Keep in sync with sys-devel/llvm
 ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
@@ -52,6 +52,11 @@ 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

Reply via email to