From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6AFDE138353 for ; Thu, 26 Mar 2020 12:38:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65C61E0CAC; Thu, 26 Mar 2020 12:38:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 37F87E0CAC for ; Thu, 26 Mar 2020 12:38:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D806E34FABA for ; Thu, 26 Mar 2020 12:38:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7505A10A for ; Thu, 26 Mar 2020 12:38:52 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1585226312.2b61a2e275f18c26e2342c0ebd5fd4a08eaf8aa6.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/clazy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/clazy/Manifest dev-util/clazy/clazy-1.6.ebuild X-VCS-Directories: dev-util/clazy/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 2b61a2e275f18c26e2342c0ebd5fd4a08eaf8aa6 X-VCS-Branch: master Date: Thu, 26 Mar 2020 12:38:52 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4ca7f293-d9e0-46de-bd54-9fd55123457b X-Archives-Hash: 9a342610cbe73fcfeac09eccfbd22bcd commit: 2b61a2e275f18c26e2342c0ebd5fd4a08eaf8aa6 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Mar 25 21:55:51 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Mar 26 12:38:32 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b61a2e2 dev-util/clazy: 1.6 version bump Closes: https://bugs.gentoo.org/714044 Package-Manager: Portage-2.3.96, Repoman-2.3.21 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-util/clazy/Manifest | 1 + dev-util/clazy/clazy-1.6.ebuild | 49 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-util/clazy/Manifest b/dev-util/clazy/Manifest index f331d9565a1..3a2f8b7277a 100644 --- a/dev-util/clazy/Manifest +++ b/dev-util/clazy/Manifest @@ -1 +1,2 @@ DIST clazy-1.5.tar.xz 352344 BLAKE2B 0f7200900f1a8bcad3020cf98522e3ac9ba01dddc9b2200f08a8a86102e4389af7a4a86e1832ee4c0e750267948a908627032385a01af94d8d0ae5f438114b9e SHA512 863cb9609d02a2260b61bc6cb3e6d8a84975d3b4e4f1c94a82e8c600d95a28483c323f47ac39c39ecef24d0f51871b358055868c63a49b136cf8ee3060df5a52 +DIST clazy-1.6.tar.xz 364292 BLAKE2B 01da58e34d5a7cb1e812d10264cebe15e90369589535e07f2c9f4520971f2e95b2c70494e99e34f7077957ec1bf01352fa6a72a64f0572e8a5db422267ab727a SHA512 dc7cb9590bbc40a2ac51abe305b6520ebc1ff7128ff21b4f6111d18f14eb8c2ab66d907636a18c7508143b708e70ba69f9d6fad88ffce12dec981a9bdd0edcc0 diff --git a/dev-util/clazy/clazy-1.6.ebuild b/dev-util/clazy/clazy-1.6.ebuild new file mode 100644 index 00000000000..47f5433d9f0 --- /dev/null +++ b/dev-util/clazy/clazy-1.6.ebuild @@ -0,0 +1,49 @@ +# 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/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 "