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/
Date: Mon, 06 Dec 2021 21:49:29
Message-Id: 1638827219.1bb3bfcc1bbc67d86f041b5220b43c8ce6061f34.mjo@gentoo
1 commit: 1bb3bfcc1bbc67d86f041b5220b43c8ce6061f34
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 6 21:46:59 2021 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 6 21:46:59 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bb3bfcc
7
8 sci-mathematics/arb: remove old "unused" arb-2.1[78].x ebuilds
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
12
13 sci-mathematics/arb/Manifest | 2 -
14 sci-mathematics/arb/arb-2.17.0.ebuild | 74 -----------------------------------
15 sci-mathematics/arb/arb-2.18.1.ebuild | 37 ------------------
16 3 files changed, 113 deletions(-)
17
18 diff --git a/sci-mathematics/arb/Manifest b/sci-mathematics/arb/Manifest
19 index 73bb1e3d369c..35013f249603 100644
20 --- a/sci-mathematics/arb/Manifest
21 +++ b/sci-mathematics/arb/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST arb-2.17.0.tar.gz 1589083 BLAKE2B 68d5b04dca24129ceaec4e05124e35b474157cf1efbb6505121a03058e014cd4eb67b99497dbbafcf62e9e31f9d11c92f749f6e047e6b1513b6c0cc5ef8f22da SHA512 201e0cebbd1c4857d194e5531c76c6e45a478cf6965b836818919adf0fc04f0fe25e16ecd49c62a438876b67f009b872c4f3c774fe35620be0b22c5e08bdb824
24 -DIST arb-2.18.1.tar.gz 1595831 BLAKE2B 010ae7a17a9cc1c11ded5806ff761115f3e78c48a5d8fc058eae0715b1e00e40345d4e6445a84c71c37627879648f445663dcc3bbcebdeaac8439a993ade38ee SHA512 07afb45829119bc695926dab4221051b221c2cc3952e42c9928efc74570b05fc01c97ea86b1b67c16d7a19a55b4e32dce97e08c9b72f36b33dd62bfccd19bb05
25 DIST arb-2.19.0.tar.gz 1606463 BLAKE2B 85d832113ae42737a460198cbf485f825a9435963a888c0d0ab87b7ed7277d158480b573fd8ace42484dd4767bf4f1a372f637cfff01f18c105fd2b62d0d019e SHA512 199d1a26edd01e3b30f7aef69a9ae29456e3db384037744a1e073007ddb93a248873dfe83f3e48f9de58a9d17ebd7dc9a22a058f4adf766599d01d7eb17db204
26 DIST arb-2.21.0.tar.gz 1842021 BLAKE2B 1ab3c4d18eb1918eaee9ea9aff68d82fc33a136ff5612e5173bf0cc29e5753f2c002256d68ae7983b5677d5082ab6849c68755e7544cee24144ca4e84e4d8411 SHA512 e441f8325d3095f1d568ebf9018520aedb25b6a066678e870942efcc8ac005dbf10cdffe42bc4fdbce3ba3ac397241c1d92fb54556e444243bd56dd3d5d72664
27
28 diff --git a/sci-mathematics/arb/arb-2.17.0.ebuild b/sci-mathematics/arb/arb-2.17.0.ebuild
29 deleted file mode 100644
30 index 70ee466cd34f..000000000000
31 --- a/sci-mathematics/arb/arb-2.17.0.ebuild
32 +++ /dev/null
33 @@ -1,74 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -inherit 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="LGPL-2.1+"
46 -SLOT="0/2"
47 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-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 -src_prepare() {
58 - default
59 -
60 - # The autodetection finds "lib" first, which may e.g. contain 32-bit
61 - # libs during a 64-bit build.
62 - #
63 - # Copied from flint which has the same issues because arb is just
64 - # copying flint. Of course flint doesn't have a line for itself
65 - # and, it had to be added.
66 - sed -e "s:{GMP_DIR}/lib\":{GMP_DIR}/$(get_libdir)\":g" \
67 - -e "s:{MPFR_DIR}/lib\":{MPFR_DIR}/$(get_libdir)\":g" \
68 - -e "s:{FLINT_DIR}/lib\":{FLINT_DIR}/$(get_libdir)\":g" \
69 - -i configure
70 -}
71 -
72 -src_configure() {
73 - # Not an autoconf configure script. It appears to have been cloned
74 - # from the flint configure script and that not all the options
75 - # offered are valid.
76 - tc-export CC AR CXX
77 - ./configure \
78 - --prefix="${EPREFIX}/usr" \
79 - --with-flint="${EPREFIX}/usr" \
80 - --with-gmp="${EPREFIX}/usr" \
81 - --with-mpfr="${EPREFIX}/usr" \
82 - $(use_enable static-libs static) \
83 - CFLAGS="${CPPFLAGS} ${CFLAGS}" || die
84 -}
85 -
86 -src_compile() {
87 - emake verbose
88 -}
89 -
90 -src_test() {
91 - # We have to set the library path otherwise a previous install of
92 - # libarb may be loaded. This is in part a consequence of setting
93 - # the soname/installname I think.
94 - if [[ ${CHOST} == *-darwin* ]] ; then
95 - DYLD_LIBRARY_PATH="${S}" emake AT= QUIET_CC= QUIET_CXX= QUIET_AR= check
96 - else
97 - LD_LIBRARY_PATH="${S}" emake AT= QUIET_CC= QUIET_CXX= QUIET_AR= check
98 - fi
99 -}
100 -
101 -src_install() {
102 - emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install
103 - if ! use static-libs; then
104 - find "${ED}" -name '*.la' -delete || die
105 - fi
106 - dodoc README.md
107 -}
108
109 diff --git a/sci-mathematics/arb/arb-2.18.1.ebuild b/sci-mathematics/arb/arb-2.18.1.ebuild
110 deleted file mode 100644
111 index ec1bac182a3a..000000000000
112 --- a/sci-mathematics/arb/arb-2.18.1.ebuild
113 +++ /dev/null
114 @@ -1,37 +0,0 @@
115 -# Copyright 1999-2021 Gentoo Authors
116 -# Distributed under the terms of the GNU General Public License v2
117 -
118 -EAPI=7
119 -
120 -inherit cmake
121 -
122 -DESCRIPTION="C library for arbitrary-precision interval arithmetic"
123 -HOMEPAGE="https://fredrikj.net/arb/"
124 -SRC_URI="https://github.com/fredrik-johansson/arb/archive/${PV}.tar.gz -> ${P}.tar.gz"
125 -IUSE="test"
126 -
127 -RESTRICT="!test? ( test )"
128 -
129 -LICENSE="GPL-2+"
130 -SLOT="0/2"
131 -KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
132 -
133 -RDEPEND="
134 - dev-libs/gmp:0=
135 - dev-libs/mpfr:0=
136 - >=sci-mathematics/flint-2.5.0:="
137 -
138 -DEPEND="${RDEPEND}"
139 -
140 -PATCHES=(
141 - "${FILESDIR}"/${PN}-2.18.0-multilib-strict.patch
142 - "${FILESDIR}"/${PN}-2.18.0-build_type.patch
143 -)
144 -
145 -src_configure() {
146 - local mycmakeargs=(
147 - -DBUILD_TESTING="$(usex test)"
148 - )
149 -
150 - cmake_src_configure
151 -}