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-libs/mpfr/, dev-libs/mpfr/files/
Date: Sun, 01 Mar 2020 20:40:24
Message-Id: 1583095192.f7c5c7d86ea8e9fb39a1510e540440189b9bf871.slyfox@gentoo
1 commit: f7c5c7d86ea8e9fb39a1510e540440189b9bf871
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 1 20:28:19 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 1 20:39:52 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7c5c7d8
7
8 dev-libs/mpfr: drop old
9
10 Package-Manager: Portage-2.3.88, Repoman-2.3.20
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-libs/mpfr/Manifest | 8 ----
14 dev-libs/mpfr/files/mpfr-3.1.4-cygwin.patch | 39 ------------------
15 dev-libs/mpfr/mpfr-3.1.3_p4.ebuild | 63 -----------------------------
16 dev-libs/mpfr/mpfr-3.1.4.ebuild | 56 -------------------------
17 dev-libs/mpfr/mpfr-3.1.5_p2.ebuild | 55 -------------------------
18 dev-libs/mpfr/mpfr-3.1.6.ebuild | 54 -------------------------
19 dev-libs/mpfr/mpfr-4.0.0-r1.ebuild | 58 --------------------------
20 dev-libs/mpfr/mpfr-4.0.1.ebuild | 58 --------------------------
21 8 files changed, 391 deletions(-)
22
23 diff --git a/dev-libs/mpfr/Manifest b/dev-libs/mpfr/Manifest
24 index cee8cb9e963..a0ad83deb2d 100644
25 --- a/dev-libs/mpfr/Manifest
26 +++ b/dev-libs/mpfr/Manifest
27 @@ -1,11 +1,3 @@
28 DIST mpfr-2.4.2-patchset.tar.bz2 2965 BLAKE2B 2748f8ebea766265ea1b31de1c0494e89e8868440675e4f8b03a771b220f3007ffa1bfdeb84112560d95107d4075ed6e37d54aa71546c8bc7e518ff32a1adce6 SHA512 d28749096ff1d8ab026eba076d7874fd0687dd5199dcadb60ab9a5adcfbe4c1a4583c83e5d4868e16e2218247f129623128af89d41e1c348c64c1e91bcb5e653
29 DIST mpfr-2.4.2.tar.bz2 1077886 BLAKE2B bdbd8fcd5b3f459383fff60adb75e3e419b65b20073a86fbad83677fa546f8f2364bce799f623964cafe94b1b8652a13b54cdae8d9316350c24061c396cafa8b SHA512 c004b3dbf86c04960e4a1f8db37a409a7cc4cb76135e76e98dcc5ad93aaa8deb62334ee13ff84447a7c12a5e8cb57f25c62ac908c24920f1fb1a38d79d4a4c5e
30 -DIST mpfr-3.1.3-patchset.tar.xz 12988 BLAKE2B b2ebf0f0d5b90f8f9618c71762ca3def64bad6c79e7b32ca0d9121d2ed4032b869b945359da79ba2eb2cca07789cc1ede1502bb998f5f1234b206825d2db6ebd SHA512 dd2de34aad0470920f75b8911701a2979205b3173b97c41d4b5cd9ff78a38633ca7d6993c2e5465b5e5f76066d46189a32437f5b79ac50c29f2a47970c0421ea
31 -DIST mpfr-3.1.3.tar.xz 1112096 BLAKE2B cd7bc886e73ff43e323cde837bc90a41cf97238054e1ffe597455314f307ff7d8c95756b1414ee030a1f974c8041669b75dbf90581c9c5705e3f5c8a1878de46 SHA512 79846fd82974269aa48152c2b6dbcb2321130dc4d0f0ba2eb94d56619b177add9b2077ebf88b4382c56db19c4215910e5a252f216715c1eee40baa299da42eb4
32 -DIST mpfr-3.1.4.tar.xz 1122152 BLAKE2B d8d686c3280c062a0941c37cb0a0bacfb25a03a6064489b56db331ffbd9369c453ded1357b2c5841fc72eee2ef36c4d7a8acc27418dcf5f045c7e4ea6615d682 SHA512 4ef61708834efdea6b85258f46f1b25ce1c55b912f44b117d8c3d5e06d8f1177e50f627d9736f3289bd159c5bb10c80e09d1ad9f6f52c4ff43c3496034b04232
33 -DIST mpfr-3.1.5-patchset.tar.xz 1840 BLAKE2B c18392ecc3325c0b889b540257f3bfe3c382a7f0d12a5dc87550e9ee884f87480bcfec7541e05c6c27bcfd7c5fa60d35f575f56ccea59912434b241f51e5d113 SHA512 24ae807db036345267623dd977387b154e905197aa826e82cfc8dcf324ade78f78aef9e86ca6e2cbc091e01a8da9ea6c52a91a5183375d5fab45e54912bd3fd8
34 -DIST mpfr-3.1.5.tar.xz 1126668 BLAKE2B f902925036a4310e7b10461438bae5d5770b95ca6bd897038dc306d597ea412013c869b3d2f9c4ba2a1d5e59eee67f562fc3bf5db8fd1584b70c1b30574e42f5 SHA512 3643469b9099b31e41d6ec9158196cd1c30894030c8864ee5b1b1e91b488bccbf7c263c951b03fe9f4ae6f9d29279e157a7dfed0885467d875f107a3d964f032
35 -DIST mpfr-3.1.6.tar.xz 1133672 BLAKE2B ab8b87be9d29e9ae5807976f72d65e16cd3e5b4c2ffc4e5bd7829e664250b1969a1ec3928b3519cd75365692e23eadfd413a8116f8c77d6cd66183020b72b656 SHA512 746ee74d5026f267f74ab352d850ed30ff627d530aa840c71b24793e44875f8503946bd7399905dea2b2dd5744326254d7889337fe94cfe58d03c4066e9d8054
36 -DIST mpfr-4.0.0.tar.xz 1406244 BLAKE2B 2d1e356ac1f7119aa8896c438e7e30c4b316780d76fa2690e50482005e9ff5d6b5cd368d4c9a524df66ea3e7f2942c627329fa15be83402209c6e249cd1abd28 SHA512 9c9c4535f33fffd2126d1c290e5eeda7cd2804219244643f09c9a2d2acfa3d410d2cb1e4a7bb77cd86cffc2fac59c7f5d32c9910317cac37dbca474ab6d63808
37 -DIST mpfr-4.0.1.tar.xz 1412692 BLAKE2B 3e8d5cf558071571c21417088e74b8cb94a2e179667af41f734a68c7bd89d4beff245b9344c4c37d2f6558036a1a8c9ad3ea5ec8fbde16d2c7ebbf37a22cf424 SHA512 137ad68bc1e33a155edc1247fcdba27f999cf48ed526773136584090ddf2cfdfc9ea79fbf74ea1943b835b4b1ff29b05087114738c6ad3b485848540f30cac4f
38 DIST mpfr-4.0.2.tar.xz 1441996 BLAKE2B 4c1a15208c2dc3dcc1424974de506198e9cc479c70255149876c7f541133499ada5c89f07393b120b7079e6bbaf8ea03e5e496e1350b295e687392a6e0341c1c SHA512 d583555d08863bf36c89b289ae26bae353d9a31f08ee3894520992d2c26e5683c4c9c193d7ad139632f71c0a476d85ea76182702a98bf08dde7b6f65a54f8b88
39
40 diff --git a/dev-libs/mpfr/files/mpfr-3.1.4-cygwin.patch b/dev-libs/mpfr/files/mpfr-3.1.4-cygwin.patch
41 deleted file mode 100644
42 index c051b4621bd..00000000000
43 --- a/dev-libs/mpfr/files/mpfr-3.1.4-cygwin.patch
44 +++ /dev/null
45 @@ -1,39 +0,0 @@
46 -https://bugs.gentoo.org/579840
47 -
48 -fix from upstream
49 -
50 -r10260 | vlefevre | 2016-04-08 19:17:07 -0400 (Fri, 08 Apr 2016) | 8 lines
51 -
52 -[src/mpfr-impl.h] Removed the detection of possible inconsistencies
53 -under Unix because the tests could yield spurious errors with Cygwin
54 -or other similar implementations. Moreover, such tests were used for
55 -debugging purpose or to detect potential problems in the environment,
56 -thus were not really useful for the end user. They were initially
57 -added in the win-thread-safe-dll branch (r9682, following a problem
58 -found in r9680). One alternative for checking by the MPFR developers
59 -would be to output the status of some internal macros in tversion.
60 -
61 -Index: src/mpfr-impl.h
62 -===================================================================
63 ---- src/mpfr-impl.h (revision 10259)
64 -+++ src/mpfr-impl.h (revision 10260)
65 -@@ -208,19 +208,6 @@ typedef struct __gmpfr_cache_s *mpfr_cac
66 - # define MPFR_WIN_THREAD_SAFE_DLL 1
67 - #endif
68 -
69 --/* Detect some possible inconsistencies under Unix. */
70 --#if defined(__unix__)
71 --# if defined(_WIN32)
72 --# error "Both __unix__ and _WIN32 are defined"
73 --# endif
74 --# if __GMP_LIBGMP_DLL
75 --# error "__unix__ is defined and __GMP_LIBGMP_DLL is true"
76 --# endif
77 --# if defined(MPFR_WIN_THREAD_SAFE_DLL)
78 --# error "Both __unix__ and MPFR_WIN_THREAD_SAFE_DLL are defined"
79 --# endif
80 --#endif
81 --
82 - #if defined(__MPFR_WITHIN_MPFR) || !defined(MPFR_WIN_THREAD_SAFE_DLL)
83 - extern MPFR_THREAD_ATTR mpfr_flags_t __gmpfr_flags;
84 - extern MPFR_THREAD_ATTR mpfr_exp_t __gmpfr_emin;
85
86 diff --git a/dev-libs/mpfr/mpfr-3.1.3_p4.ebuild b/dev-libs/mpfr/mpfr-3.1.3_p4.ebuild
87 deleted file mode 100644
88 index 6f0ca1f6c80..00000000000
89 --- a/dev-libs/mpfr/mpfr-3.1.3_p4.ebuild
90 +++ /dev/null
91 @@ -1,63 +0,0 @@
92 -# Copyright 1999-2020 Gentoo Authors
93 -# Distributed under the terms of the GNU General Public License v2
94 -
95 -EAPI="4"
96 -
97 -# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
98 -inherit libtool multilib multilib-minimal preserve-libs
99 -
100 -MY_PV=${PV/_p*}
101 -MY_P=${PN}-${MY_PV}
102 -PLEVEL=${PV/*p}
103 -DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
104 -HOMEPAGE="https://www.mpfr.org/"
105 -SRC_URI="https://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz
106 - https://dev.gentoo.org/~mgorny/dist/${MY_P}-patchset.tar.xz"
107 -
108 -LICENSE="LGPL-2.1"
109 -SLOT="0"
110 -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
111 -IUSE="static-libs"
112 -
113 -RDEPEND=">=dev-libs/gmp-4.1.4-r2[${MULTILIB_USEDEP},static-libs?]"
114 -DEPEND="${RDEPEND}"
115 -
116 -S=${WORKDIR}/${MY_P}
117 -
118 -src_prepare() {
119 - if [[ ${PLEVEL} != ${PV} ]] ; then
120 - local i
121 - for (( i = 1; i <= PLEVEL; ++i )) ; do
122 - epatch "${WORKDIR}"/${MY_P}-patchset/patch$(printf '%02d' ${i})
123 - done
124 - fi
125 - find . -type f -exec touch -r configure {} +
126 - elibtoolize
127 -}
128 -
129 -multilib_src_configure() {
130 - # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19
131 - ECONF_SOURCE=${S} \
132 - user_redefine_cc=yes \
133 - econf \
134 - --docdir="\$(datarootdir)/doc/${PF}" \
135 - $(use_enable static-libs static)
136 -}
137 -
138 -multilib_src_install_all() {
139 - use static-libs || find "${ED}"/usr -name '*.la' -delete
140 -
141 - # clean up html/license install
142 - pushd "${ED}"/usr/share/doc/${PF} >/dev/null
143 - dohtml *.html
144 - rm COPYING* *.html || die
145 - popd >/dev/null
146 -}
147 -
148 -pkg_preinst() {
149 - preserve_old_lib /usr/$(get_libdir)/libmpfr$(get_libname 1)
150 -}
151 -
152 -pkg_postinst() {
153 - preserve_old_lib_notify /usr/$(get_libdir)/libmpfr$(get_libname 1)
154 -}
155
156 diff --git a/dev-libs/mpfr/mpfr-3.1.4.ebuild b/dev-libs/mpfr/mpfr-3.1.4.ebuild
157 deleted file mode 100644
158 index 6067024dc29..00000000000
159 --- a/dev-libs/mpfr/mpfr-3.1.4.ebuild
160 +++ /dev/null
161 @@ -1,56 +0,0 @@
162 -# Copyright 1999-2018 Gentoo Foundation
163 -# Distributed under the terms of the GNU General Public License v2
164 -
165 -EAPI="4"
166 -
167 -# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
168 -inherit eutils libtool multilib-minimal
169 -
170 -MY_PV=${PV/_p*}
171 -MY_P=${PN}-${MY_PV}
172 -PLEVEL=${PV/*p}
173 -DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
174 -HOMEPAGE="https://www.mpfr.org/"
175 -SRC_URI="https://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz"
176 -
177 -LICENSE="LGPL-2.1"
178 -SLOT="0"
179 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
180 -IUSE="static-libs"
181 -
182 -RDEPEND=">=dev-libs/gmp-4.1.4-r2[${MULTILIB_USEDEP},static-libs?]"
183 -DEPEND="${RDEPEND}"
184 -
185 -S=${WORKDIR}/${MY_P}
186 -
187 -src_prepare() {
188 - if [[ ${PLEVEL} != ${PV} ]] ; then
189 - local i
190 - for (( i = 1; i <= PLEVEL; ++i )) ; do
191 - epatch "${FILESDIR}"/${MY_PV}/patch$(printf '%02d' ${i})
192 - done
193 - fi
194 - epatch "${FILESDIR}"/${P}-cygwin.patch #579840
195 - epatch_user
196 - find . -type f -exec touch -r configure {} +
197 - elibtoolize
198 -}
199 -
200 -multilib_src_configure() {
201 - # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19
202 - ECONF_SOURCE=${S} \
203 - user_redefine_cc=yes \
204 - econf \
205 - --docdir="\$(datarootdir)/doc/${PF}" \
206 - $(use_enable static-libs static)
207 -}
208 -
209 -multilib_src_install_all() {
210 - use static-libs || find "${ED}"/usr -name '*.la' -delete
211 -
212 - # clean up html/license install
213 - pushd "${ED}"/usr/share/doc/${PF} >/dev/null
214 - dohtml *.html
215 - rm COPYING* *.html || die
216 - popd >/dev/null
217 -}
218
219 diff --git a/dev-libs/mpfr/mpfr-3.1.5_p2.ebuild b/dev-libs/mpfr/mpfr-3.1.5_p2.ebuild
220 deleted file mode 100644
221 index d10f7c6a648..00000000000
222 --- a/dev-libs/mpfr/mpfr-3.1.5_p2.ebuild
223 +++ /dev/null
224 @@ -1,55 +0,0 @@
225 -# Copyright 1999-2018 Gentoo Foundation
226 -# Distributed under the terms of the GNU General Public License v2
227 -
228 -EAPI=5
229 -
230 -# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
231 -inherit eutils libtool multilib-minimal
232 -
233 -MY_PV=${PV/_p*}
234 -MY_P=${PN}-${MY_PV}
235 -PLEVEL=${PV/*p}
236 -DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
237 -HOMEPAGE="https://www.mpfr.org/"
238 -SRC_URI="https://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz
239 - https://dev.gentoo.org/~mgorny/dist/${MY_P}-patchset.tar.xz"
240 -
241 -LICENSE="LGPL-2.1"
242 -SLOT="0/4" # libmpfr.so version
243 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
244 -IUSE="static-libs"
245 -
246 -RDEPEND=">=dev-libs/gmp-4.1.4-r2[${MULTILIB_USEDEP},static-libs?]"
247 -DEPEND="${RDEPEND}"
248 -
249 -S=${WORKDIR}/${MY_P}
250 -
251 -src_prepare() {
252 - if [[ ${PLEVEL} != ${PV} ]] ; then
253 - local i
254 - for (( i = 1; i <= PLEVEL; ++i )) ; do
255 - epatch "${WORKDIR}"/${MY_P}-patchset/patch$(printf '%02d' ${i})
256 - done
257 - fi
258 - epatch_user
259 - find . -type f -exec touch -r configure {} +
260 - elibtoolize
261 -}
262 -
263 -multilib_src_configure() {
264 - # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19
265 - ECONF_SOURCE=${S} \
266 - user_redefine_cc=yes \
267 - econf \
268 - --docdir="\$(datarootdir)/doc/${PF}" \
269 - $(use_enable static-libs static)
270 -}
271 -
272 -multilib_src_install_all() {
273 - use static-libs || find "${ED}"/usr -name '*.la' -delete
274 -
275 - # clean up html/license install
276 - pushd "${ED}"/usr/share/doc/${PF} >/dev/null || die
277 - dohtml *.html && rm COPYING* *.html
278 - popd >/dev/null || die
279 -}
280
281 diff --git a/dev-libs/mpfr/mpfr-3.1.6.ebuild b/dev-libs/mpfr/mpfr-3.1.6.ebuild
282 deleted file mode 100644
283 index 08d0a46081e..00000000000
284 --- a/dev-libs/mpfr/mpfr-3.1.6.ebuild
285 +++ /dev/null
286 @@ -1,54 +0,0 @@
287 -# Copyright 1999-2020 Gentoo Authors
288 -# Distributed under the terms of the GNU General Public License v2
289 -
290 -EAPI=5
291 -
292 -# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
293 -inherit eutils libtool multilib-minimal
294 -
295 -MY_PV=${PV/_p*}
296 -MY_P=${PN}-${MY_PV}
297 -PLEVEL=${PV/*p}
298 -DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
299 -HOMEPAGE="https://www.mpfr.org/"
300 -SRC_URI="https://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz"
301 -
302 -LICENSE="LGPL-2.1"
303 -SLOT="0/4" # libmpfr.so version
304 -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
305 -IUSE="static-libs"
306 -
307 -RDEPEND=">=dev-libs/gmp-4.1.4-r2[${MULTILIB_USEDEP},static-libs?]"
308 -DEPEND="${RDEPEND}"
309 -
310 -S=${WORKDIR}/${MY_P}
311 -
312 -src_prepare() {
313 - if [[ ${PLEVEL} != ${PV} ]] ; then
314 - local i
315 - for (( i = 1; i <= PLEVEL; ++i )) ; do
316 - epatch "${FILESDIR}"/${MY_PV}/patch$(printf '%02d' ${i})
317 - done
318 - fi
319 - epatch_user
320 - find . -type f -exec touch -r configure {} +
321 - elibtoolize
322 -}
323 -
324 -multilib_src_configure() {
325 - # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19
326 - ECONF_SOURCE=${S} \
327 - user_redefine_cc=yes \
328 - econf \
329 - --docdir="\$(datarootdir)/doc/${PF}" \
330 - $(use_enable static-libs static)
331 -}
332 -
333 -multilib_src_install_all() {
334 - use static-libs || find "${ED}"/usr -name '*.la' -delete
335 -
336 - # clean up html/license install
337 - pushd "${ED}"/usr/share/doc/${PF} >/dev/null || die
338 - dohtml *.html && rm COPYING* *.html
339 - popd >/dev/null || die
340 -}
341
342 diff --git a/dev-libs/mpfr/mpfr-4.0.0-r1.ebuild b/dev-libs/mpfr/mpfr-4.0.0-r1.ebuild
343 deleted file mode 100644
344 index 578353773d4..00000000000
345 --- a/dev-libs/mpfr/mpfr-4.0.0-r1.ebuild
346 +++ /dev/null
347 @@ -1,58 +0,0 @@
348 -# Copyright 1999-2020 Gentoo Authors
349 -# Distributed under the terms of the GNU General Public License v2
350 -
351 -EAPI=6
352 -
353 -# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
354 -inherit libtool multilib-minimal preserve-libs
355 -
356 -MY_PV=${PV/_p*}
357 -MY_P=${PN}-${MY_PV}
358 -PLEVEL=${PV/*p}
359 -DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
360 -HOMEPAGE="https://www.mpfr.org/"
361 -SRC_URI="https://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz"
362 -
363 -LICENSE="LGPL-2.1"
364 -SLOT="0/6" # libmpfr.so version
365 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
366 -IUSE="static-libs"
367 -
368 -RDEPEND=">=dev-libs/gmp-5.0.0[${MULTILIB_USEDEP},static-libs?]"
369 -DEPEND="${RDEPEND}"
370 -
371 -S=${WORKDIR}/${MY_P}
372 -
373 -HTML_DOCS=( doc/FAQ.html )
374 -
375 -src_prepare() {
376 - if [[ ${PLEVEL} != ${PV} ]] ; then
377 - local i
378 - for (( i = 1; i <= PLEVEL; ++i )) ; do
379 - eapply "${FILESDIR}"/${MY_PV}/patch$(printf '%02d' ${i})
380 - done
381 - fi
382 - eapply_user
383 - find . -type f -exec touch -r configure {} +
384 - elibtoolize
385 -}
386 -
387 -multilib_src_configure() {
388 - # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19
389 - ECONF_SOURCE=${S} \
390 - user_redefine_cc=yes \
391 - econf $(use_enable static-libs static)
392 -}
393 -
394 -multilib_src_install_all() {
395 - rm "${ED}"/usr/share/doc/"${P}"/COPYING*
396 - use static-libs || find "${ED}"/usr -name '*.la' -delete
397 -}
398 -
399 -pkg_preinst() {
400 - preserve_old_lib /usr/$(get_libdir)/libmpfr$(get_libname 4)
401 -}
402 -
403 -pkg_postinst() {
404 - preserve_old_lib_notify /usr/$(get_libdir)/libmpfr$(get_libname 4)
405 -}
406
407 diff --git a/dev-libs/mpfr/mpfr-4.0.1.ebuild b/dev-libs/mpfr/mpfr-4.0.1.ebuild
408 deleted file mode 100644
409 index 578353773d4..00000000000
410 --- a/dev-libs/mpfr/mpfr-4.0.1.ebuild
411 +++ /dev/null
412 @@ -1,58 +0,0 @@
413 -# Copyright 1999-2020 Gentoo Authors
414 -# Distributed under the terms of the GNU General Public License v2
415 -
416 -EAPI=6
417 -
418 -# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
419 -inherit libtool multilib-minimal preserve-libs
420 -
421 -MY_PV=${PV/_p*}
422 -MY_P=${PN}-${MY_PV}
423 -PLEVEL=${PV/*p}
424 -DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
425 -HOMEPAGE="https://www.mpfr.org/"
426 -SRC_URI="https://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz"
427 -
428 -LICENSE="LGPL-2.1"
429 -SLOT="0/6" # libmpfr.so version
430 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
431 -IUSE="static-libs"
432 -
433 -RDEPEND=">=dev-libs/gmp-5.0.0[${MULTILIB_USEDEP},static-libs?]"
434 -DEPEND="${RDEPEND}"
435 -
436 -S=${WORKDIR}/${MY_P}
437 -
438 -HTML_DOCS=( doc/FAQ.html )
439 -
440 -src_prepare() {
441 - if [[ ${PLEVEL} != ${PV} ]] ; then
442 - local i
443 - for (( i = 1; i <= PLEVEL; ++i )) ; do
444 - eapply "${FILESDIR}"/${MY_PV}/patch$(printf '%02d' ${i})
445 - done
446 - fi
447 - eapply_user
448 - find . -type f -exec touch -r configure {} +
449 - elibtoolize
450 -}
451 -
452 -multilib_src_configure() {
453 - # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19
454 - ECONF_SOURCE=${S} \
455 - user_redefine_cc=yes \
456 - econf $(use_enable static-libs static)
457 -}
458 -
459 -multilib_src_install_all() {
460 - rm "${ED}"/usr/share/doc/"${P}"/COPYING*
461 - use static-libs || find "${ED}"/usr -name '*.la' -delete
462 -}
463 -
464 -pkg_preinst() {
465 - preserve_old_lib /usr/$(get_libdir)/libmpfr$(get_libname 4)
466 -}
467 -
468 -pkg_postinst() {
469 - preserve_old_lib_notify /usr/$(get_libdir)/libmpfr$(get_libname 4)
470 -}