From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-mathematics/yacas: ChangeLog yacas-1.3.2.ebuild |
Date: | Fri, 02 Mar 2012 05:59:15 |
Message-Id: | 20120302055905.DFF8120034@flycatcher.gentoo.org |
1 | bicatali 12/03/02 05:59:05 |
2 | |
3 | Modified: ChangeLog |
4 | Added: yacas-1.3.2.ebuild |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.1.10.44/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.31 sci-mathematics/yacas/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/yacas/ChangeLog?rev=1.31&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/yacas/ChangeLog?rev=1.31&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/yacas/ChangeLog?r1=1.30&r2=1.31 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/ChangeLog,v |
20 | retrieving revision 1.30 |
21 | retrieving revision 1.31 |
22 | diff -u -r1.30 -r1.31 |
23 | --- ChangeLog 25 Nov 2011 17:58:04 -0000 1.30 |
24 | +++ ChangeLog 2 Mar 2012 05:59:05 -0000 1.31 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for sci-mathematics/yacas |
27 | -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/ChangeLog,v 1.30 2011/11/25 17:58:04 bicatali Exp $ |
29 | +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/ChangeLog,v 1.31 2012/03/02 05:59:05 bicatali Exp $ |
31 | + |
32 | +*yacas-1.3.2 (02 Mar 2012) |
33 | + |
34 | + 02 Mar 2012; Sébastien Fabbro <bicatali@g.o> +yacas-1.3.2.ebuild: |
35 | + Version bump |
36 | |
37 | *yacas-1.3.1 (25 Nov 2011) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 sci-mathematics/yacas/yacas-1.3.2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/yacas/yacas-1.3.2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/yacas/yacas-1.3.2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: yacas-1.3.2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2012 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/yacas-1.3.2.ebuild,v 1.1 2012/03/02 05:59:05 bicatali Exp $ |
52 | |
53 | EAPI="4" |
54 | |
55 | inherit eutils java-pkg-opt-2 autotools |
56 | |
57 | DESCRIPTION="General purpose computer algebra system" |
58 | HOMEPAGE="http://yacas.sourceforge.net/" |
59 | SRC_URI="http://${PN}.sourceforge.net/backups/${P}.tar.gz" |
60 | |
61 | SLOT="0" |
62 | LICENSE="GPL-2" |
63 | KEYWORDS="~amd64 ~ppc ~x86" |
64 | |
65 | IUSE="doc java server" |
66 | |
67 | DEPEND="java? ( >=virtual/jdk-1.6 )" |
68 | RDEPEND="java? ( >=virtual/jre-1.6 )" |
69 | |
70 | psrc_prepare() { |
71 | epatch "${FILESDIR}"/${PN}-1.2.2-tests.patch |
72 | # needs to rebuild because tests include file modify Makefile.am |
73 | eautoreconf |
74 | } |
75 | |
76 | src_configure() { |
77 | econf \ |
78 | $(use_enable doc html-doc) \ |
79 | $(use_enable server) \ |
80 | --with-html-dir="/usr/share/doc/${PF}/html" |
81 | } |
82 | |
83 | src_compile() { |
84 | default |
85 | if use java; then |
86 | cd JavaYacas || die |
87 | # -j1 because of file generation dependence |
88 | emake -j1 -f makefile.yacas |
89 | fi |
90 | } |
91 | |
92 | src_install() { |
93 | default |
94 | if use java; then |
95 | cd JavaYacas || die |
96 | java-pkg_dojar yacas.jar |
97 | java-pkg_dolauncher jyacas --main net.sf.yacas.YacasConsole |
98 | insinto /usr/share/${PN} |
99 | doins hints.txt yacasconsole.html |
100 | fi |
101 | } |