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/yacas: yacas-1.3.4.ebuild ChangeLog
Date: Wed, 28 May 2014 17:44:53
Message-Id: 20140528174449.D6C792004E@flycatcher.gentoo.org
1 bicatali 14/05/28 17:44:49
2
3 Modified: ChangeLog
4 Added: yacas-1.3.4.ebuild
5 Log:
6 Version bump, switch to EAPI5
7
8 (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
9
10 Revision Changes Path
11 1.36 sci-mathematics/yacas/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/yacas/ChangeLog?rev=1.36&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/yacas/ChangeLog?rev=1.36&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/yacas/ChangeLog?r1=1.35&r2=1.36
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/ChangeLog,v
20 retrieving revision 1.35
21 retrieving revision 1.36
22 diff -u -r1.35 -r1.36
23 --- ChangeLog 11 Dec 2012 18:52:52 -0000 1.35
24 +++ ChangeLog 28 May 2014 17:44:49 -0000 1.36
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-mathematics/yacas
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/ChangeLog,v 1.35 2012/12/11 18:52:52 bicatali Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/ChangeLog,v 1.36 2014/05/28 17:44:49 bicatali Exp $
31 +
32 +*yacas-1.3.4 (28 May 2014)
33 +
34 + 28 May 2014; Sébastien Fabbro <bicatali@g.o> +yacas-1.3.4.ebuild:
35 + Version bump, switch to EAPI5
36
37 *yacas-1.3.3 (11 Dec 2012)
38
39
40
41
42 1.1 sci-mathematics/yacas/yacas-1.3.4.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/yacas/yacas-1.3.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/yacas/yacas-1.3.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: yacas-1.3.4.ebuild
48 ===================================================================
49 # Copyright 1999-2014 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.4.ebuild,v 1.1 2014/05/28 17:44:49 bicatali Exp $
52
53 EAPI=5
54
55 inherit autotools-utils java-pkg-opt-2
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/1"
62 LICENSE="GPL-2"
63 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
64 IUSE="doc java static-libs server"
65
66 DEPEND="java? ( >=virtual/jdk-1.6 )"
67 RDEPEND="java? ( >=virtual/jre-1.6 )"
68
69 src_configure() {
70 local myeconfargs=(
71 $(use_enable doc html-doc)
72 $(use_enable server)
73 --with-html-dir="/usr/share/doc/${PF}/html"
74 )
75 autotools-utils_src_configure
76 }
77
78 src_compile() {
79 autotools-utils_src_compile
80 if use java; then
81 cd "${BUILD_DIR}"/JavaYacas || die
82 # -j1 because of file generation dependence
83 emake -j1 -f makefile.yacas
84 fi
85 }
86
87 src_install() {
88 autotools-utils_src_install
89 if use java; then
90 cd "${BUILD_DIR}}"/JavaYacas || die
91 java-pkg_dojar yacas.jar
92 java-pkg_dolauncher jyacas --main net.sf.yacas.YacasConsole
93 insinto /usr/share/${PN}
94 doins "${S}"/JavaYacas/{hints.txt,yacasconsole.html}
95 fi
96 }