Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
Date: Mon, 08 Nov 2021 11:25:45
Message-Id: 1636370723.158e4b715bde0f48c4bb3dd9dd9a45411f8dcb53.mgorny@gentoo
1 commit: 158e4b715bde0f48c4bb3dd9dd9a45411f8dcb53
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 8 11:03:26 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 8 11:25:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=158e4b71
7
8 sys-devel/sparse: Remove versions requiring LLVM 10
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-devel/sparse/Manifest | 1 -
13 sys-devel/sparse/sparse-0.6.3.ebuild | 71 ------------------------------------
14 2 files changed, 72 deletions(-)
15
16 diff --git a/sys-devel/sparse/Manifest b/sys-devel/sparse/Manifest
17 index 7c1cf179d14..283b98fc148 100644
18 --- a/sys-devel/sparse/Manifest
19 +++ b/sys-devel/sparse/Manifest
20 @@ -1,2 +1 @@
21 -DIST sparse-0.6.3.tar.xz 350676 BLAKE2B 5c8f54f3b7d2095df30b9a59a151e307ebedac5dbb6910ab5684b298c2b427e55dd43697e698fd289fb0d8e824ba4d72c2761772babb9f438e622f439ab3448d SHA512 33170065ea5967d7c640a7551acc78d7efee9f7aa6a9edf6afe2cdd8a04ea5cebe7b5dcdeebf791d384542b8bcdd4e818c75e7ae2e7aa4e1edbd56b68367b28f
22 DIST sparse-0.6.4.tar.xz 370840 BLAKE2B 4b21d26c87df65f08928438c311582a45f4cbbb5ed2bb399c3521d1e40630006d794b4f1e545693e82225f086968cf686c5bfb29059644a31812120f07caebe2 SHA512 4ada31e588469d15862579dd7eb926ce1ad717bf96d38d425b9153f2efe73949fdda5bc59d05d926614a08d70e656e4ff531a5f0a1cf8e7725c596dcdba169f9
23
24 diff --git a/sys-devel/sparse/sparse-0.6.3.ebuild b/sys-devel/sparse/sparse-0.6.3.ebuild
25 deleted file mode 100644
26 index 0c2099d4c27..00000000000
27 --- a/sys-devel/sparse/sparse-0.6.3.ebuild
28 +++ /dev/null
29 @@ -1,71 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -inherit llvm toolchain-funcs
36 -
37 -DESCRIPTION="C semantic parser"
38 -HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
39 -
40 -if [[ ${PV} == "9999" ]] ; then
41 - inherit git-r3
42 - EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
43 -else
44 - SRC_URI="https://www.kernel.org/pub/software/devel/${PN}/dist/${P}.tar.xz"
45 - KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
46 -fi
47 -
48 -LICENSE="MIT"
49 -SLOT="0"
50 -IUSE="gtk llvm sqlite test xml"
51 -RESTRICT="!test? ( test )"
52 -
53 -LLVM_MAX_SLOT=10
54 -
55 -RDEPEND="gtk? ( x11-libs/gtk+:2 )
56 - llvm? ( sys-devel/llvm:${LLVM_MAX_SLOT}= )
57 - sqlite? ( dev-db/sqlite:= )
58 - xml? ( dev-libs/libxml2 )"
59 -DEPEND="${RDEPEND}
60 - gtk? ( virtual/pkgconfig )
61 - xml? ( virtual/pkgconfig )"
62 -
63 -pkg_setup() {
64 - use llvm && llvm_pkg_setup
65 -}
66 -
67 -_emake() {
68 - # Makefile does not allow for an easy override of flags.
69 - # Collect them here and override default phases.
70 - emake \
71 - CC="$(tc-getCC)" \
72 - LD="$(tc-getCC)" \
73 - AR="$(tc-getAR)" \
74 - CFLAGS="${CFLAGS}" \
75 - PKG_CONFIG="$(tc-getPKG_CONFIG)" \
76 - \
77 - HAVE_GTK=$(usex gtk) \
78 - HAVE_LLVM=$(usex llvm) \
79 - HAVE_SQLITE=$(usex sqlite) \
80 - HAVE_LIBXML=$(usex xml) \
81 - \
82 - V=1 \
83 - PREFIX="${EPREFIX}/usr" \
84 - \
85 - "$@"
86 -}
87 -
88 -src_compile() {
89 - _emake
90 -}
91 -
92 -src_test() {
93 - _emake check
94 -}
95 -
96 -src_install() {
97 - _emake DESTDIR="${D}" install
98 -
99 - dodoc FAQ README
100 -}