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: Sun, 28 Jun 2020 22:43:40
Message-Id: 1593384195.a28d87e0ebf5308b62d86b81abeb02f8b0cd5c67.slyfox@gentoo
1 commit: a28d87e0ebf5308b62d86b81abeb02f8b0cd5c67
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 28 22:24:28 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 28 22:43:15 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a28d87e0
7
8 sys-devel/sparse: drop old
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 sys-devel/sparse/Manifest | 3 --
14 sys-devel/sparse/sparse-0.5.1.ebuild | 48 ------------------------
15 sys-devel/sparse/sparse-0.5.2_rc1.ebuild | 50 -------------------------
16 sys-devel/sparse/sparse-0.6.0.ebuild | 64 --------------------------------
17 4 files changed, 165 deletions(-)
18
19 diff --git a/sys-devel/sparse/Manifest b/sys-devel/sparse/Manifest
20 index 0b6c7726fdd..69ecd80dccb 100644
21 --- a/sys-devel/sparse/Manifest
22 +++ b/sys-devel/sparse/Manifest
23 @@ -1,4 +1 @@
24 -DIST sparse-0.5.1.tar.xz 215144 BLAKE2B 209aa7cf34a9135dae38466a0ba41ff4fb888c363ed59a68a5820d4b6ef1636d717b8172a6d638d9dbc61197efb7a3e06ef85830b6f1c359737520b4b3aa0fbe SHA512 f7fc516ef8343a4153b9bda1b50b326dcd55a77fce5acccd9aa4c5636d6510573c7e26b0a7ca1df847082faf2be2d292336ad1cec855e395703a6b1e04d3a8a1
25 -DIST sparse-0.5.2-rc1.tar.gz 282810 BLAKE2B 74d06230ceb06dac427984c365223633ef795b2f6329c69da5183b9f3444457ee05d74b04b18cf400b4d813026a746218edbf9bc0b2aa371c8a3681ac10ce19b SHA512 b58458b97e91b7d02d032a946d9870a3fd227959608fb7847864ad1a92258aeb0461da513f4d6d3b37791ed8d5fc41ac01cfef0fcaf34b229090ff078672ef40
26 -DIST sparse-0.6.0.tar.xz 284668 BLAKE2B 9bb568fe23ac96d6e179e5c5927ff34e9fc88909d367f6ab49c8862a8e599df83602ba72bc42ba3bf63823b024340f101128c528ebf767f4e29da7f5324a1f40 SHA512 5c6c88f203c941bf0efd28802ef91641c96e7d4b4688a5176d091ff0fd6a650d9147e590b631602a8bd08994a35261977569367861a6d605ccdd25e4a07debf9
27 DIST sparse-0.6.1.tar.xz 287880 BLAKE2B 026e7770460ab576b91e8c401c642e95269ddd7c90c0f855b0246448ca653b95a899b4bf647134c090c06c802757b6415dcc89bc214fb7ff124c2ce3888fccb0 SHA512 2faad9b3263f19f941cd6a5891960d2c7d1066c664d3ef68e722d461785aeed2d4a9539df3556bbd98c022e7ee965b8030c49272ab6003113ba3b36f73c00187
28
29 diff --git a/sys-devel/sparse/sparse-0.5.1.ebuild b/sys-devel/sparse/sparse-0.5.1.ebuild
30 deleted file mode 100644
31 index 45819e26886..00000000000
32 --- a/sys-devel/sparse/sparse-0.5.1.ebuild
33 +++ /dev/null
34 @@ -1,48 +0,0 @@
35 -# Copyright 1999-2020 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=6
39 -
40 -inherit eutils multilib toolchain-funcs
41 -
42 -DESCRIPTION="C semantic parser"
43 -HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
44 -
45 -if [[ ${PV} == "9999" ]] ; then
46 - inherit git-r3
47 - EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
48 - KEYWORDS=""
49 -else
50 - SRC_URI="https://www.kernel.org/pub/software/devel/${PN}/dist/${P}.tar.xz"
51 - KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
52 -fi
53 -
54 -LICENSE="MIT"
55 -SLOT="0"
56 -IUSE="gtk llvm test xml"
57 -RESTRICT="!test? ( test )"
58 -
59 -RDEPEND="gtk? ( x11-libs/gtk+:2 )
60 - llvm? ( >=sys-devel/llvm-3.0 )
61 - xml? ( dev-libs/libxml2 )"
62 -DEPEND="${RDEPEND}
63 - gtk? ( virtual/pkgconfig )
64 - xml? ( virtual/pkgconfig )"
65 -
66 -PATCHES=( "${FILESDIR}/${PN}-0.5.1-cmdline-include.patch" )
67 -
68 -src_prepare() {
69 - tc-export AR CC PKG_CONFIG
70 - sed -i \
71 - -e '/^PREFIX=/s:=.*:=/usr:' \
72 - -e "/^LIBDIR=/s:/lib:/$(get_libdir):" \
73 - -e '/^COMMON_CFLAGS =/{s:=:= $(CPPFLAGS):;s:-O2 -finline-functions -fno-strict-aliasing -g:-fno-strict-aliasing:}' \
74 - -e "s:pkg-config:${PKG_CONFIG}:" \
75 - Makefile || die
76 - export MAKEOPTS+=" V=1 AR=${AR} CC=${CC} HAVE_GTK2=$(usex gtk) HAVE_LLVM=$(usex llvm) HAVE_LIBXML=$(usex xml)"
77 - default
78 -}
79 -
80 -src_compile() {
81 - emake $(usex test all all-installable)
82 -}
83
84 diff --git a/sys-devel/sparse/sparse-0.5.2_rc1.ebuild b/sys-devel/sparse/sparse-0.5.2_rc1.ebuild
85 deleted file mode 100644
86 index ad1d4593113..00000000000
87 --- a/sys-devel/sparse/sparse-0.5.2_rc1.ebuild
88 +++ /dev/null
89 @@ -1,50 +0,0 @@
90 -# Copyright 1999-2020 Gentoo Authors
91 -# Distributed under the terms of the GNU General Public License v2
92 -
93 -EAPI=6
94 -
95 -inherit eutils multilib toolchain-funcs
96 -
97 -DESCRIPTION="C semantic parser"
98 -HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
99 -
100 -RC_COMMIT=d1c2f8d3d4205ca1ae7cf0ec2cbd89a7fce73e5c
101 -
102 -if [[ ${PV} == "9999" ]] ; then
103 - inherit git-r3
104 - EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
105 - KEYWORDS=""
106 -else
107 - SRC_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git/snapshot/${PN}-${RC_COMMIT}.tar.gz -> ${PN}-${PV/_/-}.tar.gz"
108 - KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
109 -fi
110 -
111 -LICENSE="MIT"
112 -SLOT="0"
113 -IUSE="gtk llvm test xml"
114 -RESTRICT="!test? ( test )"
115 -
116 -RDEPEND="gtk? ( x11-libs/gtk+:2 )
117 - llvm? ( >=sys-devel/llvm-3.0 )
118 - xml? ( dev-libs/libxml2 )"
119 -DEPEND="${RDEPEND}
120 - gtk? ( virtual/pkgconfig )
121 - xml? ( virtual/pkgconfig )"
122 -
123 -S="${WORKDIR}/sparse-${RC_COMMIT}"
124 -
125 -src_prepare() {
126 - tc-export AR CC PKG_CONFIG
127 - sed -i \
128 - -e '/^PREFIX=/s:=.*:=/usr:' \
129 - -e "/^LIBDIR=/s:/lib:/$(get_libdir):" \
130 - -e '/^COMMON_CFLAGS =/{s:=:= $(CPPFLAGS):;s:-O2 -finline-functions -fno-strict-aliasing -g:-fno-strict-aliasing:}' \
131 - -e "s:pkg-config:${PKG_CONFIG}:" \
132 - Makefile || die
133 - export MAKEOPTS+=" V=1 AR=${AR} CC=${CC} HAVE_GTK2=$(usex gtk) HAVE_LLVM=$(usex llvm) HAVE_LIBXML=$(usex xml)"
134 - default
135 -}
136 -
137 -src_compile() {
138 - emake $(usex test all all-installable)
139 -}
140
141 diff --git a/sys-devel/sparse/sparse-0.6.0.ebuild b/sys-devel/sparse/sparse-0.6.0.ebuild
142 deleted file mode 100644
143 index 1b776ebd0a1..00000000000
144 --- a/sys-devel/sparse/sparse-0.6.0.ebuild
145 +++ /dev/null
146 @@ -1,64 +0,0 @@
147 -# Copyright 1999-2020 Gentoo Authors
148 -# Distributed under the terms of the GNU General Public License v2
149 -
150 -EAPI=7
151 -
152 -inherit eutils multilib toolchain-funcs
153 -
154 -DESCRIPTION="C semantic parser"
155 -HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
156 -
157 -if [[ ${PV} == "9999" ]] ; then
158 - inherit git-r3
159 - EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
160 - KEYWORDS=""
161 -else
162 - SRC_URI="https://www.kernel.org/pub/software/devel/${PN}/dist/${P}.tar.xz"
163 - KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
164 -fi
165 -
166 -LICENSE="MIT"
167 -SLOT="0"
168 -IUSE="gtk llvm test xml"
169 -RESTRICT="!test? ( test )"
170 -
171 -RDEPEND="gtk? ( x11-libs/gtk+:2 )
172 - llvm? ( >=sys-devel/llvm-3.0 )
173 - xml? ( dev-libs/libxml2 )"
174 -DEPEND="${RDEPEND}
175 - gtk? ( virtual/pkgconfig )
176 - xml? ( virtual/pkgconfig )"
177 -
178 -_emake() {
179 - # Makefile does not allow for an easy override of flags.
180 - # Collect them here and override default phases.
181 - emake \
182 - CC="$(tc-getCC)" \
183 - LD="$(tc-getCC)" \
184 - AR="$(tc-getAR)" \
185 - CFLAGS="${CFLAGS}" \
186 - PKG_CONFIG="$(tc-getPKG_CONFIG)" \
187 - \
188 - HAVE_GTK=$(usex gtk) \
189 - HAVE_LLVM=$(usex llvm) \
190 - HAVE_LIBXML=$(usex xml) \
191 - \
192 - V=1 \
193 - PREFIX="${EPREFIX}/usr" \
194 - \
195 - "$@"
196 -}
197 -
198 -src_compile() {
199 - _emake
200 -}
201 -
202 -src_test() {
203 - _emake check
204 -}
205 -
206 -src_install() {
207 - _emake DESTDIR="${D}" install
208 -
209 - dodoc FAQ README
210 -}