Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/smatch/
Date: Thu, 23 Jun 2022 06:31:47
Message-Id: 1655965895.79f210dd11309f53652a3e78d2991a53d926653b.sam@gentoo
1 commit: 79f210dd11309f53652a3e78d2991a53d926653b
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 23 06:30:30 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 23 06:31:35 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79f210dd
7
8 sys-devel/smatch: drop 1.60
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 sys-devel/smatch/Manifest | 1 -
13 sys-devel/smatch/smatch-1.60.ebuild | 69 -------------------------------------
14 2 files changed, 70 deletions(-)
15
16 diff --git a/sys-devel/smatch/Manifest b/sys-devel/smatch/Manifest
17 index a99bf33cb4d0..9ca3a1ada7b3 100644
18 --- a/sys-devel/smatch/Manifest
19 +++ b/sys-devel/smatch/Manifest
20 @@ -1,2 +1 @@
21 -DIST smatch-1.60.tar.gz 558479 BLAKE2B d5e564c32e33dc38847f9a258b4b47285f190652181db9b8850c832c0cf4d8a3302d989a7b42592e73a713927a29565565e83a9be1b0a5c9d10869fce278a0be SHA512 2920c9d4c500db36cfa60db5be70d157ed16abd729279462faef6f79e0756bd017ec91b8f857d19fdebd8a9d709b0555635700a2864cf0a84daa61cf2ca3eecd
22 DIST smatch-1.72.tar.gz 1431923 BLAKE2B ec4119fce985876afc9a46a74a0a56e8e8cb271a964c16496972c59ade95aa3d2df3a839a819e31cb081ca8a3b1f6bf6934ec97d73209091cfd86c87c1433557 SHA512 6d12e9ba85f332fcc56657296596e811cf3b75d4ad37007e07feb31baa4b315732361915972a2139ae13f75b8a73f953488ceb9de41529db9e84c81fb6fde77e
23
24 diff --git a/sys-devel/smatch/smatch-1.60.ebuild b/sys-devel/smatch/smatch-1.60.ebuild
25 deleted file mode 100644
26 index 04dfbb1b49ac..000000000000
27 --- a/sys-devel/smatch/smatch-1.60.ebuild
28 +++ /dev/null
29 @@ -1,69 +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 toolchain-funcs
36 -if [[ ${PV} == "9999" ]] ; then
37 - EGIT_REPO_URI="https://repo.or.cz/${PN}.git
38 - https://repo.or.cz/r/${PN}.git"
39 - inherit git-r3
40 -else
41 - SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz
42 - mirror://gentoo/${P}.tar.gz"
43 - KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
44 - S=${WORKDIR}/${PN}
45 -fi
46 -
47 -DESCRIPTION="Static analysis tool for C"
48 -HOMEPAGE="http://smatch.sourceforge.net/"
49 -
50 -LICENSE="OSL-1.1"
51 -SLOT="0"
52 -IUSE=""
53 -
54 -RDEPEND="dev-db/sqlite"
55 -DEPEND="${RDEPEND}"
56 -BDEPEND="virtual/pkgconfig"
57 -
58 -S=${WORKDIR}/${P}-7a4fdad
59 -
60 -src_prepare() {
61 - default
62 -
63 - sed -i \
64 - -e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \
65 - -e 's:pkg-config:$(PKG_CONFIG):' \
66 - Makefile || die
67 -}
68 -
69 -_emake() {
70 - # gtk/llvm/xml is used by sparse which we don't install
71 - emake \
72 - PREFIX="${EPREFIX}/usr" \
73 - V=1 \
74 - AR="$(tc-getAR)" \
75 - CC="$(tc-getCC)" \
76 - LD='$(CC)' \
77 - PKG_CONFIG="$(tc-getPKG_CONFIG)" \
78 - HAVE_GTK2=no \
79 - HAVE_LLVM=no \
80 - HAVE_LIBXML=no \
81 - "$@"
82 -}
83 -
84 -src_compile() {
85 - _emake smatch
86 -}
87 -
88 -src_test() {
89 - _emake check
90 -}
91 -
92 -src_install() {
93 - # default install target installs a lot of sparse cruft
94 - dobin smatch
95 - insinto /usr/share/smatch/smatch_data
96 - doins smatch_data/*
97 - dodoc FAQ README
98 -}