Gentoo Archives: gentoo-commits

From: "Tom Wijsman (tomwij)" <tomwij@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/commons-math: commons-math-3.2.ebuild ChangeLog
Date: Wed, 29 May 2013 12:44:08
Message-Id: 20130529124402.4051C2171D@flycatcher.gentoo.org
1 tomwij 13/05/29 12:44:02
2
3 Modified: ChangeLog
4 Added: commons-math-3.2.ebuild
5 Log:
6 Version bump to 3.2.
7
8 (Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
9
10 Revision Changes Path
11 1.9 dev-java/commons-math/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-math/ChangeLog?rev=1.9&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-math/ChangeLog?rev=1.9&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-math/ChangeLog?r1=1.8&r2=1.9
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-java/commons-math/ChangeLog,v
20 retrieving revision 1.8
21 retrieving revision 1.9
22 diff -u -r1.8 -r1.9
23 --- ChangeLog 12 Dec 2010 06:36:02 -0000 1.8
24 +++ ChangeLog 29 May 2013 12:44:02 -0000 1.9
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-java/commons-math
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-math/ChangeLog,v 1.8 2010/12/12 06:36:02 ken69267 Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-math/ChangeLog,v 1.9 2013/05/29 12:44:02 tomwij Exp $
31 +
32 +*commons-math-3.2 (29 May 2013)
33 +
34 + 29 May 2013; Tom Wijsman <TomWij@g.o> +commons-math-3.2.ebuild,
35 + +files/commons-math-3.2-build.xml:
36 + Version bump to 3.2.
37
38 12 Dec 2010; Kenneth Prugh <ken69267@g.o>
39 commons-math-2.1-r1.ebuild:
40 @@ -43,4 +49,3 @@
41 02 Oct 2009; Andrey Kislyuk <weaver@g.o> +metadata.xml,
42 +commons-math-1.2.ebuild, +commons-math-2.0.ebuild:
43 Import from Java overlay and rewrite
44 -
45
46
47
48 1.1 dev-java/commons-math/commons-math-3.2.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-math/commons-math-3.2.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-math/commons-math-3.2.ebuild?rev=1.1&content-type=text/plain
52
53 Index: commons-math-3.2.ebuild
54 ===================================================================
55 # Copyright 1999-2013 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/dev-java/commons-math/commons-math-3.2.ebuild,v 1.1 2013/05/29 12:44:02 tomwij Exp $
58
59 EAPI="5"
60
61 # Tests are currently broken due to nasty -lib argument.
62 JAVA_PKG_IUSE="doc source" # test
63
64 inherit java-pkg-2 java-ant-2 java-osgi
65
66 MY_PN="${PN}3"
67 MY_P="${MY_PN}-${PV}"
68
69 DESCRIPTION="Lightweight, self-contained mathematics and statistics components"
70 HOMEPAGE="http://commons.apache.org/math/"
71 SRC_URI="mirror://apache/commons/math/source/${MY_P}-src.tar.gz"
72
73 LICENSE="Apache-2.0"
74 SLOT="3"
75 KEYWORDS="~amd64 ~x86"
76
77 DEPEND=">=virtual/jdk-1.5"
78
79 # Tests are currently broken due to nasty -lib argument.
80 # test? (
81 # dev-java/ant-junit4
82 # dev-java/hamcrest-core:0
83 # )"
84
85 RDEPEND=">=virtual/jre-1.5"
86
87 S="${WORKDIR}/${MY_P}-src"
88
89 java_prepare() {
90 cp "${FILESDIR}"/${P}-build.xml build.xml || die
91
92 sed -i 's/manifest=".*MANIFEST.MF"//g' build.xml || die
93 sed -i '/name="Main-Class"/d' build.xml || die
94 }
95
96 # Tests are currently broken due to nasty -lib argument.
97 # src_test() {
98 # java-pkg_jar-from junit-4
99 # java-pkg_jar-from hamcrest-core
100 # ANT_TASKS="ant-junit4" eant -Djunit.jar=junit.jar test
101 # }
102
103 src_install() {
104 java-osgi_newjar target/${MY_P}.jar ${MY_PN} ${MY_PN} "Export-Package: ${MY_PN}"
105
106 use doc && java-pkg_dojavadoc target/apidocs
107 use source && java-pkg_dosrc src/main/java/org
108 }