Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/arb/, sci-mathematics/arb/files/
Date: Mon, 09 Mar 2020 13:40:29
Message-Id: 1583760762.c1505827a4a75c879ee23ec1859104db57ad6ce2.mjo@gentoo
1 commit: c1505827a4a75c879ee23ec1859104db57ad6ce2
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 9 13:32:42 2020 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 9 13:32:42 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1505827
7
8 sci-mathematics/arb: cleanup old versions and patches.
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
12
13 sci-mathematics/arb/Manifest | 2 -
14 sci-mathematics/arb/arb-2.11.1-r1.ebuild | 58 ----------------------
15 sci-mathematics/arb/arb-2.16.0.ebuild | 56 ---------------------
16 .../arb/files/arb-2.11.1-pie-ftbs.patch | 17 -------
17 4 files changed, 133 deletions(-)
18
19 diff --git a/sci-mathematics/arb/Manifest b/sci-mathematics/arb/Manifest
20 index ea9228bc4d6..bb3a8b16eb9 100644
21 --- a/sci-mathematics/arb/Manifest
22 +++ b/sci-mathematics/arb/Manifest
23 @@ -1,3 +1 @@
24 -DIST arb-2.11.1.tar.gz 1248835 BLAKE2B 8ba11f3a92103231c4710c0158ce0811b2a01872e1ec7b7a4a4320d27ab86688aa8733df6dd2464aa55c0a506a8a595e4c370848c78b5c3a650e647f0c6d7411 SHA512 7a014da5208b55f20c7a3cd3eb51070b09ae107b04cbbd6329925780c2ab4d7c38e1fb3619f21456fa806939818370fcae921f59eb013661b6bdd3d0971e3353
25 -DIST arb-2.16.0.tar.gz 1526059 BLAKE2B 14f4a9b23fa6fc46659b742cc95b4970cee74cf52bda8bc696831b0a5c1f946f41f1c2bba180ad1199c55d741366b3376aeed0efbf6ee087b26f6de788519739 SHA512 171c965aeb03cd2830df8a53990403c6da480a94d44385dadfbb2d02697f7c03e8b9a217094b0ad93f796d889a1564f4b9ae9db35ef9de90f61bb2e3220911be
26 DIST arb-2.17.0.tar.gz 1589083 BLAKE2B 68d5b04dca24129ceaec4e05124e35b474157cf1efbb6505121a03058e014cd4eb67b99497dbbafcf62e9e31f9d11c92f749f6e047e6b1513b6c0cc5ef8f22da SHA512 201e0cebbd1c4857d194e5531c76c6e45a478cf6965b836818919adf0fc04f0fe25e16ecd49c62a438876b67f009b872c4f3c774fe35620be0b22c5e08bdb824
27
28 diff --git a/sci-mathematics/arb/arb-2.11.1-r1.ebuild b/sci-mathematics/arb/arb-2.11.1-r1.ebuild
29 deleted file mode 100644
30 index f27adcd7712..00000000000
31 --- a/sci-mathematics/arb/arb-2.11.1-r1.ebuild
32 +++ /dev/null
33 @@ -1,58 +0,0 @@
34 -# Copyright 1999-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -inherit eutils ltprune toolchain-funcs
40 -
41 -DESCRIPTION="C library for arbitrary-precision interval arithmetic"
42 -HOMEPAGE="http://fredrikj.net/arb/"
43 -SRC_URI="https://github.com/fredrik-johansson/arb/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -LICENSE="GPL-2+"
46 -SLOT="0/2"
47 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
48 -IUSE="static-libs"
49 -
50 -RDEPEND="
51 - dev-libs/gmp:0=
52 - dev-libs/mpfr:0=
53 - >=sci-mathematics/flint-2.5.0:=
54 -"
55 -DEPEND="${RDEPEND}"
56 -
57 -PATCHES=( "${FILESDIR}"/${P}-pie-ftbs.patch )
58 -
59 -src_configure() {
60 - # Not an autoconf configure script.
61 - # Note that it appears to have been cloned from the flint configure script
62 - # and that not all the options offered are valid.
63 - tc-export CC AR CXX
64 - ./configure \
65 - --prefix="${EPREFIX}/usr" \
66 - --with-flint="${EPREFIX}/usr" \
67 - --with-gmp="${EPREFIX}/usr" \
68 - --with-mpfr="${EPREFIX}/usr" \
69 - $(use_enable static-libs static) \
70 - CFLAGS="${CPPFLAGS} ${CFLAGS}" || die
71 -}
72 -
73 -src_compile() {
74 - emake verbose
75 -}
76 -
77 -src_test() {
78 - # Have to set the library path otherwise a previous install of libarb may be loaded.
79 - # This is in part a consequence of setting the soname/installnae I think.
80 - if [[ ${CHOST} == *-darwin* ]] ; then
81 - DYLD_LIBRARY_PATH="${S}" emake AT= QUIET_CC= QUIET_CXX= QUIET_AR= check
82 - else
83 - LD_LIBRARY_PATH="${S}" emake AT= QUIET_CC= QUIET_CXX= QUIET_AR= check
84 - fi
85 -}
86 -
87 -src_install() {
88 - emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install
89 - use static-libs || prune_libtool_files --all
90 - dodoc README.md
91 -}
92
93 diff --git a/sci-mathematics/arb/arb-2.16.0.ebuild b/sci-mathematics/arb/arb-2.16.0.ebuild
94 deleted file mode 100644
95 index 8a9abe3d5c7..00000000000
96 --- a/sci-mathematics/arb/arb-2.16.0.ebuild
97 +++ /dev/null
98 @@ -1,56 +0,0 @@
99 -# Copyright 1999-2020 Gentoo Authors
100 -# Distributed under the terms of the GNU General Public License v2
101 -
102 -EAPI=6
103 -
104 -inherit eutils ltprune toolchain-funcs
105 -
106 -DESCRIPTION="C library for arbitrary-precision interval arithmetic"
107 -HOMEPAGE="http://fredrikj.net/arb/"
108 -SRC_URI="https://github.com/fredrik-johansson/arb/archive/${PV}.tar.gz -> ${P}.tar.gz"
109 -
110 -LICENSE="GPL-2+"
111 -SLOT="0/2"
112 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
113 -IUSE="static-libs"
114 -
115 -RDEPEND="
116 - dev-libs/gmp:0=
117 - dev-libs/mpfr:0=
118 - >=sci-mathematics/flint-2.5.0:=
119 -"
120 -DEPEND="${RDEPEND}"
121 -
122 -src_configure() {
123 - # Not an autoconf configure script.
124 - # Note that it appears to have been cloned from the flint configure script
125 - # and that not all the options offered are valid.
126 - tc-export CC AR CXX
127 - ./configure \
128 - --prefix="${EPREFIX}/usr" \
129 - --with-flint="${EPREFIX}/usr" \
130 - --with-gmp="${EPREFIX}/usr" \
131 - --with-mpfr="${EPREFIX}/usr" \
132 - $(use_enable static-libs static) \
133 - CFLAGS="${CPPFLAGS} ${CFLAGS}" || die
134 -}
135 -
136 -src_compile() {
137 - emake verbose
138 -}
139 -
140 -src_test() {
141 - # Have to set the library path otherwise a previous install of libarb may be loaded.
142 - # This is in part a consequence of setting the soname/installnae I think.
143 - if [[ ${CHOST} == *-darwin* ]] ; then
144 - DYLD_LIBRARY_PATH="${S}" emake AT= QUIET_CC= QUIET_CXX= QUIET_AR= check
145 - else
146 - LD_LIBRARY_PATH="${S}" emake AT= QUIET_CC= QUIET_CXX= QUIET_AR= check
147 - fi
148 -}
149 -
150 -src_install() {
151 - emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install
152 - use static-libs || prune_libtool_files --all
153 - dodoc README.md
154 -}
155
156 diff --git a/sci-mathematics/arb/files/arb-2.11.1-pie-ftbs.patch b/sci-mathematics/arb/files/arb-2.11.1-pie-ftbs.patch
157 deleted file mode 100644
158 index b2db6b2a294..00000000000
159 --- a/sci-mathematics/arb/files/arb-2.11.1-pie-ftbs.patch
160 +++ /dev/null
161 @@ -1,17 +0,0 @@
162 -Description: Use -r instead of -Wl,-r to fix FTBFS with PIE enabled
163 -Author: Logan Rosen
164 -Forwarded: yes
165 -
166 -diff --git a/Makefile.subdirs b/Makefile.subdirs
167 -index 3dc757d..f0ec923 100644
168 ---- a/Makefile.subdirs
169 -+++ b/Makefile.subdirs
170 -@@ -52,7 +52,7 @@ $(BUILD_DIR)/$(MOD_DIR)_%.o: %.c
171 - $(QUIET_CC) $(CC) $(CFLAGS) $(INCS) -c $< -o $@ -MMD -MP -MF "$(BUILD_DIR)/$(MOD_DIR)_$*.d" -MT "$(BUILD_DIR)/$(MOD_DIR)_$*.d" -MT "$@"
172 -
173 - $(MOD_LOBJ): $(LOBJS)
174 -- $(QUIET_CC) $(CC) $(ABI_FLAG) -Wl,-r $^ -o $@ -nostdlib
175 -+ $(QUIET_CC) $(CC) $(ABI_FLAG) -r $^ -o $@ -nostdlib
176 -
177 - -include $(LOBJS:.lo=.d)
178 -