1 |
serkan 10/11/26 20:30:38 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: commons-math-2.1-r1.ebuild |
5 |
Removed: commons-math-2.1.ebuild |
6 |
Log: |
7 |
Fix empty jar when tests are not run. Reported in bug #346823 by Hendrik Iben <hiben@×××.de>. Reenable docs. |
8 |
|
9 |
(Portage version: 2.2.0_alpha2/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.6 dev-java/commons-math/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-math/ChangeLog?rev=1.6&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-math/ChangeLog?rev=1.6&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-math/ChangeLog?r1=1.5&r2=1.6 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/commons-math/ChangeLog,v |
21 |
retrieving revision 1.5 |
22 |
retrieving revision 1.6 |
23 |
diff -u -r1.5 -r1.6 |
24 |
--- ChangeLog 26 Oct 2010 16:28:02 -0000 1.5 |
25 |
+++ ChangeLog 26 Nov 2010 20:30:38 -0000 1.6 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for dev-java/commons-math |
28 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-math/ChangeLog,v 1.5 2010/10/26 16:28:02 serkan Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-math/ChangeLog,v 1.6 2010/11/26 20:30:38 serkan Exp $ |
31 |
+ |
32 |
+*commons-math-2.1-r1 (26 Nov 2010) |
33 |
+ |
34 |
+ 26 Nov 2010; Serkan Kaba <serkan@g.o> -commons-math-2.1.ebuild, |
35 |
+ +commons-math-2.1-r1.ebuild, -files/commons-math-2.1-buildfixes.patch, |
36 |
+ +files/commons-math-2.1-r1-buildfixes.patch: |
37 |
+ Fix empty jar when tests are not run. Reported in bug #346823 by Hendrik |
38 |
+ Iben <hiben@×××.de>. Reenable docs. |
39 |
|
40 |
26 Oct 2010; Serkan Kaba <serkan@g.o> |
41 |
+files/commons-math-2.1-buildfixes.patch: |
42 |
|
43 |
|
44 |
|
45 |
1.1 dev-java/commons-math/commons-math-2.1-r1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-math/commons-math-2.1-r1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-math/commons-math-2.1-r1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: commons-math-2.1-r1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-math/commons-math-2.1-r1.ebuild,v 1.1 2010/11/26 20:30:38 serkan Exp $ |
55 |
|
56 |
EAPI="3" |
57 |
|
58 |
JAVA_PKG_IUSE="doc test source" |
59 |
|
60 |
inherit java-pkg-2 java-ant-2 |
61 |
|
62 |
DESCRIPTION="Lightweight, self-contained mathematics and statistics components" |
63 |
HOMEPAGE="http://commons.apache.org/math/" |
64 |
SRC_URI="mirror://apache/commons/math/source/${P}-src.tar.gz" |
65 |
LICENSE="Apache-2.0" |
66 |
SLOT="2" |
67 |
KEYWORDS="~x86 ~amd64" |
68 |
IUSE="" |
69 |
|
70 |
DEPEND=">=virtual/jdk-1.5 |
71 |
test? ( |
72 |
dev-java/ant-junit4 |
73 |
dev-java/hamcrest-core:0 |
74 |
)" |
75 |
|
76 |
RDEPEND=">=virtual/jre-1.5" |
77 |
|
78 |
S="${WORKDIR}/${P}-src" |
79 |
|
80 |
java_prepare() { |
81 |
epatch "${FILESDIR}"/${PF}-buildfixes.patch |
82 |
} |
83 |
|
84 |
src_test() { |
85 |
java-pkg_jar-from junit-4 |
86 |
java-pkg_jar-from hamcrest-core |
87 |
ANT_TASKS="ant-junit4" eant -Djunit.jar=junit.jar test |
88 |
} |
89 |
|
90 |
src_install() { |
91 |
java-pkg_newjar target/${P}.jar ${PN}.jar |
92 |
|
93 |
use doc && java-pkg_dojavadoc target/apidocs |
94 |
use source && java-pkg_dosrc src/main/java/org |
95 |
} |