Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/flint/
Date: Mon, 09 Mar 2020 20:22:24
Message-Id: 1583785319.e8ac08fdb49e7a03c765bd504b5a30e01cf6b4d3.asturm@gentoo
1 commit: e8ac08fdb49e7a03c765bd504b5a30e01cf6b4d3
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 9 20:00:13 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 9 20:21:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8ac08fd
7
8 sci-mathematics/flint: Drop 2.4.5 and 2.5.2 (r0)
9
10 Package-Manager: Portage-2.3.93, Repoman-2.3.20
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 sci-mathematics/flint/Manifest | 1 -
14 sci-mathematics/flint/flint-2.4.5.ebuild | 73 --------------------------------
15 sci-mathematics/flint/flint-2.5.2.ebuild | 67 -----------------------------
16 3 files changed, 141 deletions(-)
17
18 diff --git a/sci-mathematics/flint/Manifest b/sci-mathematics/flint/Manifest
19 index 77f81c97009..e35cd2be74e 100644
20 --- a/sci-mathematics/flint/Manifest
21 +++ b/sci-mathematics/flint/Manifest
22 @@ -1,3 +1,2 @@
23 DIST flint-2.4.4.tar.gz 1639262 BLAKE2B 54162a4d2f02c3e8e441b6a96c1e7ba4e5e8d8ad7b2d36bb7ead49bb112cd94403cb503d1e56621a0a6fedad6387e63dc39888ff3757e298aea55bf55acc4e20 SHA512 236997cf64bdc96741740889f450fdbaf7d7e9b58252645f864d28005c9e7bdf87f7187cd17526606c605f0489f026398a1361b8f209f71158ca3b31c42d86d2
24 -DIST flint-2.4.5.tar.gz 1640022 BLAKE2B 1267d81bb0270556614ebc8bff65287e0b3738ba0f3245f066ee7ea6971ab4d9082beb2c0a336dcd5b9c1517261aaf55c0bee519c6f71984834a7920002ad95c SHA512 088ff512ea2330f9323a6ca0dc875e8c0926d755317d6007eba4b333a14d7612e82ebcfeabd26d1ec4b9204c4517dee08f914ad1ec852e37336fe378710a8bfc
25 DIST flint-2.5.2.tar.gz 2212242 BLAKE2B 36b9b1f2acb1d79534d85884d755fddba3b8b40efbe92aeeecd7d1526cd21f0849054c30d23c565c6a13c609992cf22f56f5b640da15e1c7e6ba6840fc710d47 SHA512 cce36947b558aabecaf780171b4bbc0e1330c3b1a7e3580717584be5cab4991d33b190531c7995b224a3a440e28c4a610d6f781901e29f48ced12a9c5ba960a2
26
27 diff --git a/sci-mathematics/flint/flint-2.4.5.ebuild b/sci-mathematics/flint/flint-2.4.5.ebuild
28 deleted file mode 100644
29 index 36bcaaaea7a..00000000000
30 --- a/sci-mathematics/flint/flint-2.4.5.ebuild
31 +++ /dev/null
32 @@ -1,73 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="5"
37 -
38 -inherit eutils multilib toolchain-funcs
39 -
40 -DESCRIPTION="Fast Library for Number Theory"
41 -HOMEPAGE="http://www.flintlib.org/"
42 -SRC_URI="http://www.flintlib.org/${P}.tar.gz"
43 -
44 -RESTRICT="mirror !test? ( test )"
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -IUSE="doc gc ntl static-libs test"
49 -
50 -RDEPEND="dev-libs/gmp:0=
51 - dev-libs/mpfr:0
52 - gc? ( dev-libs/boehm-gc )
53 - ntl? ( dev-libs/ntl )"
54 -DEPEND="${RDEPEND}
55 - doc? (
56 - app-text/texlive-core
57 - dev-texlive/texlive-latex
58 - dev-texlive/texlive-latexextra
59 - )"
60 -
61 -src_prepare() {
62 - epatch "${FILESDIR}"/${PN}-2.4.3-libdir.patch \
63 - "${FILESDIR}"/${PN}-2.4.3-whitespaces.patch \
64 - "${FILESDIR}"/${PN}-2.4.3-cflags-ldflags.patch \
65 - "${FILESDIR}"/${PN}-2.4.4-test.patch \
66 - "${FILESDIR}"/${PN}-2.4.5-gmp6-compat.patch \
67 - "${FILESDIR}"/${PN}-2.4.5-ntl62.patch \
68 - "${FILESDIR}"/${PN}-2.4.4-PIE-FTBFS.patch
69 -
70 - sed -i \
71 - -e '/echo "DLPATH_ADD=/s/\$DLPATH_ADD/\\\$(CURDIR)/' \
72 - ./configure || die
73 -}
74 -
75 -src_configure() {
76 - ./configure \
77 - --prefix="${EPREFIX}/usr" \
78 - --with-gmp="${EPREFIX}/usr" \
79 - --with-mpfr="${EPREFIX}/usr" \
80 - $(usex ntl "--with-ntl=${EPREFIX}/usr" "") \
81 - $(use_enable static-libs static) \
82 - $(usex gc "--with-gc=${EPREFIX}/usr" "") \
83 - CC=$(tc-getCC) \
84 - CXX=$(tc-getCXX) \
85 - AR=$(tc-getAR) \
86 - || die
87 -}
88 -
89 -src_compile() {
90 - emake verbose
91 -
92 - if use doc ; then
93 - emake -C doc/latex
94 - fi
95 -}
96 -
97 -src_test() {
98 - emake AT= QUIET_CC= QUIET_CXX= QUIET_AR= check
99 -}
100 -
101 -src_install() {
102 - emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install
103 - einstalldocs
104 - use doc && dodoc doc/latex/flint-manual.pdf
105 -}
106
107 diff --git a/sci-mathematics/flint/flint-2.5.2.ebuild b/sci-mathematics/flint/flint-2.5.2.ebuild
108 deleted file mode 100644
109 index 0a6ef5a44bd..00000000000
110 --- a/sci-mathematics/flint/flint-2.5.2.ebuild
111 +++ /dev/null
112 @@ -1,67 +0,0 @@
113 -# Copyright 1999-2019 Gentoo Authors
114 -# Distributed under the terms of the GNU General Public License v2
115 -
116 -EAPI="5"
117 -
118 -inherit eutils multilib toolchain-funcs
119 -
120 -DESCRIPTION="Fast Library for Number Theory"
121 -HOMEPAGE="http://www.flintlib.org/"
122 -SRC_URI="http://www.flintlib.org/${P}.tar.gz"
123 -
124 -RESTRICT="mirror !test? ( test )"
125 -LICENSE="GPL-2"
126 -SLOT="0/13"
127 -KEYWORDS="~amd64 ~arm ~x86"
128 -IUSE="doc gc ntl static-libs test"
129 -
130 -RDEPEND="dev-libs/gmp:=
131 - dev-libs/mpfr:=
132 - gc? ( dev-libs/boehm-gc )
133 - ntl? ( dev-libs/ntl:= )"
134 -DEPEND="${RDEPEND}
135 - doc? (
136 - app-text/texlive-core
137 - dev-texlive/texlive-latex
138 - dev-texlive/texlive-latexextra
139 - )"
140 -
141 -src_prepare() {
142 - epatch "${FILESDIR}"/${PN}-2.4.4-PIE-FTBFS.patch
143 -
144 - sed -i \
145 - -e '/echo "DLPATH_ADD=/s/\$DLPATH_ADD/\\\$(CURDIR)/' \
146 - ./configure || die
147 -}
148 -
149 -src_configure() {
150 - ./configure \
151 - --prefix="${EPREFIX}/usr" \
152 - --with-gmp="${EPREFIX}/usr" \
153 - --with-mpfr="${EPREFIX}/usr" \
154 - $(usex ntl "--with-ntl=${EPREFIX}/usr" "") \
155 - $(use_enable static-libs static) \
156 - $(usex gc "--with-gc=${EPREFIX}/usr" "") \
157 - CC=$(tc-getCC) \
158 - CXX=$(tc-getCXX) \
159 - AR=$(tc-getAR) \
160 - || die
161 -}
162 -
163 -src_compile() {
164 - emake verbose
165 -
166 - if use doc ; then
167 - emake -C doc/latex
168 - fi
169 -}
170 -
171 -src_test() {
172 - emake AT= QUIET_CC= QUIET_CXX= QUIET_AR= check
173 -}
174 -
175 -src_install() {
176 - emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install
177 - einstalldocs
178 - use doc && dodoc doc/latex/flint-manual.pdf
179 -}