summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-01-24 19:20:21 +0100
committerMichał Górny <mgorny@gentoo.org>2017-01-24 20:07:53 +0100
commit657614856e109c993ef6296d984bc46a7b1923b3 (patch)
treea9b8217c5fec8c3c45f028c768ee0bc24c2d1a12 /dev-util
parentsys-devel/lld: Switch 4.0.0rc1 to tarballs, add keywords (diff)
downloadgentoo-657614856e109c993ef6296d984bc46a7b1923b3.tar.gz
gentoo-657614856e109c993ef6296d984bc46a7b1923b3.tar.bz2
gentoo-657614856e109c993ef6296d984bc46a7b1923b3.zip
dev-util/lldb: Switch 4.0.0rc1 to tarballs, add keywords
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/lldb/Manifest2
-rw-r--r--dev-util/lldb/lldb-4.0.0_rc1.ebuild25
2 files changed, 10 insertions, 17 deletions
diff --git a/dev-util/lldb/Manifest b/dev-util/lldb/Manifest
new file mode 100644
index 000000000000..8a3819d862ba
--- /dev/null
+++ b/dev-util/lldb/Manifest
@@ -0,0 +1,2 @@
+DIST lldb-4.0.0rc1.src.tar.xz 19123176 SHA256 f56f5add372a5ea2bd1d21155ab5985479b9db50443f26223310084392127324 SHA512 03f39fee90fbaef1faa1360e5c9ce4229178e6b8108c643165723fd613f93fb5349c62f580c708ef42be6de0111827ec476b3c7cd65d883cedbef821c3deed0a WHIRLPOOL 7a684ec94009df38c6a2055a8a63e4faa1809a8ec00a97a0c877a9a9d6a50c10cbfb57bdd476972d8485e2446ea41947b27d909860745e9d79e981abe06d4131
+DIST llvm-4.0.0rc1.src.tar.xz 20996760 SHA256 ccbff3a7af78efc12b5b7f749d184b4c8caf75621af4e05f640cbfa9f80f8604 SHA512 10b6fee561b9307490d5f20ce70b7e0099bd405e56c8330be9aa04673f39dbd712833e357a577a5106819336a1957dd73d288bbdd35286d56305d14d237dfd3d WHIRLPOOL 8559852df5d036a4d86a4555bcbeaab6bbb3b5e9cad9daa8c0f5e934e4fb7235bc05df55e09d38eb4d90832036d8b9f5b1ff8108e7d5ea01c86b00eecc0a3d13
diff --git a/dev-util/lldb/lldb-4.0.0_rc1.ebuild b/dev-util/lldb/lldb-4.0.0_rc1.ebuild
index 700832c0a573..cb7535c8b5c3 100644
--- a/dev-util/lldb/lldb-4.0.0_rc1.ebuild
+++ b/dev-util/lldb/lldb-4.0.0_rc1.ebuild
@@ -9,19 +9,16 @@ EAPI=6
CMAKE_MIN_VERSION=3.7.0-r1
PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils git-r3 python-single-r1 toolchain-funcs
+inherit cmake-utils python-single-r1 toolchain-funcs
DESCRIPTION="The LLVM debugger"
HOMEPAGE="http://llvm.org/"
-SRC_URI=""
-EGIT_REPO_URI="http://llvm.org/git/lldb.git
- https://github.com/llvm-mirror/lldb.git"
-EGIT_BRANCH="release_40"
-EGIT_COMMIT="fcd2aac9f179b968a20cf0231c3386dcef8a6659"
+SRC_URI="http://www.llvm.org/pre-releases/${PV/_//}/${P/_/}.src.tar.xz
+ test? ( http://www.llvm.org/pre-releases/${PV/_//}/llvm-${PV/_/}.src.tar.xz )"
LICENSE="UoI-NCSA"
SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="libedit ncurses python test"
RDEPEND="
@@ -41,23 +38,17 @@ DEPEND="${RDEPEND}
REQUIRED_USE=${PYTHON_REQUIRED_USE}
+S=${WORKDIR}/${P/_/}.src
+
# least intrusive of all
CMAKE_BUILD_TYPE=RelWithDebInfo
src_unpack() {
- if use test; then
- # needed for patched gtest
- git-r3_fetch "http://llvm.org/git/llvm.git
- https://github.com/llvm-mirror/llvm.git" \
- c329efbc3c94928fb826ed146897aada0459c983
- fi
- git-r3_fetch
+ default
if use test; then
- git-r3_checkout http://llvm.org/git/llvm.git \
- "${WORKDIR}"/llvm
+ mv llvm-* llvm || die
fi
- git-r3_checkout
}
src_configure() {