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.4.ebuild
Date: Tue, 03 Nov 2009 22:46:44
Message-Id: E1N5S9B-00018E-8b@stork.gentoo.org
1 bicatali 09/11/03 22:46:41
2
3 Modified: ChangeLog
4 Added: ginac-1.5.4.ebuild
5 Log:
6 Version bump, thanks Sebastian Mingramm for testing
7 (Portage version: 2.2_rc48/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.35 sci-mathematics/ginac/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/ginac/ChangeLog?rev=1.35&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/ginac/ChangeLog?rev=1.35&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/ginac/ChangeLog?r1=1.34&r2=1.35
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ChangeLog,v
19 retrieving revision 1.34
20 retrieving revision 1.35
21 diff -u -r1.34 -r1.35
22 --- ChangeLog 30 Oct 2009 16:04:37 -0000 1.34
23 +++ ChangeLog 3 Nov 2009 22:46:40 -0000 1.35
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sci-mathematics/ginac
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ChangeLog,v 1.34 2009/10/30 16:04:37 bicatali Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ChangeLog,v 1.35 2009/11/03 22:46:40 bicatali Exp $
29 +
30 +*ginac-1.5.4 (03 Nov 2009)
31 +
32 + 03 Nov 2009; Sébastien Fabbro <bicatali@g.o> +ginac-1.5.4.ebuild:
33 + Version bump, thanks Sebastian Mingramm for testing
34
35 30 Oct 2009; Sébastien Fabbro <bicatali@g.o> -ginac-1.3.7.ebuild,
36 -ginac-1.4.3.ebuild:
37
38
39
40 1.1 sci-mathematics/ginac/ginac-1.5.4.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/ginac/ginac-1.5.4.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/ginac/ginac-1.5.4.ebuild?rev=1.1&content-type=text/plain
44
45 Index: ginac-1.5.4.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ginac-1.5.4.ebuild,v 1.1 2009/11/03 22:46:40 bicatali Exp $
50
51 EAPI=2
52 inherit eutils
53
54 DESCRIPTION="C++ library and tools for symbolic calculations"
55 SRC_URI="ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/${P}.tar.bz2"
56 HOMEPAGE="http://www.ginac.de/"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
61 IUSE="doc"
62
63 RDEPEND=">=sci-libs/cln-1.2.2"
64 DEPEND="${RDEPEND}
65 dev-util/pkgconfig
66 doc? ( app-doc/doxygen
67 media-gfx/transfig
68 || ( dev-texlive/texlive-fontsrecommended
69 app-text/ptex ) )"
70
71 src_prepare() {
72 epatch "${FILESDIR}"/${PN}-1.5.1-pkgconfig.patch
73 }
74
75 src_compile() {
76 emake || die "emake failed"
77 if use doc; then
78 cd "${S}/doc/reference"
79 #pdf generation for reference failed (1.5.1), bug #264774
80 #emake html pdf || die "emake doc reference failed"
81 emake html || die "emake ref failed"
82 cd "${S}/doc/tutorial"
83 emake ginac.pdf ginac.html || die "emake doc tutorial failed"
84 fi
85 }
86
87 src_install() {
88 emake DESTDIR="${D}" install || die "emake install failed"
89 dodoc README NEWS AUTHORS || die
90
91 if use doc; then
92 cd doc
93 insinto /usr/share/doc/${PF}
94 newins tutorial/ginac.pdf tutorial.pdf || die "tutorial install failed"
95 #newins reference/ginac.pdf reference.pdf || die "ref install failed"
96 insinto /usr/share/doc/${PF}/html/reference
97 doins -r reference/html_files/* || die
98 insinto /usr/share/doc/${PF}/html
99 newins tutorial/ginac.html tutorial.html
100 insinto /usr/share/doc/${PF}/examples
101 doins examples/*.cpp examples/ginac-examples.txt
102 fi
103 }