sys-libs/compiler-rt: Switch 4.0.0rc1 to tarballs, add keywords
authorMichał Górny <mgorny@gentoo.org>
Tue, 24 Jan 2017 18:28:53 +0000 (19:28 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 24 Jan 2017 19:07:54 +0000 (20:07 +0100)
sys-libs/compiler-rt/Manifest [new file with mode: 0644]
sys-libs/compiler-rt/compiler-rt-4.0.0_rc1.ebuild

diff --git a/sys-libs/compiler-rt/Manifest b/sys-libs/compiler-rt/Manifest
new file mode 100644 (file)
index 0000000..acdc9fd
--- /dev/null
@@ -0,0 +1 @@
+DIST compiler-rt-4.0.0rc1.src.tar.xz 1434780 SHA256 33bb73be0a81aff19fc220559bdc921472cb309ac710c1082fdc42a732e66a6f SHA512 15dccba145ef76325b838f362d4ee64cc805d34604be4ce8e6003c45f68c1d44f999775f399fc458a4533d1bf0a9b05512ed965cc1adb55dd5c5b9ee91fb7fc0 WHIRLPOOL 509499299484599d714449260f75e26f884b6604605762c8c7b98b8c7e80ea93db840ba64513fe3e6e65d0c59bfe02e13f4fe49a32448c4749485d51f7680e27
index f21ac61ebe4acde7ca08f8267884735448388471..49f12b097ebb760fed09ba0b4a6c8940b4ae56e1 100644 (file)
@@ -10,19 +10,15 @@ CMAKE_MIN_VERSION=3.7.0-r1
 PYTHON_COMPAT=( python2_7 )
 
 # TODO: fix unnecessary dep on Python upstream
-inherit cmake-utils flag-o-matic git-r3 python-any-r1 toolchain-funcs
+inherit cmake-utils flag-o-matic python-any-r1 toolchain-funcs
 
 DESCRIPTION="Compiler runtime library for clang (built-in part)"
 HOMEPAGE="http://llvm.org/"
-SRC_URI=""
-EGIT_REPO_URI="http://llvm.org/git/compiler-rt.git
-       https://github.com/llvm-mirror/compiler-rt.git"
-EGIT_BRANCH="release_40"
-EGIT_COMMIT="850646edf7e605354c66693c16ab69193e04a078"
+SRC_URI="http://www.llvm.org/pre-releases/${PV/_//}/${P/_/}.src.tar.xz"
 
 LICENSE="|| ( UoI-NCSA MIT )"
 SLOT="0/${PV%.*}"
-KEYWORDS=""
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="test"
 
 RDEPEND="
@@ -33,6 +29,8 @@ DEPEND="${RDEPEND}
        test? ( ~sys-devel/clang-${PV} )
        ${PYTHON_DEPS}"
 
+S=${WORKDIR}/${P/_/}.src
+
 # least intrusive of all
 CMAKE_BUILD_TYPE=RelWithDebInfo