Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ccache/
Date: Fri, 19 Jul 2019 18:57:07
Message-Id: 1563562595.4bf8abe7ba2394ba15de2f45ad541b49b8ced688.slyfox@gentoo
1 commit: 4bf8abe7ba2394ba15de2f45ad541b49b8ced688
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 19 18:56:35 2019 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 19 18:56:35 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bf8abe7
7
8 dev-util/ccache: drop old
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-util/ccache/Manifest | 4 --
14 dev-util/ccache/ccache-3.2.4.ebuild | 67 ----------------------------
15 dev-util/ccache/ccache-3.5-r1.ebuild | 83 -----------------------------------
16 dev-util/ccache/ccache-3.6.ebuild | 84 ------------------------------------
17 dev-util/ccache/ccache-3.7.ebuild | 84 ------------------------------------
18 5 files changed, 322 deletions(-)
19
20 diff --git a/dev-util/ccache/Manifest b/dev-util/ccache/Manifest
21 index 2ea5902cc89..7a6315db02a 100644
22 --- a/dev-util/ccache/Manifest
23 +++ b/dev-util/ccache/Manifest
24 @@ -1,8 +1,4 @@
25 -DIST ccache-3.2.4.tar.xz 302548 BLAKE2B 7d642dc3f944183660e79cfdfd68948528aa3ea4ef8162a4d04837c85ccace35107e663ec81a15438dab133fca2e8bf100fecd483f33c9b0aa52c68989ae8122 SHA512 d048b70804c81dece97f3ba511b3c109ec0d14e7dca69bc68faeeb61a4a7b5639c03e3e5ad7dad4e42b4bd198d7a7fffa4e3b7ef99590dfd4df0805db6c25db7
26 DIST ccache-3.3.4.tar.xz 314468 BLAKE2B 6e465598df428979a2c821a698afef25c05d09045cbb54ec54cc3b65b8ce6416b6eb46fae0cf5d60f766129cef11eb01410b522318c67416fdf47f6e8fceae66 SHA512 891bcf11b27fa20a250bc86d182663e46af450a3a807b6cab502f202cd57123ce93bcb1fe5e48866feecda76912a5f742efa5869df9117d81624ba185dd4e02c
27 DIST ccache-3.5.1a.tar.xz 335888 BLAKE2B 66c044b39dd42c91327e02528a4d6c917ac012c2d08190f7dbc2029ed6d1525aa3a6262fb7528f1721cec510306baa59b498a5afbcf955bb6aaf13594c00d178 SHA512 8a2e9eb06ba21fcf92084afd94fc221168693de545e0448f4da2098bef2bcbfdb017117c325b0bab4931b9e346dd8c1a9d1ebaed0cdc36496d9452985cdd1b43
28 -DIST ccache-3.5.tar.xz 334668 BLAKE2B e3e2b63e8c4c8074514fb3a5794325fa05a4d52f48fc436ab0ad21b643ca4d1a1502c989cb47ed68972b105d4f1642e4fadc5ecef1235fe2bd3be5d218094a79 SHA512 92181fb794f06dc231baa4193c37e8f1d844c9281fd64bcb8f4b35c87b4a88dfc9bf36b810b37151ee85699778fcd3783818949a7010e619aeca7e3b33b7a2e3
29 -DIST ccache-3.6.tar.xz 340608 BLAKE2B fa92180f53612f84b71c68da4acccefee129e5bfc9b269caa45a9c16219ed835ccf034d61ff938a54f3673fa23410d960475cc37cf5d27d7be641e7518a43f0a SHA512 13ce4c9084983ce77617cf005235987715cd6b630dac13a17cb9badce24aab71bff505e63da4206878e32d337cc674f05fbf78540711ec5b33a0b8384c47fa0d
30 DIST ccache-3.7.1.tar.xz 349276 BLAKE2B 4f36ccb378b614668777d8be32dd343a0e59e36885a845ba004082f7ca0f69a5e4d01ed08af445c33bff218d33ad0385ed6ade383c06da20e3d0271b2f7423dd SHA512 c2f369c861998f82600272deedc436840af7f85baa355a1e119dacea8f41275d601a0805c3e2a8bc434df621a4e52647bd8654a71c2329542a8b160f7f179cdf
31 DIST ccache-3.7.2.tar.xz 351168 BLAKE2B 6e5c8847f961bd5aa2cf325e582ece9e8bfb9c015fe3dcb01c8ca1e1834fdfb82a351ec49e203721486817df58c6aebf28e0af011f470fb739d5016f72191654 SHA512 3290f0609c27a2f063e632392be01ef163273115700f87a6d2954fcfd52fcc14bf66fc147ecbd2b692258317e113bf8be9f7efdf377560e2e8d9dd67cef58147
32 -DIST ccache-3.7.tar.xz 348764 BLAKE2B a80ac0d5d94ff5d1aaee45a186037a9c8346c5e44d00afd29a4ba40b4fca877cd30b82357f344bed77f5caeb333bacfde8aff46d8fb866b484a3a1d3e5f513f5 SHA512 b8a5944072fcf8280b63ddbd6e2fcbc04d4ee99c0b2d3bfb9b47f61e760ce1dc5e191cf3f6437431b6d08af6cfb2162d6a2021ad49fd6746e531eb03cc26fd2e
33
34 diff --git a/dev-util/ccache/ccache-3.2.4.ebuild b/dev-util/ccache/ccache-3.2.4.ebuild
35 deleted file mode 100644
36 index 41c25b6006e..00000000000
37 --- a/dev-util/ccache/ccache-3.2.4.ebuild
38 +++ /dev/null
39 @@ -1,67 +0,0 @@
40 -# Copyright 1999-2017 Gentoo Foundation
41 -# Distributed under the terms of the GNU General Public License v2
42 -
43 -EAPI=5
44 -
45 -inherit eutils readme.gentoo
46 -
47 -DESCRIPTION="fast compiler cache"
48 -HOMEPAGE="https://ccache.samba.org/"
49 -SRC_URI="https://www.samba.org/ftp/ccache/${P}.tar.xz"
50 -
51 -LICENSE="GPL-3"
52 -SLOT="0"
53 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
54 -IUSE=""
55 -
56 -DEPEND="app-arch/xz-utils
57 - sys-libs/zlib"
58 -RDEPEND="${DEPEND}
59 - sys-apps/gentoo-functions"
60 -
61 -src_prepare() {
62 - # make sure we always use system zlib
63 - rm -rf zlib || die
64 - epatch "${FILESDIR}"/${PN}-3.1.10-size-on-disk.patch #456178
65 - sed \
66 - -e "/^EPREFIX=/s:'':'${EPREFIX}':" \
67 - "${FILESDIR}"/ccache-config-3 > ccache-config || die
68 -}
69 -
70 -src_install() {
71 - DOCS=( AUTHORS.txt MANUAL.txt NEWS.txt README.txt )
72 - default
73 -
74 - dobin ccache-config
75 -
76 - DOC_CONTENTS="
77 -To use ccache with **non-Portage** C compiling, add
78 -${EPREFIX}/usr/lib/ccache/bin to the beginning of your path, before ${EPREFIX}usr/bin.
79 -Portage 2.0.46-r11+ will automatically take advantage of ccache with
80 -no additional steps. If this is your first install of ccache, type
81 -something like this to set a maximum cache size of 2GB:\\n
82 -# ccache -M 2G\\n
83 -If you are upgrading from an older version than 3.x you should clear all of your caches like so:\\n
84 -# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C\\n
85 -ccache now supports sys-devel/clang and dev-lang/icc, too!"
86 -
87 - readme.gentoo_create_doc
88 -}
89 -
90 -pkg_prerm() {
91 - if [[ -z ${REPLACED_BY_VERSION} ]] ; then
92 - "${EROOT}"/usr/bin/ccache-config --remove-links
93 - "${EROOT}"/usr/bin/ccache-config --remove-links ${CHOST}
94 - fi
95 -}
96 -
97 -pkg_postinst() {
98 - "${EROOT}"/usr/bin/ccache-config --install-links
99 - "${EROOT}"/usr/bin/ccache-config --install-links ${CHOST}
100 -
101 - # nuke broken symlinks from previous versions that shouldn't exist
102 - rm -f "${EROOT}"/usr/lib/ccache/bin/${CHOST}-cc || die
103 - rm -rf "${EROOT}"/usr/lib/ccache.backup || die
104 -
105 - readme.gentoo_print_elog
106 -}
107
108 diff --git a/dev-util/ccache/ccache-3.5-r1.ebuild b/dev-util/ccache/ccache-3.5-r1.ebuild
109 deleted file mode 100644
110 index d1a32f96e90..00000000000
111 --- a/dev-util/ccache/ccache-3.5-r1.ebuild
112 +++ /dev/null
113 @@ -1,83 +0,0 @@
114 -# Copyright 1999-2018 Gentoo Authors
115 -# Distributed under the terms of the GNU General Public License v2
116 -
117 -EAPI=7
118 -
119 -inherit readme.gentoo-r1
120 -
121 -DESCRIPTION="fast compiler cache"
122 -HOMEPAGE="https://ccache.samba.org/"
123 -SRC_URI="https://www.samba.org/ftp/ccache/${P}.tar.xz"
124 -
125 -LICENSE="GPL-3"
126 -SLOT="0"
127 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
128 -IUSE=""
129 -
130 -DEPEND="app-arch/xz-utils
131 - sys-libs/zlib"
132 -RDEPEND="${DEPEND}
133 - dev-util/shadowman
134 - sys-apps/gentoo-functions"
135 -
136 -PATCHES=(
137 - "${FILESDIR}"/${PN}-3.4-size-on-disk.patch #456178
138 - "${FILESDIR}"/${PN}-3.5-nvcc-test.patch
139 -)
140 -
141 -src_prepare() {
142 - default
143 -
144 - # make sure we always use system zlib
145 - rm -rf src/zlib || die
146 - sed \
147 - -e "/^EPREFIX=/s:'':'${EPREFIX}':" \
148 - "${FILESDIR}"/ccache-config-3 > ccache-config || die
149 -}
150 -
151 -src_compile() {
152 - emake V=1
153 -}
154 -
155 -src_test() {
156 - emake check V=1
157 -}
158 -
159 -src_install() {
160 - DOCS=( doc/{AUTHORS,MANUAL,NEWS}.adoc CONTRIBUTING.md README.md )
161 - default
162 -
163 - dobin ccache-config
164 - insinto /usr/share/shadowman/tools
165 - newins - ccache <<<'/usr/lib/ccache/bin'
166 -
167 - DOC_CONTENTS="
168 -To use ccache with **non-Portage** C compiling, add
169 -${EPREFIX}/usr/lib/ccache/bin to the beginning of your path, before ${EPREFIX}/usr/bin.
170 -Portage 2.0.46-r11+ will automatically take advantage of ccache with
171 -no additional steps. If this is your first install of ccache, type
172 -something like this to set a maximum cache size of 2GB:\\n
173 -# ccache -M 2G\\n
174 -If you are upgrading from an older version than 3.x you should clear all of your caches like so:\\n
175 -# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C\\n
176 -ccache now supports sys-devel/clang and dev-lang/icc, too!"
177 -
178 - readme.gentoo_create_doc
179 -}
180 -
181 -pkg_prerm() {
182 - if [[ -z ${REPLACED_BY_VERSION} && ${ROOT:-/} == / ]] ; then
183 - eselect compiler-shadow remove ccache
184 - fi
185 -}
186 -
187 -pkg_postinst() {
188 - if [[ ${ROOT:-/} == / ]]; then
189 - eselect compiler-shadow update ccache
190 - fi
191 -
192 - # nuke broken symlinks from previous versions that shouldn't exist
193 - rm -rf "${EROOT}"/usr/lib/ccache.backup || die
194 -
195 - readme.gentoo_print_elog
196 -}
197
198 diff --git a/dev-util/ccache/ccache-3.6.ebuild b/dev-util/ccache/ccache-3.6.ebuild
199 deleted file mode 100644
200 index 905e13b6111..00000000000
201 --- a/dev-util/ccache/ccache-3.6.ebuild
202 +++ /dev/null
203 @@ -1,84 +0,0 @@
204 -# Copyright 1999-2019 Gentoo Authors
205 -# Distributed under the terms of the GNU General Public License v2
206 -
207 -EAPI=7
208 -
209 -inherit readme.gentoo-r1
210 -
211 -DESCRIPTION="fast compiler cache"
212 -HOMEPAGE="https://ccache.samba.org/"
213 -SRC_URI="https://www.samba.org/ftp/ccache/${P}.tar.xz"
214 -
215 -LICENSE="GPL-3"
216 -SLOT="0"
217 -KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-fbsd"
218 -IUSE=""
219 -
220 -DEPEND="app-arch/xz-utils
221 - sys-libs/zlib"
222 -RDEPEND="${DEPEND}
223 - dev-util/shadowman
224 - sys-apps/gentoo-functions"
225 -
226 -PATCHES=(
227 - "${FILESDIR}"/${PN}-3.4-size-on-disk.patch #456178
228 - "${FILESDIR}"/${PN}-3.5-nvcc-test.patch
229 - "${FILESDIR}"/${PN}-3.6-disable-sized-cleanup.patch #649440
230 -)
231 -
232 -src_prepare() {
233 - default
234 -
235 - # make sure we always use system zlib
236 - rm -rf src/zlib || die
237 - sed \
238 - -e "/^EPREFIX=/s:'':'${EPREFIX}':" \
239 - "${FILESDIR}"/ccache-config-3 > ccache-config || die
240 -}
241 -
242 -src_compile() {
243 - emake V=1
244 -}
245 -
246 -src_test() {
247 - emake check V=1
248 -}
249 -
250 -src_install() {
251 - DOCS=( doc/{AUTHORS,MANUAL,NEWS}.adoc CONTRIBUTING.md README.md )
252 - default
253 -
254 - dobin ccache-config
255 - insinto /usr/share/shadowman/tools
256 - newins - ccache <<<'/usr/lib/ccache/bin'
257 -
258 - DOC_CONTENTS="
259 -To use ccache with **non-Portage** C compiling, add
260 -'${EPREFIX}/usr/lib/ccache/bin' to the beginning of your path, before
261 -'${EPREFIX}/usr/bin'. Portage will automatically take advantage of ccache with
262 -no additional steps. If this is your first install of ccache, type
263 -something like this to set a maximum cache size of 2GB:\\n
264 -# ccache -M 2G\\n
265 -If you are upgrading from an older version than 3.x you should clear all of your caches like so:\\n
266 -# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C\\n
267 -ccache now supports sys-devel/clang and dev-lang/icc, too!"
268 -
269 - readme.gentoo_create_doc
270 -}
271 -
272 -pkg_prerm() {
273 - if [[ -z ${REPLACED_BY_VERSION} && ${ROOT:-/} == / ]] ; then
274 - eselect compiler-shadow remove ccache
275 - fi
276 -}
277 -
278 -pkg_postinst() {
279 - if [[ ${ROOT:-/} == / ]]; then
280 - eselect compiler-shadow update ccache
281 - fi
282 -
283 - # nuke broken symlinks from previous versions that shouldn't exist
284 - rm -rf "${EROOT}"/usr/lib/ccache.backup || die
285 -
286 - readme.gentoo_print_elog
287 -}
288
289 diff --git a/dev-util/ccache/ccache-3.7.ebuild b/dev-util/ccache/ccache-3.7.ebuild
290 deleted file mode 100644
291 index a2c8a134a09..00000000000
292 --- a/dev-util/ccache/ccache-3.7.ebuild
293 +++ /dev/null
294 @@ -1,84 +0,0 @@
295 -# Copyright 1999-2019 Gentoo Authors
296 -# Distributed under the terms of the GNU General Public License v2
297 -
298 -EAPI=7
299 -
300 -inherit readme.gentoo-r1
301 -
302 -DESCRIPTION="fast compiler cache"
303 -HOMEPAGE="https://ccache.dev/"
304 -SRC_URI="https://github.com/ccache/ccache/releases/download/v${PV}/ccache-${PV}.tar.xz"
305 -
306 -LICENSE="GPL-3"
307 -SLOT="0"
308 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-fbsd"
309 -IUSE=""
310 -
311 -DEPEND="app-arch/xz-utils
312 - sys-libs/zlib"
313 -RDEPEND="${DEPEND}
314 - dev-util/shadowman
315 - sys-apps/gentoo-functions"
316 -
317 -PATCHES=(
318 - "${FILESDIR}"/${PN}-3.4-size-on-disk.patch #456178
319 - "${FILESDIR}"/${PN}-3.5-nvcc-test.patch
320 - "${FILESDIR}"/${PN}-3.6-disable-sized-cleanup.patch #649440
321 -)
322 -
323 -src_prepare() {
324 - default
325 -
326 - # make sure we always use system zlib
327 - rm -rf src/zlib || die
328 - sed \
329 - -e "/^EPREFIX=/s:'':'${EPREFIX}':" \
330 - "${FILESDIR}"/ccache-config-3 > ccache-config || die
331 -}
332 -
333 -src_compile() {
334 - emake V=1
335 -}
336 -
337 -src_test() {
338 - emake check V=1
339 -}
340 -
341 -src_install() {
342 - DOCS=( doc/{AUTHORS,MANUAL,NEWS}.adoc CONTRIBUTING.md README.md )
343 - default
344 -
345 - dobin ccache-config
346 - insinto /usr/share/shadowman/tools
347 - newins - ccache <<<'/usr/lib/ccache/bin'
348 -
349 - DOC_CONTENTS="
350 -To use ccache with **non-Portage** C compiling, add
351 -'${EPREFIX}/usr/lib/ccache/bin' to the beginning of your path, before
352 -'${EPREFIX}/usr/bin'. Portage will automatically take advantage of ccache with
353 -no additional steps. If this is your first install of ccache, type
354 -something like this to set a maximum cache size of 2GB:\\n
355 -# ccache -M 2G\\n
356 -If you are upgrading from an older version than 3.x you should clear all of your caches like so:\\n
357 -# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C\\n
358 -ccache now supports sys-devel/clang and dev-lang/icc, too!"
359 -
360 - readme.gentoo_create_doc
361 -}
362 -
363 -pkg_prerm() {
364 - if [[ -z ${REPLACED_BY_VERSION} && ${ROOT:-/} == / ]] ; then
365 - eselect compiler-shadow remove ccache
366 - fi
367 -}
368 -
369 -pkg_postinst() {
370 - if [[ ${ROOT:-/} == / ]]; then
371 - eselect compiler-shadow update ccache
372 - fi
373 -
374 - # nuke broken symlinks from previous versions that shouldn't exist
375 - rm -rf "${EROOT}"/usr/lib/ccache.backup || die
376 -
377 - readme.gentoo_print_elog
378 -}