Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
Date: Wed, 26 Feb 2020 18:46:23
Message-Id: 1582742774.e7f7c4605c082e91ddf8d62b497e5266cb2a8668.slyfox@gentoo
1 commit: e7f7c4605c082e91ddf8d62b497e5266cb2a8668
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 26 18:46:00 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 26 18:46:14 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7f7c460
7
8 sys-devel/sparse: pin to specific LLVM slot
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 sys-devel/sparse/sparse-0.6.1.ebuild | 6 ++++--
14 sys-devel/sparse/sparse-9999.ebuild | 8 +++++---
15 2 files changed, 9 insertions(+), 5 deletions(-)
16
17 diff --git a/sys-devel/sparse/sparse-0.6.1.ebuild b/sys-devel/sparse/sparse-0.6.1.ebuild
18 index 8828d2b9230..8df52ef8a1e 100644
19 --- a/sys-devel/sparse/sparse-0.6.1.ebuild
20 +++ b/sys-devel/sparse/sparse-0.6.1.ebuild
21 @@ -3,7 +3,7 @@
22
23 EAPI=7
24
25 -inherit eutils multilib toolchain-funcs
26 +inherit eutils llvm multilib toolchain-funcs
27
28 DESCRIPTION="C semantic parser"
29 HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
30 @@ -22,8 +22,10 @@ SLOT="0"
31 IUSE="gtk llvm test xml"
32 RESTRICT="!test? ( test )"
33
34 +LLVM_MAX_SLOT=9
35 +
36 RDEPEND="gtk? ( x11-libs/gtk+:2 )
37 - llvm? ( >=sys-devel/llvm-3.0 )
38 + llvm? ( sys-devel/llvm:${LLVM_MAX_SLOT}= )
39 xml? ( dev-libs/libxml2 )"
40 DEPEND="${RDEPEND}
41 gtk? ( virtual/pkgconfig )
42
43 diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild
44 index fa4c7a97fab..8df52ef8a1e 100644
45 --- a/sys-devel/sparse/sparse-9999.ebuild
46 +++ b/sys-devel/sparse/sparse-9999.ebuild
47 @@ -1,9 +1,9 @@
48 -# Copyright 1999-2019 Gentoo Authors
49 +# Copyright 1999-2020 Gentoo Authors
50 # Distributed under the terms of the GNU General Public License v2
51
52 EAPI=7
53
54 -inherit eutils multilib toolchain-funcs
55 +inherit eutils llvm multilib toolchain-funcs
56
57 DESCRIPTION="C semantic parser"
58 HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
59 @@ -22,8 +22,10 @@ SLOT="0"
60 IUSE="gtk llvm test xml"
61 RESTRICT="!test? ( test )"
62
63 +LLVM_MAX_SLOT=9
64 +
65 RDEPEND="gtk? ( x11-libs/gtk+:2 )
66 - llvm? ( >=sys-devel/llvm-3.0 )
67 + llvm? ( sys-devel/llvm:${LLVM_MAX_SLOT}= )
68 xml? ( dev-libs/libxml2 )"
69 DEPEND="${RDEPEND}
70 gtk? ( virtual/pkgconfig )