commit:     841e3220a7b30354bcd57a1ab92e2761f3097524
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 19 08:45:01 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 19 09:14:02 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=841e3220

sys-devel/clang: Add 4.0.0rc1

 sys-devel/clang/{clang-9999.ebuild => clang-4.0.0_rc1.ebuild} | 10 +++++++---
 sys-devel/clang/clang-9999.ebuild                             |  2 +-
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/sys-devel/clang/clang-9999.ebuild 
b/sys-devel/clang/clang-4.0.0_rc1.ebuild
similarity index 96%
copy from sys-devel/clang/clang-9999.ebuild
copy to sys-devel/clang/clang-4.0.0_rc1.ebuild
index 035ac3d..4914a70 100644
--- a/sys-devel/clang/clang-9999.ebuild
+++ b/sys-devel/clang/clang-4.0.0_rc1.ebuild
@@ -17,6 +17,8 @@ HOMEPAGE="http://llvm.org/";
 SRC_URI=""
 EGIT_REPO_URI="http://llvm.org/git/clang.git
        https://github.com/llvm-mirror/clang.git";
+EGIT_BRANCH="release_40"
+EGIT_COMMIT="3a631d565d41270fa80cb3d1e43a50d24cfc2f20"
 
 # Keep in sync with sys-devel/llvm
 ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
@@ -39,7 +41,7 @@ RDEPEND="
 # configparser-3.2 breaks the build (3.3 or none at all are fine)
 DEPEND="${RDEPEND}
        doc? ( dev-python/sphinx )
-       test? ( dev-python/lit[${PYTHON_USEDEP}] )
+       test? ( ~dev-python/lit-${PV}[${PYTHON_USEDEP}] )
        xml? ( virtual/pkgconfig )
        !!<dev-python/configparser-3.3.0.2
        ${PYTHON_DEPS}"
@@ -103,11 +105,13 @@ pkg_setup() {
 
 src_unpack() {
        git-r3_fetch "http://llvm.org/git/clang-tools-extra.git
-               https://github.com/llvm-mirror/clang-tools-extra.git";
+               https://github.com/llvm-mirror/clang-tools-extra.git"; \
+               fc0afbd6e7055b4d7f39998d743585683033c2d4
        if use test; then
                # needed for patched gtest
                git-r3_fetch "http://llvm.org/git/llvm.git
-                       https://github.com/llvm-mirror/llvm.git";
+                       https://github.com/llvm-mirror/llvm.git"; \
+                       c329efbc3c94928fb826ed146897aada0459c983
        fi
        git-r3_fetch
 

diff --git a/sys-devel/clang/clang-9999.ebuild 
b/sys-devel/clang/clang-9999.ebuild
index 035ac3d..25e52b2 100644
--- a/sys-devel/clang/clang-9999.ebuild
+++ b/sys-devel/clang/clang-9999.ebuild
@@ -39,7 +39,7 @@ RDEPEND="
 # configparser-3.2 breaks the build (3.3 or none at all are fine)
 DEPEND="${RDEPEND}
        doc? ( dev-python/sphinx )
-       test? ( dev-python/lit[${PYTHON_USEDEP}] )
+       test? ( ~dev-python/lit-${PV}[${PYTHON_USEDEP}] )
        xml? ( virtual/pkgconfig )
        !!<dev-python/configparser-3.3.0.2
        ${PYTHON_DEPS}"

Reply via email to