From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9C9F3139894 for ; Mon, 24 Aug 2015 15:03:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6FD6A14231; Mon, 24 Aug 2015 15:03:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 174431423A for ; Mon, 24 Aug 2015 15:03:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D52E83408BE for ; Mon, 24 Aug 2015 15:03:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5BA0416B for ; Mon, 24 Aug 2015 15:03:11 +0000 (UTC) From: "Bernard Cafarelli" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Bernard Cafarelli" Message-ID: <1440428585.8c1d91d6f37c6b2ee8db65aeb5c22ebf6f7445a9.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/clang/clang-3.7.0_rc2-r100.ebuild sys-devel/clang/metadata.xml X-VCS-Directories: sys-devel/clang/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: 8c1d91d6f37c6b2ee8db65aeb5c22ebf6f7445a9 X-VCS-Branch: master Date: Mon, 24 Aug 2015 15:03:11 +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-Archives-Salt: 3f54c428-ebaf-40fd-b46f-e209c5f799cc X-Archives-Hash: ecd09a7be2951d7c637d9e668ebe6364 commit: 8c1d91d6f37c6b2ee8db65aeb5c22ebf6f7445a9 Author: Bernard Cafarelli gentoo org> AuthorDate: Mon Aug 24 15:01:24 2015 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Mon Aug 24 15:03:05 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c1d91d6 sys-devel/clang: add rc version for testing Package-Manager: portage-2.2.20.1 sys-devel/clang/clang-3.7.0_rc2-r100.ebuild | 36 +++++++++++++++++++++++++++++ sys-devel/clang/metadata.xml | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/sys-devel/clang/clang-3.7.0_rc2-r100.ebuild b/sys-devel/clang/clang-3.7.0_rc2-r100.ebuild new file mode 100644 index 0000000..145a0f1 --- /dev/null +++ b/sys-devel/clang/clang-3.7.0_rc2-r100.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit multilib-build + +DESCRIPTION="C language family frontend for LLVM (meta-ebuild)" +HOMEPAGE="http://clang.llvm.org/" +SRC_URI="" + +LICENSE="UoI-NCSA" +SLOT="0/3.6" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="debug multitarget python +static-analyzer" + +RDEPEND="~sys-devel/llvm-${PV}[clang(-),debug=,multitarget?,python?,static-analyzer,${MULTILIB_USEDEP}]" + +# Please keep this package around since it's quite likely that we'll +# return to separate LLVM & clang ebuilds when the cmake build system +# is complete. + +pkg_postinst() { + if has_version ">=dev-util/ccache-3.1.9-r2" ; then + #add ccache links as clang might get installed after ccache + "${EROOT}"/usr/bin/ccache-config --install-links + fi +} + +pkg_postrm() { + if has_version ">=dev-util/ccache-3.1.9-r2" && [[ -z ${REPLACED_BY_VERSION} ]]; then + # --remove-links would remove all links, --install-links updates them + "${EROOT}"/usr/bin/ccache-config --install-links + fi +} diff --git a/sys-devel/clang/metadata.xml b/sys-devel/clang/metadata.xml index 735c9da..466ad97 100644 --- a/sys-devel/clang/metadata.xml +++ b/sys-devel/clang/metadata.xml @@ -1,5 +1,5 @@ - + clang@gentoo.org