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: Sat, 02 May 2020 17:51:50
Message-Id: 1588441887.7aecd34b4c0f4be2b72a1143e8d0136964e80724.slyfox@gentoo
1 commit: 7aecd34b4c0f4be2b72a1143e8d0136964e80724
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 2 17:40:45 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat May 2 17:51:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aecd34b
7
8 dev-util/ccache: drop old
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-util/ccache/Manifest | 2 -
14 dev-util/ccache/ccache-3.7.2.ebuild | 84 -----------------------------------
15 dev-util/ccache/ccache-3.7.6.ebuild | 88 -------------------------------------
16 dev-util/ccache/ccache-3.7.7.ebuild | 88 -------------------------------------
17 4 files changed, 262 deletions(-)
18
19 diff --git a/dev-util/ccache/Manifest b/dev-util/ccache/Manifest
20 index a353ffd6051..8cb44cb4a61 100644
21 --- a/dev-util/ccache/Manifest
22 +++ b/dev-util/ccache/Manifest
23 @@ -1,5 +1,3 @@
24 -DIST ccache-3.7.2.tar.xz 351168 BLAKE2B 6e5c8847f961bd5aa2cf325e582ece9e8bfb9c015fe3dcb01c8ca1e1834fdfb82a351ec49e203721486817df58c6aebf28e0af011f470fb739d5016f72191654 SHA512 3290f0609c27a2f063e632392be01ef163273115700f87a6d2954fcfd52fcc14bf66fc147ecbd2b692258317e113bf8be9f7efdf377560e2e8d9dd67cef58147
25 -DIST ccache-3.7.6.tar.xz 352692 BLAKE2B 97f6c3ea119b7f1f4fdab1dc88ac34a23bd8f893a1e399dd9f934b345ea27999b3750be6b474caf2bcaea77eb9281f99623312aa55dc5b5ffb7cf5e670b173f4 SHA512 c92a699b9761bbbde1666a9bc2718070a5beb24f7054d91226790c7903fe2e26a02d0782822bc811aaffcd88df3cd3e011a19061eb69569ed7140765cef8d6ba
26 DIST ccache-3.7.7.tar.xz 351592 BLAKE2B 0b211cb77ceb42b7ee5dfcde98d9f53bf222cf18b8d38a7cf6fc9631c5e1c79ca82e6d0a0dbacfe2d5f61b2acefebe202e06fc3b8035f0f25a5f9954554a18cd SHA512 f93380aeb45e815964abc3b62f1963abafe22e0c6a7b61d039e710c7f935221e02678e21af65add4fd59fd5a141824ab95f4a7afc8dd557de36737c365cab816
27 DIST ccache-3.7.8.tar.xz 352528 BLAKE2B 8d8896b100c43a3e9a60445c95369cd8898fdbf653fc4d5791b8e1abc0191882319078d619429213a5f6968a1dbc639808037459c80514cea775d261c83b949a SHA512 dc8cc9cd5f6f054421f0ecb50f66e0af85222c347d59fecd4555dfe1d8d6cbdca304818de8bc8a39fc1a1225567c141ce104ac315369bf6c307e9da67e14b51c
28 DIST ccache-3.7.9.tar.xz 352948 BLAKE2B 791491c3f9da58f06bb0a58e411d9a7b3e39e460102793ef736820913d43d488ce7daffba572c21f507ea78d8da04edc3aaa47eb1a0fbec8cb35461a60b770e9 SHA512 5d39baeb66265451b0e9cef250f6d9c5f6869cd87e27c108c9a50bef80050122ed4280ff662a81bba8d1d1311f2004bcaf9ada6b783a42eedc67ca01ebc48bb4
29
30 diff --git a/dev-util/ccache/ccache-3.7.2.ebuild b/dev-util/ccache/ccache-3.7.2.ebuild
31 deleted file mode 100644
32 index 77db723bad2..00000000000
33 --- a/dev-util/ccache/ccache-3.7.2.ebuild
34 +++ /dev/null
35 @@ -1,84 +0,0 @@
36 -# Copyright 1999-2020 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=7
40 -
41 -inherit readme.gentoo-r1
42 -
43 -DESCRIPTION="fast compiler cache"
44 -HOMEPAGE="https://ccache.dev/"
45 -SRC_URI="https://github.com/ccache/ccache/releases/download/v${PV}/ccache-${PV}.tar.xz"
46 -
47 -LICENSE="GPL-3"
48 -SLOT="0"
49 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86"
50 -IUSE=""
51 -
52 -DEPEND="app-arch/xz-utils
53 - sys-libs/zlib"
54 -RDEPEND="${DEPEND}
55 - dev-util/shadowman
56 - sys-apps/gentoo-functions"
57 -
58 -PATCHES=(
59 - "${FILESDIR}"/${PN}-3.4-size-on-disk.patch #456178
60 - "${FILESDIR}"/${PN}-3.5-nvcc-test.patch
61 - "${FILESDIR}"/${PN}-3.6-disable-sized-cleanup.patch #649440
62 -)
63 -
64 -src_prepare() {
65 - default
66 -
67 - # make sure we always use system zlib
68 - rm -rf src/zlib || die
69 - sed \
70 - -e "/^EPREFIX=/s:'':'${EPREFIX}':" \
71 - "${FILESDIR}"/ccache-config-3 > ccache-config || die
72 -}
73 -
74 -src_compile() {
75 - emake V=1
76 -}
77 -
78 -src_test() {
79 - emake check V=1
80 -}
81 -
82 -src_install() {
83 - DOCS=( doc/{AUTHORS,MANUAL,NEWS}.adoc CONTRIBUTING.md README.md )
84 - default
85 -
86 - dobin ccache-config
87 - insinto /usr/share/shadowman/tools
88 - newins - ccache <<<'/usr/lib/ccache/bin'
89 -
90 - DOC_CONTENTS="
91 -To use ccache with **non-Portage** C compiling, add
92 -'${EPREFIX}/usr/lib/ccache/bin' to the beginning of your path, before
93 -'${EPREFIX}/usr/bin'. Portage will automatically take advantage of ccache with
94 -no additional steps. If this is your first install of ccache, type
95 -something like this to set a maximum cache size of 2GB:\\n
96 -# ccache -M 2G\\n
97 -If you are upgrading from an older version than 3.x you should clear all of your caches like so:\\n
98 -# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C\\n
99 -ccache now supports sys-devel/clang and dev-lang/icc, too!"
100 -
101 - readme.gentoo_create_doc
102 -}
103 -
104 -pkg_prerm() {
105 - if [[ -z ${REPLACED_BY_VERSION} && ${ROOT:-/} == / ]] ; then
106 - eselect compiler-shadow remove ccache
107 - fi
108 -}
109 -
110 -pkg_postinst() {
111 - if [[ ${ROOT:-/} == / ]]; then
112 - eselect compiler-shadow update ccache
113 - fi
114 -
115 - # nuke broken symlinks from previous versions that shouldn't exist
116 - rm -rf "${EROOT}"/usr/lib/ccache.backup || die
117 -
118 - readme.gentoo_print_elog
119 -}
120
121 diff --git a/dev-util/ccache/ccache-3.7.6.ebuild b/dev-util/ccache/ccache-3.7.6.ebuild
122 deleted file mode 100644
123 index 271109bf94a..00000000000
124 --- a/dev-util/ccache/ccache-3.7.6.ebuild
125 +++ /dev/null
126 @@ -1,88 +0,0 @@
127 -# Copyright 1999-2020 Gentoo Authors
128 -# Distributed under the terms of the GNU General Public License v2
129 -
130 -EAPI=7
131 -
132 -inherit readme.gentoo-r1
133 -
134 -DESCRIPTION="fast compiler cache"
135 -HOMEPAGE="https://ccache.dev/"
136 -SRC_URI="https://github.com/ccache/ccache/releases/download/v${PV}/ccache-${PV}.tar.xz"
137 -
138 -LICENSE="GPL-3"
139 -SLOT="0"
140 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86"
141 -IUSE="test"
142 -
143 -DEPEND="app-arch/xz-utils
144 - sys-libs/zlib"
145 -RDEPEND="${DEPEND}
146 - dev-util/shadowman
147 - sys-apps/gentoo-functions"
148 -# clang-specific tests use it to compare objects for equality.
149 -# Let's pull in the dependency unconditionally.
150 -DEPEND+="
151 - test? ( dev-libs/elfutils )"
152 -
153 -RESTRICT="!test? ( test )"
154 -
155 -PATCHES=(
156 - "${FILESDIR}"/${PN}-3.5-nvcc-test.patch
157 -)
158 -
159 -src_prepare() {
160 - default
161 -
162 - # make sure we always use system zlib
163 - rm -rf src/zlib || die
164 - sed \
165 - -e "/^EPREFIX=/s:'':'${EPREFIX}':" \
166 - "${FILESDIR}"/ccache-config-3 > ccache-config || die
167 -}
168 -
169 -src_compile() {
170 - emake V=1
171 -}
172 -
173 -src_test() {
174 - emake check V=1
175 -}
176 -
177 -src_install() {
178 - DOCS=( doc/{AUTHORS,MANUAL,NEWS}.adoc CONTRIBUTING.md README.md )
179 - default
180 -
181 - dobin ccache-config
182 - insinto /usr/share/shadowman/tools
183 - newins - ccache <<<'/usr/lib/ccache/bin'
184 -
185 - DOC_CONTENTS="
186 -To use ccache with **non-Portage** C compiling, add
187 -'${EPREFIX}/usr/lib/ccache/bin' to the beginning of your path, before
188 -'${EPREFIX}/usr/bin'. Portage will automatically take advantage of ccache with
189 -no additional steps. If this is your first install of ccache, type
190 -something like this to set a maximum cache size of 2GB:\\n
191 -# ccache -M 2G\\n
192 -If you are upgrading from an older version than 3.x you should clear all of your caches like so:\\n
193 -# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C\\n
194 -ccache now supports sys-devel/clang and dev-lang/icc, too!"
195 -
196 - readme.gentoo_create_doc
197 -}
198 -
199 -pkg_prerm() {
200 - if [[ -z ${REPLACED_BY_VERSION} && ${ROOT:-/} == / ]] ; then
201 - eselect compiler-shadow remove ccache
202 - fi
203 -}
204 -
205 -pkg_postinst() {
206 - if [[ ${ROOT:-/} == / ]]; then
207 - eselect compiler-shadow update ccache
208 - fi
209 -
210 - # nuke broken symlinks from previous versions that shouldn't exist
211 - rm -rf "${EROOT}"/usr/lib/ccache.backup || die
212 -
213 - readme.gentoo_print_elog
214 -}
215
216 diff --git a/dev-util/ccache/ccache-3.7.7.ebuild b/dev-util/ccache/ccache-3.7.7.ebuild
217 deleted file mode 100644
218 index 84e1e14d82b..00000000000
219 --- a/dev-util/ccache/ccache-3.7.7.ebuild
220 +++ /dev/null
221 @@ -1,88 +0,0 @@
222 -# Copyright 1999-2020 Gentoo Authors
223 -# Distributed under the terms of the GNU General Public License v2
224 -
225 -EAPI=7
226 -
227 -inherit readme.gentoo-r1
228 -
229 -DESCRIPTION="fast compiler cache"
230 -HOMEPAGE="https://ccache.dev/"
231 -SRC_URI="https://github.com/ccache/ccache/releases/download/v${PV}/ccache-${PV}.tar.xz"
232 -
233 -LICENSE="GPL-3"
234 -SLOT="0"
235 -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86"
236 -IUSE="test"
237 -
238 -DEPEND="app-arch/xz-utils
239 - sys-libs/zlib"
240 -RDEPEND="${DEPEND}
241 - dev-util/shadowman
242 - sys-apps/gentoo-functions"
243 -# clang-specific tests use it to compare objects for equality.
244 -# Let's pull in the dependency unconditionally.
245 -DEPEND+="
246 - test? ( dev-libs/elfutils )"
247 -
248 -RESTRICT="!test? ( test )"
249 -
250 -PATCHES=(
251 - "${FILESDIR}"/${PN}-3.5-nvcc-test.patch
252 -)
253 -
254 -src_prepare() {
255 - default
256 -
257 - # make sure we always use system zlib
258 - rm -rf src/zlib || die
259 - sed \
260 - -e "/^EPREFIX=/s:'':'${EPREFIX}':" \
261 - "${FILESDIR}"/ccache-config-3 > ccache-config || die
262 -}
263 -
264 -src_compile() {
265 - emake V=1
266 -}
267 -
268 -src_test() {
269 - emake check V=1
270 -}
271 -
272 -src_install() {
273 - DOCS=( doc/{AUTHORS,MANUAL,NEWS}.adoc CONTRIBUTING.md README.md )
274 - default
275 -
276 - dobin ccache-config
277 - insinto /usr/share/shadowman/tools
278 - newins - ccache <<<'/usr/lib/ccache/bin'
279 -
280 - DOC_CONTENTS="
281 -To use ccache with **non-Portage** C compiling, add
282 -'${EPREFIX}/usr/lib/ccache/bin' to the beginning of your path, before
283 -'${EPREFIX}/usr/bin'. Portage will automatically take advantage of ccache with
284 -no additional steps. If this is your first install of ccache, type
285 -something like this to set a maximum cache size of 2GB:\\n
286 -# ccache -M 2G\\n
287 -If you are upgrading from an older version than 3.x you should clear all of your caches like so:\\n
288 -# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C\\n
289 -ccache now supports sys-devel/clang and dev-lang/icc, too!"
290 -
291 - readme.gentoo_create_doc
292 -}
293 -
294 -pkg_prerm() {
295 - if [[ -z ${REPLACED_BY_VERSION} && ${ROOT:-/} == / ]] ; then
296 - eselect compiler-shadow remove ccache
297 - fi
298 -}
299 -
300 -pkg_postinst() {
301 - if [[ ${ROOT:-/} == / ]]; then
302 - eselect compiler-shadow update ccache
303 - fi
304 -
305 - # nuke broken symlinks from previous versions that shouldn't exist
306 - rm -rf "${EROOT}"/usr/lib/ccache.backup || die
307 -
308 - readme.gentoo_print_elog
309 -}