1 |
commit: ebd7ec63bd8e0d506fbc60990dcadba2e4ad303c |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 10 01:51:58 2017 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 10 01:51:58 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebd7ec63 |
7 |
|
8 |
dev-libs/mpfr: version bump to 3.1.6 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
dev-libs/mpfr/Manifest | 1 + |
13 |
dev-libs/mpfr/mpfr-3.1.6.ebuild | 54 +++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 55 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/mpfr/Manifest b/dev-libs/mpfr/Manifest |
17 |
index 96300e6c5ae..406e56f6e29 100644 |
18 |
--- a/dev-libs/mpfr/Manifest |
19 |
+++ b/dev-libs/mpfr/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST mpfr-2.4.2.tar.bz2 1077886 SHA256 c7e75a08a8d49d2082e4caee1591a05d11b9d5627 |
21 |
DIST mpfr-3.1.3.tar.xz 1112096 SHA256 6835a08bd992c8257641791e9a6a2b35b02336c8de26d0a8577953747e514a16 SHA512 79846fd82974269aa48152c2b6dbcb2321130dc4d0f0ba2eb94d56619b177add9b2077ebf88b4382c56db19c4215910e5a252f216715c1eee40baa299da42eb4 WHIRLPOOL fba9174551511ffa0fed80d906c5282c095697e79ab9b6fdeb915b9a81f15e20290b3ae6aa7c9ee9ef10fa9c0f973d8a75e1a169aae43f87a28ca433a93c57ce |
22 |
DIST mpfr-3.1.4.tar.xz 1122152 SHA256 761413b16d749c53e2bfd2b1dfaa3b027b0e793e404b90b5fbaeef60af6517f5 SHA512 4ef61708834efdea6b85258f46f1b25ce1c55b912f44b117d8c3d5e06d8f1177e50f627d9736f3289bd159c5bb10c80e09d1ad9f6f52c4ff43c3496034b04232 WHIRLPOOL 86021e6a60cad98ea42f8ab5bfe990a744ee21fbe89612e083dea43f7e981e84fcbc86de4a90e7a058c569b57b97359a29c9cf5252b960aa91f2247fb96c2743 |
23 |
DIST mpfr-3.1.5.tar.xz 1126668 SHA256 015fde82b3979fbe5f83501986d328331ba8ddf008c1ff3da3c238f49ca062bc SHA512 3643469b9099b31e41d6ec9158196cd1c30894030c8864ee5b1b1e91b488bccbf7c263c951b03fe9f4ae6f9d29279e157a7dfed0885467d875f107a3d964f032 WHIRLPOOL 9bb135169a2f74bc96c0e36da76391cbc4cf0d131b89d6be6b6b7c859020276dbbeaf8b36a7a81f37490c8bbf7aaaeb4c32955d6ce27720c1492f4ac8b36b08c |
24 |
+DIST mpfr-3.1.6.tar.xz 1133672 SHA256 7a62ac1a04408614fccdc506e4844b10cf0ad2c2b1677097f8f35d3a1344a950 SHA512 746ee74d5026f267f74ab352d850ed30ff627d530aa840c71b24793e44875f8503946bd7399905dea2b2dd5744326254d7889337fe94cfe58d03c4066e9d8054 WHIRLPOOL 63998e125743c71171143485b97ca4f340bb6d154dc7f77ae0f12a7c8f1aebc2f3fbdef3f30ad56134fd53e035d286be6c4276d4086104b14a327286fb01f68a |
25 |
|
26 |
diff --git a/dev-libs/mpfr/mpfr-3.1.6.ebuild b/dev-libs/mpfr/mpfr-3.1.6.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..46d667649b5 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/mpfr/mpfr-3.1.6.ebuild |
31 |
@@ -0,0 +1,54 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+# NOTE: we cannot depend on autotools here starting with gcc-4.3.x |
38 |
+inherit eutils libtool multilib-minimal |
39 |
+ |
40 |
+MY_PV=${PV/_p*} |
41 |
+MY_P=${PN}-${MY_PV} |
42 |
+PLEVEL=${PV/*p} |
43 |
+DESCRIPTION="library for multiple-precision floating-point computations with exact rounding" |
44 |
+HOMEPAGE="http://www.mpfr.org/" |
45 |
+SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz" |
46 |
+ |
47 |
+LICENSE="LGPL-2.1" |
48 |
+SLOT="0/4" # libmpfr.so version |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
50 |
+IUSE="static-libs" |
51 |
+ |
52 |
+RDEPEND=">=dev-libs/gmp-4.1.4-r2[${MULTILIB_USEDEP},static-libs?]" |
53 |
+DEPEND="${RDEPEND}" |
54 |
+ |
55 |
+S=${WORKDIR}/${MY_P} |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ if [[ ${PLEVEL} != ${PV} ]] ; then |
59 |
+ local i |
60 |
+ for (( i = 1; i <= PLEVEL; ++i )) ; do |
61 |
+ epatch "${FILESDIR}"/${MY_PV}/patch$(printf '%02d' ${i}) |
62 |
+ done |
63 |
+ fi |
64 |
+ epatch_user |
65 |
+ find . -type f -exec touch -r configure {} + |
66 |
+ elibtoolize |
67 |
+} |
68 |
+ |
69 |
+multilib_src_configure() { |
70 |
+ # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19 |
71 |
+ ECONF_SOURCE=${S} \ |
72 |
+ user_redefine_cc=yes \ |
73 |
+ econf \ |
74 |
+ --docdir="\$(datarootdir)/doc/${PF}" \ |
75 |
+ $(use_enable static-libs static) |
76 |
+} |
77 |
+ |
78 |
+multilib_src_install_all() { |
79 |
+ use static-libs || find "${ED}"/usr -name '*.la' -delete |
80 |
+ |
81 |
+ # clean up html/license install |
82 |
+ pushd "${ED}"/usr/share/doc/${PF} >/dev/null || die |
83 |
+ dohtml *.html && rm COPYING* *.html |
84 |
+ popd >/dev/null || die |
85 |
+} |