Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/clazy/
Date: Fri, 01 Feb 2019 20:42:37
Message-Id: 1549053740.05e384ad8fd26b0b951782e676f23a7459d4279e.asturm@gentoo
1 commit: 05e384ad8fd26b0b951782e676f23a7459d4279e
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 1 20:22:36 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 1 20:42:20 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05e384ad
7
8 dev-util/clazy: 1.5 version bump
9
10 Package-Manager: Portage-2.3.59, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-util/clazy/Manifest | 1 +
14 dev-util/clazy/clazy-1.5.ebuild | 39 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 40 insertions(+)
16
17 diff --git a/dev-util/clazy/Manifest b/dev-util/clazy/Manifest
18 index 01ab54c0f10..92cd0d77837 100644
19 --- a/dev-util/clazy/Manifest
20 +++ b/dev-util/clazy/Manifest
21 @@ -1 +1,2 @@
22 DIST clazy-1.4.tar.xz 339104 BLAKE2B 7740e85c8377f0757a545750d6d35d9b8b7207795a4b49f291a8c07a76e63e167fbd772f8689a1c83d66065a9a166f5dafa68a61923e46c17d6b6b4d74838106 SHA512 6458213a8db03c57dd5c80ecaa9403ce3fafb977e6f7433da728327af81ca52255b95aaceebfd90a43682c19ee63d4751bf23f6dbf343c59d616048f262c9e26
23 +DIST clazy-1.5.tar.xz 352344 BLAKE2B 0f7200900f1a8bcad3020cf98522e3ac9ba01dddc9b2200f08a8a86102e4389af7a4a86e1832ee4c0e750267948a908627032385a01af94d8d0ae5f438114b9e SHA512 863cb9609d02a2260b61bc6cb3e6d8a84975d3b4e4f1c94a82e8c600d95a28483c323f47ac39c39ecef24d0f51871b358055868c63a49b136cf8ee3060df5a52
24
25 diff --git a/dev-util/clazy/clazy-1.5.ebuild b/dev-util/clazy/clazy-1.5.ebuild
26 new file mode 100644
27 index 00000000000..d5bead0c2f2
28 --- /dev/null
29 +++ b/dev-util/clazy/clazy-1.5.ebuild
30 @@ -0,0 +1,39 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit cmake-utils
37 +
38 +DESCRIPTION="Compiler plugin which allows clang to understand Qt semantics"
39 +HOMEPAGE="https://cgit.kde.org/clazy.git/tree/README.md"
40 +SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
41 +
42 +LICENSE="LGPL-2+"
43 +SLOT="0"
44 +KEYWORDS="~amd64"
45 +IUSE=""
46 +
47 +RDEPEND="
48 + sys-devel/clang:=
49 + >=sys-devel/llvm-3.8:=
50 +"
51 +DEPEND="${RDEPEND}"
52 +
53 +DOCS=( README.md )
54 +
55 +src_prepare() {
56 + cmake-utils_src_prepare
57 +
58 + sed -e '/install(FILES README.md COPYING-LGPL2.txt checks.json DESTINATION/d' \
59 + -i CMakeLists.txt || die
60 +
61 + sed -e 's|${MAN_INSTALL_DIR}|share/man/man1|' \
62 + -i docs/man/CMakeLists.txt || die
63 +}
64 +
65 +src_install() {
66 + cmake-utils_src_install
67 + mv "${D}"/usr/share/doc/clazy/* "${D}"/usr/share/doc/${PF} || die
68 + rmdir "${D}"/usr/share/doc/clazy || die
69 +}