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: Mon, 03 Sep 2018 21:22:24
Message-Id: 1536009733.3789274e48ccf3258f99968a49fb06b588e6f47c.slyfox@gentoo
1 commit: 3789274e48ccf3258f99968a49fb06b588e6f47c
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 3 21:21:08 2018 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 3 21:22:13 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3789274e
7
8 dev-util/ccache: drop old
9
10 Package-Manager: Portage-2.3.48, Repoman-2.3.10
11
12 dev-util/ccache/Manifest | 1 -
13 dev-util/ccache/ccache-3.3.4.ebuild | 67 ---------------------------------
14 dev-util/ccache/ccache-3.4.2.ebuild | 74 -------------------------------------
15 3 files changed, 142 deletions(-)
16
17 diff --git a/dev-util/ccache/Manifest b/dev-util/ccache/Manifest
18 index 2d725c18ca8..538e0523710 100644
19 --- a/dev-util/ccache/Manifest
20 +++ b/dev-util/ccache/Manifest
21 @@ -1,4 +1,3 @@
22 DIST ccache-3.2.4.tar.xz 302548 BLAKE2B 7d642dc3f944183660e79cfdfd68948528aa3ea4ef8162a4d04837c85ccace35107e663ec81a15438dab133fca2e8bf100fecd483f33c9b0aa52c68989ae8122 SHA512 d048b70804c81dece97f3ba511b3c109ec0d14e7dca69bc68faeeb61a4a7b5639c03e3e5ad7dad4e42b4bd198d7a7fffa4e3b7ef99590dfd4df0805db6c25db7
23 DIST ccache-3.3.4.tar.xz 314468 BLAKE2B 6e465598df428979a2c821a698afef25c05d09045cbb54ec54cc3b65b8ce6416b6eb46fae0cf5d60f766129cef11eb01410b522318c67416fdf47f6e8fceae66 SHA512 891bcf11b27fa20a250bc86d182663e46af450a3a807b6cab502f202cd57123ce93bcb1fe5e48866feecda76912a5f742efa5869df9117d81624ba185dd4e02c
24 -DIST ccache-3.4.2.tar.xz 324340 BLAKE2B e49582b4ff254dd4cd210634342d7b21d5c099892d4c7f3240122a3b9de013477f6c440eaf73d06fc0445020e225562528babfb41d10ca1fab68052c1e726531 SHA512 9bf07269df6785bb92758093f46f3be4df45de532e431e0bc3a68a7170d1782376a9b4495acf77569549062c84f61621c21c5d200e271cd064dbda4a73276f8e
25 DIST ccache-3.4.3.tar.xz 328824 BLAKE2B f2ff3276cbadde642a362400b32291f59f60c274861c4c706f0bced801aec7aeeafeeb611331bc23e96fc8790a1d1ffd39df58f24f6a5384d8ddda0da54c9339 SHA512 8a92ef3f3b3688bb4c0b39106bea387ec3065a074327c1fa793e511192acd5cf9aeb5c0065ee8868a944ec63463c2b59fb84edd952102468cd12fcbb1ee16c49
26
27 diff --git a/dev-util/ccache/ccache-3.3.4.ebuild b/dev-util/ccache/ccache-3.3.4.ebuild
28 deleted file mode 100644
29 index e320f86f1d0..00000000000
30 --- a/dev-util/ccache/ccache-3.3.4.ebuild
31 +++ /dev/null
32 @@ -1,67 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="5"
37 -
38 -inherit eutils readme.gentoo-r1
39 -
40 -DESCRIPTION="fast compiler cache"
41 -HOMEPAGE="https://ccache.samba.org/"
42 -SRC_URI="https://www.samba.org/ftp/ccache/${P}.tar.xz"
43 -
44 -LICENSE="GPL-3"
45 -SLOT="0"
46 -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"
47 -IUSE=""
48 -
49 -DEPEND="app-arch/xz-utils
50 - sys-libs/zlib"
51 -RDEPEND="${DEPEND}
52 - sys-apps/gentoo-functions"
53 -
54 -src_prepare() {
55 - # make sure we always use system zlib
56 - rm -rf zlib || die
57 - epatch "${FILESDIR}"/${PN}-3.3-size-on-disk.patch #456178
58 - sed \
59 - -e "/^EPREFIX=/s:'':'${EPREFIX}':" \
60 - "${FILESDIR}"/ccache-config-3 > ccache-config || die
61 -}
62 -
63 -src_install() {
64 - DOCS=( AUTHORS.txt MANUAL.txt NEWS.txt README.md )
65 - default
66 -
67 - dobin ccache-config
68 -
69 - DOC_CONTENTS="
70 -To use ccache with **non-Portage** C compiling, add
71 -${EPREFIX}/usr/lib/ccache/bin to the beginning of your path, before ${EPREFIX}/usr/bin.
72 -Portage 2.0.46-r11+ will automatically take advantage of ccache with
73 -no additional steps. If this is your first install of ccache, type
74 -something like this to set a maximum cache size of 2GB:\\n
75 -# ccache -M 2G\\n
76 -If you are upgrading from an older version than 3.x you should clear all of your caches like so:\\n
77 -# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C\\n
78 -ccache now supports sys-devel/clang and dev-lang/icc, too!"
79 -
80 - readme.gentoo_create_doc
81 -}
82 -
83 -pkg_prerm() {
84 - if [[ -z ${REPLACED_BY_VERSION} ]] ; then
85 - "${EROOT}"/usr/bin/ccache-config --remove-links
86 - "${EROOT}"/usr/bin/ccache-config --remove-links ${CHOST}
87 - fi
88 -}
89 -
90 -pkg_postinst() {
91 - "${EROOT}"/usr/bin/ccache-config --install-links
92 - "${EROOT}"/usr/bin/ccache-config --install-links ${CHOST}
93 -
94 - # nuke broken symlinks from previous versions that shouldn't exist
95 - rm -f "${EROOT}"/usr/lib/ccache/bin/${CHOST}-cc || die
96 - rm -rf "${EROOT}"/usr/lib/ccache.backup || die
97 -
98 - readme.gentoo_print_elog
99 -}
100
101 diff --git a/dev-util/ccache/ccache-3.4.2.ebuild b/dev-util/ccache/ccache-3.4.2.ebuild
102 deleted file mode 100644
103 index 25d07d629e1..00000000000
104 --- a/dev-util/ccache/ccache-3.4.2.ebuild
105 +++ /dev/null
106 @@ -1,74 +0,0 @@
107 -# Copyright 1999-2018 Gentoo Foundation
108 -# Distributed under the terms of the GNU General Public License v2
109 -
110 -EAPI=6
111 -
112 -inherit readme.gentoo-r1
113 -
114 -DESCRIPTION="fast compiler cache"
115 -HOMEPAGE="https://ccache.samba.org/"
116 -SRC_URI="https://www.samba.org/ftp/ccache/${P}.tar.xz"
117 -
118 -LICENSE="GPL-3"
119 -SLOT="0"
120 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
121 -IUSE=""
122 -
123 -DEPEND="app-arch/xz-utils
124 - sys-libs/zlib"
125 -RDEPEND="${DEPEND}
126 - dev-util/shadowman
127 - sys-apps/gentoo-functions"
128 -
129 -PATCHES=(
130 - "${FILESDIR}"/${PN}-3.4-size-on-disk.patch #456178
131 -)
132 -
133 -src_prepare() {
134 - default
135 -
136 - # make sure we always use system zlib
137 - rm -rf src/zlib || die
138 - sed \
139 - -e "/^EPREFIX=/s:'':'${EPREFIX}':" \
140 - "${FILESDIR}"/ccache-config-3 > ccache-config || die
141 -}
142 -
143 -src_install() {
144 - DOCS=( doc/{AUTHORS,MANUAL,NEWS}.adoc CONTRIBUTING.md README.md )
145 - default
146 -
147 - dobin ccache-config
148 - insinto /usr/share/shadowman/tools
149 - newins - ccache <<<'/usr/lib/ccache/bin'
150 -
151 - DOC_CONTENTS="
152 -To use ccache with **non-Portage** C compiling, add
153 -${EPREFIX}/usr/lib/ccache/bin to the beginning of your path, before ${EPREFIX}/usr/bin.
154 -Portage 2.0.46-r11+ will automatically take advantage of ccache with
155 -no additional steps. If this is your first install of ccache, type
156 -something like this to set a maximum cache size of 2GB:\\n
157 -# ccache -M 2G\\n
158 -If you are upgrading from an older version than 3.x you should clear all of your caches like so:\\n
159 -# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C\\n
160 -ccache now supports sys-devel/clang and dev-lang/icc, too!"
161 -
162 - readme.gentoo_create_doc
163 -}
164 -
165 -pkg_prerm() {
166 - if [[ -z ${REPLACED_BY_VERSION} && ${ROOT} == / ]] ; then
167 - eselect compiler-shadow remove ccache
168 - fi
169 -}
170 -
171 -pkg_postinst() {
172 - if [[ ${ROOT} == / ]]; then
173 - eselect compiler-shadow update ccache
174 - fi
175 -
176 - # nuke broken symlinks from previous versions that shouldn't exist
177 - rm -rf "${EROOT}"/usr/lib/ccache.backup || die
178 -
179 - readme.gentoo_print_elog
180 -}