From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/clazy/
Date: Thu, 26 Mar 2020 12:38:52 +0000 (UTC) [thread overview]
Message-ID: <1585226312.2b61a2e275f18c26e2342c0ebd5fd4a08eaf8aa6.asturm@gentoo> (raw)
commit: 2b61a2e275f18c26e2342c0ebd5fd4a08eaf8aa6
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 25 21:55:51 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> 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 <asturm <AT> 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/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
+}
next reply other threads:[~2020-03-26 12:38 UTC|newest]
Thread overview: 71+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-26 12:38 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-28 22:15 [gentoo-commits] repo/gentoo:master commit in: dev-util/clazy/ Andreas Sturmlechner
2025-01-20 23:47 Sam James
2025-01-20 22:12 Sam James
2024-12-29 21:35 Andreas Sturmlechner
2024-12-29 21:35 Andreas Sturmlechner
2024-12-01 8:32 Sam James
2024-11-10 21:43 Sam James
2024-11-10 19:49 Sam James
2024-11-10 17:59 Sam James
2024-11-10 17:59 Sam James
2024-04-22 17:07 Andreas Sturmlechner
2024-04-20 17:39 Arthur Zamarin
2024-04-20 14:52 Arthur Zamarin
2024-04-20 14:52 Arthur Zamarin
2023-07-09 10:09 Andreas Sturmlechner
2023-06-18 15:45 Sam James
2023-06-18 15:45 Sam James
2023-06-18 15:14 Sam James
2023-03-23 21:03 Andreas Sturmlechner
2022-12-03 6:25 Arthur Zamarin
2022-11-29 15:10 Jakov Smolić
2022-11-17 23:08 Sam James
2022-05-27 6:55 Agostino Sarubbo
2022-05-25 19:23 Sam James
2022-05-22 20:47 Sam James
2022-05-18 15:31 Andreas Sturmlechner
2022-02-21 12:06 Andreas Sturmlechner
2022-01-22 12:20 Andreas Sturmlechner
2022-01-19 13:44 Jakov Smolić
2021-12-13 22:42 Sam James
2021-12-13 0:11 Sam James
2021-12-13 0:11 Sam James
2021-12-11 1:18 Sam James
2021-12-11 1:16 Sam James
2021-10-16 23:42 Sam James
2021-07-29 18:18 Andreas Sturmlechner
2021-03-07 19:52 Andreas Sturmlechner
2021-03-07 19:46 Sam James
2021-03-06 15:11 Thomas Deutschmann
2021-03-06 7:26 Sam James
2021-01-13 23:24 Andreas Sturmlechner
2021-01-07 15:04 Sam James
2020-12-29 7:56 Sam James
2020-12-27 4:12 Sam James
2020-11-25 16:37 Mikle Kolyada
2020-11-25 16:23 Mikle Kolyada
2020-11-24 0:26 Andreas Sturmlechner
2020-11-20 20:40 Andreas Sturmlechner
2020-11-20 20:40 Andreas Sturmlechner
2020-11-06 14:55 Sam James
2020-10-28 22:41 Sam James
2020-08-21 18:19 Agostino Sarubbo
2020-06-30 15:54 Andreas Sturmlechner
2020-05-16 18:48 Andreas Sturmlechner
2020-05-10 11:31 Andreas Sturmlechner
2020-05-10 9:15 Mikle Kolyada
2020-04-09 23:07 Andreas Sturmlechner
2020-03-22 21:43 Andreas Sturmlechner
2020-03-22 21:43 Andreas Sturmlechner
2020-03-22 20:41 Andreas Sturmlechner
2019-03-31 9:51 Michael Palimaka
2019-03-31 9:49 Michael Palimaka
2019-03-22 10:17 Mikle Kolyada
2019-03-10 23:57 Andreas Sturmlechner
2019-02-01 20:42 Andreas Sturmlechner
2018-10-01 20:55 Andreas Sturmlechner
2018-10-01 20:55 Andreas Sturmlechner
2018-04-11 16:19 Michał Górny
2018-01-11 7:30 Michael Palimaka
2017-07-29 3:32 Michael Palimaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1585226312.2b61a2e275f18c26e2342c0ebd5fd4a08eaf8aa6.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox