commit: 04270ad86dc06de208ac6dd4c534b0e98048ee2b Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu Apr 9 23:01:13 2020 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Apr 9 23:01:33 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04270ad8
dev-util/clazy: Drop 1.6 (r0) Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-util/clazy/clazy-1.6.ebuild | 49 ----------------------------------------- 1 file changed, 49 deletions(-) diff --git a/dev-util/clazy/clazy-1.6.ebuild b/dev-util/clazy/clazy-1.6.ebuild deleted file mode 100644 index 47f5433d9f0..00000000000 --- a/dev-util/clazy/clazy-1.6.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Compiler plugin which allows clang to understand Qt semantics" -HOMEPAGE="https://cgit.kde.org/clazy.git/tree/README.md" -SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" - -LICENSE="LGPL-2+" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RDEPEND=" - <sys-devel/clang-10:= - >=sys-devel/llvm-3.8:= -" -DEPEND="${RDEPEND}" - -DOCS=( README.md ) - -src_prepare() { - cmake_src_prepare - - sed -e '/install(FILES README.md COPYING-LGPL2.txt checks.json DESTINATION/d' \ - -i CMakeLists.txt || die - - sed -e 's|${MAN_INSTALL_DIR}|share/man/man1|' \ - -i docs/man/CMakeLists.txt || die -} - -src_configure() { - # this package requires both llvm and clang of the same version. - # clang pulls in the equivalent llvm version, but not vice versa. - # so, we must find llvm based on the installed clang version. - # bug #681568 - local clang_version=$(best_version "<sys-devel/clang-10") - export LLVM_ROOT="/usr/lib/llvm/$(ver_cut 1 ${clang_version##sys-devel/clang-})" - cmake_src_configure -} - -src_install() { - cmake_src_install - mv "${D}"/usr/share/doc/clazy/* "${D}"/usr/share/doc/${PF} || die - rmdir "${D}"/usr/share/doc/clazy || die -}