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/
Date: Mon, 07 Sep 2020 20:47:00
Message-Id: 1599511612.b465d8e85130520bfad26ff03c57df963d5e2d35.slyfox@gentoo
1 commit: b465d8e85130520bfad26ff03c57df963d5e2d35
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 7 20:44:47 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 7 20:46:52 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b465d8e8
7
8 dev-libs/mpfr: drop old
9
10 Package-Manager: Portage-3.0.5, Repoman-3.0.1
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-libs/mpfr/Manifest | 1 -
14 dev-libs/mpfr/mpfr-4.0.2.ebuild | 58 -----------------------------------------
15 2 files changed, 59 deletions(-)
16
17 diff --git a/dev-libs/mpfr/Manifest b/dev-libs/mpfr/Manifest
18 index de6556d1cb4..77f8d18385b 100644
19 --- a/dev-libs/mpfr/Manifest
20 +++ b/dev-libs/mpfr/Manifest
21 @@ -1,2 +1 @@
22 -DIST mpfr-4.0.2.tar.xz 1441996 BLAKE2B 4c1a15208c2dc3dcc1424974de506198e9cc479c70255149876c7f541133499ada5c89f07393b120b7079e6bbaf8ea03e5e496e1350b295e687392a6e0341c1c SHA512 d583555d08863bf36c89b289ae26bae353d9a31f08ee3894520992d2c26e5683c4c9c193d7ad139632f71c0a476d85ea76182702a98bf08dde7b6f65a54f8b88
23 DIST mpfr-4.1.0.tar.xz 1525476 BLAKE2B 41d1be0c4b557760f12a4525ad3a84b6e2cd6f0927c935fcfba577ac0490e582d1ae4b581dce58e21e705cf9d7c88373054d7fb7a94bb32c69b339f99a25dc68 SHA512 1bd1c349741a6529dfa53af4f0da8d49254b164ece8a46928cdb13a99460285622d57fe6f68cef19c6727b3f9daa25ddb3d7d65c201c8f387e421c7f7bee6273
24
25 diff --git a/dev-libs/mpfr/mpfr-4.0.2.ebuild b/dev-libs/mpfr/mpfr-4.0.2.ebuild
26 deleted file mode 100644
27 index b5731b6eb61..00000000000
28 --- a/dev-libs/mpfr/mpfr-4.0.2.ebuild
29 +++ /dev/null
30 @@ -1,58 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
37 -inherit libtool multilib-minimal preserve-libs
38 -
39 -MY_PV=${PV/_p*}
40 -MY_P=${PN}-${MY_PV}
41 -PLEVEL=${PV/*p}
42 -DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
43 -HOMEPAGE="https://www.mpfr.org/"
44 -SRC_URI="https://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz"
45 -
46 -LICENSE="LGPL-2.1"
47 -SLOT="0/6" # libmpfr.so version
48 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 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"
49 -IUSE="static-libs"
50 -
51 -RDEPEND=">=dev-libs/gmp-5.0.0[${MULTILIB_USEDEP},static-libs?]"
52 -DEPEND="${RDEPEND}"
53 -
54 -S=${WORKDIR}/${MY_P}
55 -
56 -HTML_DOCS=( doc/FAQ.html )
57 -
58 -src_prepare() {
59 - if [[ ${PLEVEL} != ${PV} ]] ; then
60 - local i
61 - for (( i = 1; i <= PLEVEL; ++i )) ; do
62 - eapply "${FILESDIR}"/${MY_PV}/patch$(printf '%02d' ${i})
63 - done
64 - fi
65 - eapply_user
66 - find . -type f -exec touch -r configure {} +
67 - elibtoolize
68 -}
69 -
70 -multilib_src_configure() {
71 - # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19
72 - ECONF_SOURCE=${S} \
73 - user_redefine_cc=yes \
74 - econf $(use_enable static-libs static)
75 -}
76 -
77 -multilib_src_install_all() {
78 - rm "${ED}"/usr/share/doc/"${P}"/COPYING*
79 - use static-libs || find "${ED}"/usr -name '*.la' -delete
80 -}
81 -
82 -pkg_preinst() {
83 - preserve_old_lib /usr/$(get_libdir)/libmpfr$(get_libname 4)
84 -}
85 -
86 -pkg_postinst() {
87 - preserve_old_lib_notify /usr/$(get_libdir)/libmpfr$(get_libname 4)
88 -}