1 |
fordfrog 08/02/06 18:23:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: poi-3.0.2.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
(Portage version: 2.1.4.1) |
8 |
|
9 |
Revision Changes Path |
10 |
1.42 dev-java/poi/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/poi/ChangeLog?rev=1.42&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/poi/ChangeLog?rev=1.42&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/poi/ChangeLog?r1=1.41&r2=1.42 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/poi/ChangeLog,v |
19 |
retrieving revision 1.41 |
20 |
retrieving revision 1.42 |
21 |
diff -u -r1.41 -r1.42 |
22 |
--- ChangeLog 10 Jan 2008 23:13:03 -0000 1.41 |
23 |
+++ ChangeLog 6 Feb 2008 18:23:27 -0000 1.42 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-java/poi |
26 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/poi/ChangeLog,v 1.41 2008/01/10 23:13:03 caster Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/poi/ChangeLog,v 1.42 2008/02/06 18:23:27 fordfrog Exp $ |
29 |
+ |
30 |
+*poi-3.0.2 (06 Feb 2008) |
31 |
+ |
32 |
+ 06 Feb 2008; Miroslav Ć ulc <fordfrog@g.o> +poi-3.0.2.ebuild: |
33 |
+ Version bump |
34 |
|
35 |
10 Jan 2008; Vlastimil Babka <caster@g.o> |
36 |
-files/poi-2.5-jikes-fix.patch, -files/poi-3.0-src-isDateFormat.patch, |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-java/poi/poi-3.0.2.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/poi/poi-3.0.2.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/poi/poi-3.0.2.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: poi-3.0.2.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/poi/poi-3.0.2.ebuild,v 1.1 2008/02/06 18:23:27 fordfrog Exp $ |
50 |
|
51 |
EAPI=1 |
52 |
JAVA_PKG_IUSE="doc examples source" |
53 |
inherit java-pkg-2 java-ant-2 |
54 |
|
55 |
DESCRIPTION="Java API To Access Microsoft Format Files" |
56 |
HOMEPAGE="http://jakarta.apache.org/poi/" |
57 |
RELEASE_DATE="20080204" |
58 |
SRC_URI="mirror://apache/poi/release/src/${PN}-src-${PV}-FINAL-${RELEASE_DATE}.tar.gz" |
59 |
|
60 |
LICENSE="Apache-2.0" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
63 |
IUSE="test" |
64 |
|
65 |
COMMON_DEPEND=" |
66 |
>=dev-java/commons-beanutils-1.7:1.7 |
67 |
>=dev-java/commons-lang-2.1:2.1 |
68 |
>=dev-java/commons-logging-1.1" |
69 |
RDEPEND=">=virtual/jre-1.4 |
70 |
${COMMON_DEPEND}" |
71 |
DEPEND=">=virtual/jdk-1.4 |
72 |
${COMMON_DEPEND} |
73 |
test? ( dev-java/ant-junit )" |
74 |
|
75 |
S=${WORKDIR}/${P}-FINAL |
76 |
|
77 |
src_unpack() { |
78 |
unpack ${A} |
79 |
|
80 |
cd "${S}" |
81 |
# Patch that adds unofficial support for detection whether cell is |
82 |
# date/time format till upstream solves that |
83 |
#epatch "${FILESDIR}/${P}-src-isDateFormat.patch" |
84 |
|
85 |
find -name "*.jar" | xargs rm -v |
86 |
|
87 |
cd "${S}/lib" |
88 |
java-pkg_jar-from commons-logging commons-logging.jar commons-logging-1.1.jar |
89 |
use test && java-pkg_jar-from --build-only junit junit.jar junit-3.8.1.jar |
90 |
|
91 |
cd "${S}/src/contrib/lib" |
92 |
java-pkg_jar-from commons-beanutils-1.7 commons-beanutils.jar commons-beanutils-1.7.0.jar |
93 |
java-pkg_jar-from commons-lang-2.1 commons-lang.jar commons-lang-2.1.jar |
94 |
|
95 |
java-pkg_filter-compiler jikes |
96 |
} |
97 |
|
98 |
src_compile() { |
99 |
# the same target compiles the source and the test so we just mess with |
100 |
# the source directory |
101 |
eant jar $(use_doc javadocs) -Ddisconnected=true \ |
102 |
$(use !test && echo -Dmain.src.test=legal -Dscratchpad.src.test=legal) |
103 |
} |
104 |
|
105 |
src_test() { |
106 |
ANT_TASKS="ant-junit" eant test -Ddisconnected=true |
107 |
} |
108 |
|
109 |
src_install() { |
110 |
use doc && java-pkg_dojavadoc build/tmp/site/build/site/* |
111 |
use examples && java-pkg_doexamples src/examples/* src/scratchpad/examples/* |
112 |
use source && java-pkg_dosrc src/contrib/src/org src/java/org src/scratchpad/src/org |
113 |
|
114 |
cd build/dist |
115 |
local VERSION=$(get_version_component_range 1-2) |
116 |
java-pkg_newjar poi-scratchpad-${VERSION}* ${PN}-scratchpad.jar |
117 |
java-pkg_newjar poi-contrib-${VERSION}* ${PN}-contrib.jar |
118 |
java-pkg_newjar poi-${VERSION}* ${PN}.jar |
119 |
} |
120 |
|
121 |
|
122 |
|
123 |
-- |
124 |
gentoo-commits@l.g.o mailing list |