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