Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/ginac: ChangeLog ginac-1.5.1.ebuild
Date: Fri, 03 Apr 2009 09:45:00
Message-Id: E1LpfxK-00042W-Rn@stork.gentoo.org
1 bicatali 09/04/03 09:44:58
2
3 Modified: ChangeLog
4 Added: ginac-1.5.1.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc28/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.25 sci-mathematics/ginac/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/ginac/ChangeLog?rev=1.25&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/ginac/ChangeLog?rev=1.25&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/ginac/ChangeLog?r1=1.24&r2=1.25
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ChangeLog,v
19 retrieving revision 1.24
20 retrieving revision 1.25
21 diff -u -r1.24 -r1.25
22 --- ChangeLog 27 Mar 2009 22:48:22 -0000 1.24
23 +++ ChangeLog 3 Apr 2009 09:44:58 -0000 1.25
24 @@ -1,6 +1,13 @@
25 # ChangeLog for sci-mathematics/ginac
26 # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ChangeLog,v 1.24 2009/03/27 22:48:22 fmccor Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ChangeLog,v 1.25 2009/04/03 09:44:58 bicatali Exp $
29 +
30 +*ginac-1.5.1 (03 Apr 2009)
31 +
32 + 03 Apr 2009; Sébastien Fabbro <bicatali@g.o>
33 + -files/ginac-1.4.1-gcc4.3.patch, +files/ginac-1.5.1-lexer_cpp.patch,
34 + +files/ginac-1.5.1-pkgconfig.patch, +ginac-1.5.1.ebuild:
35 + Version bump
36
37 27 Mar 2009; Ferris McCormick <fmccor@g.o> ginac-1.4.3.ebuild:
38 Sparc stable, dependency for bug #245707.
39
40
41
42 1.1 sci-mathematics/ginac/ginac-1.5.1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/ginac/ginac-1.5.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/ginac/ginac-1.5.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ginac-1.5.1.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ginac-1.5.1.ebuild,v 1.1 2009/04/03 09:44:58 bicatali Exp $
52
53 EAPI=2
54 inherit eutils
55
56 DESCRIPTION="C++ library and tools for symbolic calculations"
57 SRC_URI="ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/${P}.tar.bz2"
58 HOMEPAGE="http://www.ginac.de/"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
63 IUSE="doc"
64
65 RDEPEND=">=sci-libs/cln-1.2.2"
66 DEPEND="${RDEPEND}
67 dev-util/pkgconfig
68 doc? ( app-doc/doxygen
69 media-gfx/transfig
70 || ( dev-texlive/texlive-fontsrecommended
71 app-text/tetex
72 app-text/ptex ) )"
73
74 src_prepare() {
75 # 2 harmless patches from fedora
76 epatch "${FILESDIR}"/${P}-lexer_cpp.patch
77 epatch "${FILESDIR}"/${P}-pkgconfig.patch
78 }
79
80 src_compile() {
81 emake || die "emake failed"
82 if use doc; then
83 # need to run twice to get the references right (you know, latex)
84 # do not add die function at the first one
85 make pdf
86 emake pdf || die "emake pdf failed"
87 cd doc/reference
88 emake html || die "emake html failed"
89 fi
90 }
91
92 src_install() {
93 emake DESTDIR="${D}" install || die "emake install failed"
94 dodoc README NEWS AUTHORS || die
95
96 if use doc; then
97 cd doc
98 insinto /usr/share/doc/${PF}
99 doins \
100 examples/ginac-examples.pdf \
101 reference/reference.pdf \
102 tutorial/ginac.pdf \
103 || die "pdf doc install failed"
104 dohtml -r reference/html_files/*
105 insinto /usr/share/doc/${PF}/examples
106 doins examples/*.cpp examples/ginac-examples.txt
107 fi
108 }