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, 29 May 2020 22:13:58
Message-Id: 1590790421.37abb3cd3923737c7db32dd8083b6deeda14ec2f.slyfox@gentoo
1 commit: 37abb3cd3923737c7db32dd8083b6deeda14ec2f
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 29 22:07:34 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Fri May 29 22:13:41 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37abb3cd
7
8 dev-util/ccache: drop old
9
10 Package-Manager: Portage-2.3.100, Repoman-2.3.22
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-util/ccache/Manifest | 1 -
14 dev-util/ccache/ccache-3.7.8-r1.ebuild | 71 ----------------------------------
15 dev-util/ccache/ccache-3.7.8.ebuild | 70 ---------------------------------
16 3 files changed, 142 deletions(-)
17
18 diff --git a/dev-util/ccache/Manifest b/dev-util/ccache/Manifest
19 index 8cb44cb4a61..e5af79225a7 100644
20 --- a/dev-util/ccache/Manifest
21 +++ b/dev-util/ccache/Manifest
22 @@ -1,3 +1,2 @@
23 DIST ccache-3.7.7.tar.xz 351592 BLAKE2B 0b211cb77ceb42b7ee5dfcde98d9f53bf222cf18b8d38a7cf6fc9631c5e1c79ca82e6d0a0dbacfe2d5f61b2acefebe202e06fc3b8035f0f25a5f9954554a18cd SHA512 f93380aeb45e815964abc3b62f1963abafe22e0c6a7b61d039e710c7f935221e02678e21af65add4fd59fd5a141824ab95f4a7afc8dd557de36737c365cab816
24 -DIST ccache-3.7.8.tar.xz 352528 BLAKE2B 8d8896b100c43a3e9a60445c95369cd8898fdbf653fc4d5791b8e1abc0191882319078d619429213a5f6968a1dbc639808037459c80514cea775d261c83b949a SHA512 dc8cc9cd5f6f054421f0ecb50f66e0af85222c347d59fecd4555dfe1d8d6cbdca304818de8bc8a39fc1a1225567c141ce104ac315369bf6c307e9da67e14b51c
25 DIST ccache-3.7.9.tar.xz 352948 BLAKE2B 791491c3f9da58f06bb0a58e411d9a7b3e39e460102793ef736820913d43d488ce7daffba572c21f507ea78d8da04edc3aaa47eb1a0fbec8cb35461a60b770e9 SHA512 5d39baeb66265451b0e9cef250f6d9c5f6869cd87e27c108c9a50bef80050122ed4280ff662a81bba8d1d1311f2004bcaf9ada6b783a42eedc67ca01ebc48bb4
26
27 diff --git a/dev-util/ccache/ccache-3.7.8-r1.ebuild b/dev-util/ccache/ccache-3.7.8-r1.ebuild
28 deleted file mode 100644
29 index 620e3f3c820..00000000000
30 --- a/dev-util/ccache/ccache-3.7.8-r1.ebuild
31 +++ /dev/null
32 @@ -1,71 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -DESCRIPTION="fast compiler cache"
39 -HOMEPAGE="https://ccache.dev/"
40 -SRC_URI="https://github.com/ccache/ccache/releases/download/v${PV}/ccache-${PV}.tar.xz"
41 -
42 -LICENSE="GPL-3"
43 -SLOT="0"
44 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
45 -IUSE="test"
46 -
47 -DEPEND="app-arch/xz-utils
48 - sys-libs/zlib"
49 -RDEPEND="${DEPEND}
50 - dev-util/shadowman
51 - sys-apps/gentoo-functions"
52 -# clang-specific tests use dev-libs/elfutils to compare objects for equality.
53 -# Let's pull in the dependency unconditionally.
54 -DEPEND+="
55 - test? ( dev-libs/elfutils )"
56 -
57 -RESTRICT="!test? ( test )"
58 -
59 -PATCHES=(
60 - "${FILESDIR}"/${PN}-3.5-nvcc-test.patch
61 - "${FILESDIR}"/${PN}-3.7.8-dev-null.patch
62 -)
63 -
64 -src_prepare() {
65 - default
66 -
67 - sed \
68 - -e "/^EPREFIX=/s:'':'${EPREFIX}':" \
69 - "${FILESDIR}"/ccache-config-3 > ccache-config || die
70 -}
71 -
72 -src_configure() {
73 - econf --without-bundled-zlib
74 -}
75 -
76 -src_compile() {
77 - emake V=1
78 -}
79 -
80 -src_test() {
81 - emake check V=1
82 -}
83 -
84 -src_install() {
85 - DOCS=( doc/{AUTHORS,MANUAL,NEWS}.adoc CONTRIBUTING.md README.md )
86 - default
87 -
88 - dobin ccache-config
89 - insinto /usr/share/shadowman/tools
90 - newins - ccache <<<"${EPREFIX}/usr/lib/ccache/bin"
91 -}
92 -
93 -pkg_prerm() {
94 - if [[ -z ${REPLACED_BY_VERSION} && ${ROOT:-/} == / ]] ; then
95 - eselect compiler-shadow remove ccache
96 - fi
97 -}
98 -
99 -pkg_postinst() {
100 - if [[ ${ROOT:-/} == / ]]; then
101 - eselect compiler-shadow update ccache
102 - fi
103 -}
104
105 diff --git a/dev-util/ccache/ccache-3.7.8.ebuild b/dev-util/ccache/ccache-3.7.8.ebuild
106 deleted file mode 100644
107 index 32f24f67e07..00000000000
108 --- a/dev-util/ccache/ccache-3.7.8.ebuild
109 +++ /dev/null
110 @@ -1,70 +0,0 @@
111 -# Copyright 1999-2020 Gentoo Authors
112 -# Distributed under the terms of the GNU General Public License v2
113 -
114 -EAPI=7
115 -
116 -DESCRIPTION="fast compiler cache"
117 -HOMEPAGE="https://ccache.dev/"
118 -SRC_URI="https://github.com/ccache/ccache/releases/download/v${PV}/ccache-${PV}.tar.xz"
119 -
120 -LICENSE="GPL-3"
121 -SLOT="0"
122 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
123 -IUSE="test"
124 -
125 -DEPEND="app-arch/xz-utils
126 - sys-libs/zlib"
127 -RDEPEND="${DEPEND}
128 - dev-util/shadowman
129 - sys-apps/gentoo-functions"
130 -# clang-specific tests use dev-libs/elfutils to compare objects for equality.
131 -# Let's pull in the dependency unconditionally.
132 -DEPEND+="
133 - test? ( dev-libs/elfutils )"
134 -
135 -RESTRICT="!test? ( test )"
136 -
137 -PATCHES=(
138 - "${FILESDIR}"/${PN}-3.5-nvcc-test.patch
139 -)
140 -
141 -src_prepare() {
142 - default
143 -
144 - sed \
145 - -e "/^EPREFIX=/s:'':'${EPREFIX}':" \
146 - "${FILESDIR}"/ccache-config-3 > ccache-config || die
147 -}
148 -
149 -src_configure() {
150 - econf --without-bundled-zlib
151 -}
152 -
153 -src_compile() {
154 - emake V=1
155 -}
156 -
157 -src_test() {
158 - emake check V=1
159 -}
160 -
161 -src_install() {
162 - DOCS=( doc/{AUTHORS,MANUAL,NEWS}.adoc CONTRIBUTING.md README.md )
163 - default
164 -
165 - dobin ccache-config
166 - insinto /usr/share/shadowman/tools
167 - newins - ccache <<<"${EPREFIX}/usr/lib/ccache/bin"
168 -}
169 -
170 -pkg_prerm() {
171 - if [[ -z ${REPLACED_BY_VERSION} && ${ROOT:-/} == / ]] ; then
172 - eselect compiler-shadow remove ccache
173 - fi
174 -}
175 -
176 -pkg_postinst() {
177 - if [[ ${ROOT:-/} == / ]]; then
178 - eselect compiler-shadow update ccache
179 - fi
180 -}