commit:     c5ba3c275806717340c87844a76a07396fac921a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 10 18:23:44 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 19:52:57 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5ba3c27

sys-devel/clang: Drop <4

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

 sys-devel/clang/clang-3.4.2-r100.ebuild | 35 -------------------------
 sys-devel/clang/clang-3.5.2-r100.ebuild | 35 -------------------------
 sys-devel/clang/clang-3.6.2-r100.ebuild | 35 -------------------------
 sys-devel/clang/clang-3.7.1-r100.ebuild | 35 -------------------------
 sys-devel/clang/clang-3.9.1-r100.ebuild | 46 ---------------------------------
 sys-devel/clang/metadata.xml            |  1 -
 6 files changed, 187 deletions(-)

diff --git a/sys-devel/clang/clang-3.4.2-r100.ebuild 
b/sys-devel/clang/clang-3.4.2-r100.ebuild
deleted file mode 100644
index 7d2979d5fa0..00000000000
--- a/sys-devel/clang/clang-3.4.2-r100.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit multilib-build
-
-DESCRIPTION="C language family frontend for LLVM (meta-ebuild)"
-HOMEPAGE="https://clang.llvm.org/";
-SRC_URI=""
-
-LICENSE="UoI-NCSA"
-SLOT="0/3.4"
-KEYWORDS="~ppc-macos ~x64-macos ~x86-macos"
-IUSE=""
-
-RDEPEND="~sys-devel/llvm-${PV}[clang(-),${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/clang-3.5.2-r100.ebuild 
b/sys-devel/clang/clang-3.5.2-r100.ebuild
deleted file mode 100644
index a10346be855..00000000000
--- a/sys-devel/clang/clang-3.5.2-r100.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit multilib-build
-
-DESCRIPTION="C language family frontend for LLVM (meta-ebuild)"
-HOMEPAGE="https://clang.llvm.org/";
-SRC_URI=""
-
-LICENSE="UoI-NCSA"
-SLOT="0/3.5"
-KEYWORDS="~ppc-macos ~x64-macos ~x86-macos"
-IUSE=""
-
-RDEPEND="~sys-devel/llvm-${PV}[clang(-),${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/clang-3.6.2-r100.ebuild 
b/sys-devel/clang/clang-3.6.2-r100.ebuild
deleted file mode 100644
index a68d706db02..00000000000
--- a/sys-devel/clang/clang-3.6.2-r100.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit multilib-build
-
-DESCRIPTION="C language family frontend for LLVM (meta-ebuild)"
-HOMEPAGE="https://clang.llvm.org/";
-SRC_URI=""
-
-LICENSE="UoI-NCSA"
-SLOT="0/3.6"
-KEYWORDS="~ppc-macos ~x64-macos ~x86-macos"
-IUSE=""
-
-RDEPEND="~sys-devel/llvm-${PV}[clang(-),${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/clang-3.7.1-r100.ebuild 
b/sys-devel/clang/clang-3.7.1-r100.ebuild
deleted file mode 100644
index b62b2983d2b..00000000000
--- a/sys-devel/clang/clang-3.7.1-r100.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit multilib-build
-
-DESCRIPTION="C language family frontend for LLVM (meta-ebuild)"
-HOMEPAGE="https://clang.llvm.org/";
-SRC_URI=""
-
-LICENSE="UoI-NCSA"
-SLOT="0/3.7"
-KEYWORDS="~ppc-macos ~x64-macos ~x86-macos"
-IUSE=""
-
-RDEPEND="~sys-devel/llvm-${PV}[clang(-),${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/clang-3.9.1-r100.ebuild 
b/sys-devel/clang/clang-3.9.1-r100.ebuild
deleted file mode 100644
index 0fadd936ed9..00000000000
--- a/sys-devel/clang/clang-3.9.1-r100.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit multilib-build
-
-DESCRIPTION="C language family frontend for LLVM (meta-ebuild)"
-HOMEPAGE="https://clang.llvm.org/";
-SRC_URI=""
-
-# Keep in sync with sys-devel/llvm
-ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Mips MSP430
-       NVPTX PowerPC Sparc SystemZ X86 XCore )
-ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
-LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
-
-LICENSE="UoI-NCSA"
-# keep in sync with sys-devel/llvm!
-SLOT="0/${PV}"
-KEYWORDS="~ppc-macos ~x64-macos ~x86-macos"
-IUSE="debug multitarget python +static-analyzer ${ALL_LLVM_TARGETS[*]}"
-
-RDEPEND="~sys-devel/llvm-${PV}[clang(-),debug=,python?,static-analyzer?,${LLVM_TARGET_USEDEPS//
 /,},${MULTILIB_USEDEP}]"
-
-REQUIRED_USE="
-       || ( ${ALL_LLVM_TARGETS[*]} )
-       multitarget? ( ${ALL_LLVM_TARGETS[*]} )"
-
-# 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 03502538f63..04b324c4b05 100644
--- a/sys-devel/clang/metadata.xml
+++ b/sys-devel/clang/metadata.xml
@@ -29,7 +29,6 @@ Conformance with C/C++/ObjC and their 
variants</longdescription>
        <use>
                <flag name="default-compiler-rt">Use compiler-rt instead of 
libgcc as the default rtlib for clang</flag>
                <flag name="default-libcxx">Use libc++ instead of libstdc++ as 
the default stdlib for clang</flag>
-               <flag name="multitarget">Build all host targets (default: host 
only)</flag>
                <flag name="static-analyzer">Install the Clang static 
analyzer</flag>
                <flag name="z3">Enable the static analyzer constraint manager 
backend using <pkg>sci-mathematics/z3</pkg></flag>
        </use>

Reply via email to