Gentoo Archives: gentoo-commits

From: "Thomas Kahle (tomka)" <tomka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/flint: flint-2.4.5.ebuild ChangeLog
Date: Thu, 02 Apr 2015 12:28:06
Message-Id: 20150402122800.2BB25150F3@oystercatcher.gentoo.org
1 tomka 15/04/02 12:27:59
2
3 Modified: ChangeLog
4 Added: flint-2.4.5.ebuild
5 Log:
6 Bump to 2.4.5 (542682)
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 565C32BC)
9
10 Revision Changes Path
11 1.11 sci-mathematics/flint/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/flint/ChangeLog?rev=1.11&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/flint/ChangeLog?rev=1.11&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/flint/ChangeLog?r1=1.10&r2=1.11
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/flint/ChangeLog,v
20 retrieving revision 1.10
21 retrieving revision 1.11
22 diff -u -r1.10 -r1.11
23 --- ChangeLog 25 Nov 2014 23:27:26 -0000 1.10
24 +++ ChangeLog 2 Apr 2015 12:27:59 -0000 1.11
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-mathematics/flint
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/flint/ChangeLog,v 1.10 2014/11/25 23:27:26 hasufell Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/flint/ChangeLog,v 1.11 2015/04/02 12:27:59 tomka Exp $
31 +
32 +*flint-2.4.5 (02 Apr 2015)
33 +
34 + 02 Apr 2015; Thomas Kahle <tomka@g.o> +flint-2.4.5.ebuild:
35 + Bump to 2.4.5 (542682)
36
37 25 Nov 2014; Julian Ospald <hasufell@g.o> metadata.xml:
38 drop maintainership
39
40
41
42 1.1 sci-mathematics/flint/flint-2.4.5.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/flint/flint-2.4.5.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/flint/flint-2.4.5.ebuild?rev=1.1&content-type=text/plain
46
47 Index: flint-2.4.5.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/flint/flint-2.4.5.ebuild,v 1.1 2015/04/02 12:27:59 tomka Exp $
52
53 EAPI="5"
54
55 inherit eutils multilib toolchain-funcs
56
57 DESCRIPTION="Fast Library for Number Theory"
58 HOMEPAGE="http://www.flintlib.org/"
59 SRC_URI="http://www.flintlib.org/${P}.tar.gz"
60
61 RESTRICT="mirror"
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="doc gc ntl static-libs test"
66
67 RDEPEND="dev-libs/gmp
68 dev-libs/mpfr
69 gc? ( dev-libs/boehm-gc )
70 ntl? ( dev-libs/ntl )"
71 DEPEND="${RDEPEND}
72 doc? (
73 app-text/texlive-core
74 dev-texlive/texlive-latex
75 dev-texlive/texlive-latexextra
76 )"
77
78 src_prepare() {
79 epatch "${FILESDIR}"/${PN}-2.4.3-libdir.patch \
80 "${FILESDIR}"/${PN}-2.4.3-whitespaces.patch \
81 "${FILESDIR}"/${PN}-2.4.3-cflags-ldflags.patch \
82 "${FILESDIR}"/${PN}-2.4.4-test.patch
83 }
84
85 src_configure() {
86 ./configure \
87 --prefix="${EPREFIX}/usr" \
88 --with-gmp="${EPREFIX}/usr" \
89 --with-mpfr="${EPREFIX}/usr" \
90 $(usex ntl "--with-ntl=${EPREFIX}/usr" "") \
91 $(use_enable static-libs static) \
92 $(usex gc "--with-gc=${EPREFIX}/usr" "") \
93 CC=$(tc-getCC) \
94 CXX=$(tc-getCXX) \
95 AR=$(tc-getAR) \
96 || die
97 }
98
99 src_compile() {
100 emake verbose
101
102 if use doc ; then
103 emake -C doc/latex
104 fi
105 }
106
107 src_test() {
108 emake AT= QUIET_CC= QUIET_CXX= QUIET_AR= check
109 }
110
111 src_install() {
112 emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install
113 einstalldocs
114 use doc && dodoc doc/latex/flint-manual.pdf
115 }