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: Sun, 01 Mar 2020 20:40:04
Message-Id: 1583095193.12e3ae62de34c77645d806ace112635f0f208e55.slyfox@gentoo
1 commit: 12e3ae62de34c77645d806ace112635f0f208e55
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 1 20:37:56 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 1 20:39:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12e3ae62
7
8 dev-libs/mpfr: drop old unused SLOT=1
9
10 Closes: https://bugs.gentoo.org/697822
11 Package-Manager: Portage-2.3.88, Repoman-2.3.20
12 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
13
14 dev-libs/mpfr/Manifest | 2 --
15 dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild | 50 -----------------------------------
16 2 files changed, 52 deletions(-)
17
18 diff --git a/dev-libs/mpfr/Manifest b/dev-libs/mpfr/Manifest
19 index a0ad83deb2d..f8323055a7e 100644
20 --- a/dev-libs/mpfr/Manifest
21 +++ b/dev-libs/mpfr/Manifest
22 @@ -1,3 +1 @@
23 -DIST mpfr-2.4.2-patchset.tar.bz2 2965 BLAKE2B 2748f8ebea766265ea1b31de1c0494e89e8868440675e4f8b03a771b220f3007ffa1bfdeb84112560d95107d4075ed6e37d54aa71546c8bc7e518ff32a1adce6 SHA512 d28749096ff1d8ab026eba076d7874fd0687dd5199dcadb60ab9a5adcfbe4c1a4583c83e5d4868e16e2218247f129623128af89d41e1c348c64c1e91bcb5e653
24 -DIST mpfr-2.4.2.tar.bz2 1077886 BLAKE2B bdbd8fcd5b3f459383fff60adb75e3e419b65b20073a86fbad83677fa546f8f2364bce799f623964cafe94b1b8652a13b54cdae8d9316350c24061c396cafa8b SHA512 c004b3dbf86c04960e4a1f8db37a409a7cc4cb76135e76e98dcc5ad93aaa8deb62334ee13ff84447a7c12a5e8cb57f25c62ac908c24920f1fb1a38d79d4a4c5e
25 DIST mpfr-4.0.2.tar.xz 1441996 BLAKE2B 4c1a15208c2dc3dcc1424974de506198e9cc479c70255149876c7f541133499ada5c89f07393b120b7079e6bbaf8ea03e5e496e1350b295e687392a6e0341c1c SHA512 d583555d08863bf36c89b289ae26bae353d9a31f08ee3894520992d2c26e5683c4c9c193d7ad139632f71c0a476d85ea76182702a98bf08dde7b6f65a54f8b88
26
27 diff --git a/dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild b/dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild
28 deleted file mode 100644
29 index fcb579b56b0..00000000000
30 --- a/dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild
31 +++ /dev/null
32 @@ -1,50 +0,0 @@
33 -# Copyright 1999-2018 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -# this ebuild is only for the libmpfr.so.1 ABI SONAME
37 -
38 -EAPI="5"
39 -
40 -inherit eutils libtool multilib multilib-minimal flag-o-matic
41 -
42 -MY_PV=${PV/_p*}
43 -MY_P=${PN}-${MY_PV}
44 -DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
45 -HOMEPAGE="https://www.mpfr.org/"
46 -SRC_URI="https://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.bz2
47 - https://dev.gentoo.org/~mgorny/dist/${MY_P}-patchset.tar.bz2"
48 -
49 -LICENSE="LGPL-2.1"
50 -SLOT="1"
51 -KEYWORDS="~alpha ~amd64 ~arm ~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"
52 -IUSE=""
53 -
54 -RDEPEND=">=dev-libs/gmp-4.1.4-r2:0[${MULTILIB_USEDEP}]"
55 -DEPEND="${RDEPEND}"
56 -
57 -S=${WORKDIR}/${MY_P}
58 -
59 -src_prepare() {
60 - epatch "${WORKDIR}"/${MY_P}-patchset/patch*
61 - sed -i '/if test/s:==:=:' configure #261016
62 - find . -type f -exec touch -r configure {} +
63 - elibtoolize
64 -}
65 -
66 -multilib_src_configure() {
67 - # Newer gmp has deleted this define, so export it for older mpfr.
68 - append-cppflags -D__gmp_const=const
69 - # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19
70 - ECONF_SOURCE=${S} \
71 - user_redefine_cc=yes \
72 - econf --disable-static
73 -}
74 -
75 -multilib_src_compile() {
76 - emake libmpfr.la
77 -}
78 -
79 -multilib_src_install() {
80 - emake DESTDIR="${D}" install-libLTLIBRARIES
81 - rm -f "${ED}"/usr/*/libmpfr.{la,so,dylib,a}
82 -}