From: | "Miroslav Sulc (fordfrog)" <fordfrog@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-java/commons-io: ChangeLog commons-io-1.4.ebuild |
Date: | Wed, 06 Feb 2008 14:46:15 |
Message-Id: | E1JMlXQ-0006bt-Sj@stork.gentoo.org |
1 | fordfrog 08/02/06 14:46:12 |
2 | |
3 | Modified: ChangeLog |
4 | Added: commons-io-1.4.ebuild |
5 | Log: |
6 | Version bump |
7 | (Portage version: 2.1.4.1) |
8 | |
9 | Revision Changes Path |
10 | 1.40 dev-java/commons-io/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/commons-io/ChangeLog?rev=1.40&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/commons-io/ChangeLog?rev=1.40&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/commons-io/ChangeLog?r1=1.39&r2=1.40 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-java/commons-io/ChangeLog,v |
19 | retrieving revision 1.39 |
20 | retrieving revision 1.40 |
21 | diff -u -r1.39 -r1.40 |
22 | --- ChangeLog 25 Nov 2007 09:33:28 -0000 1.39 |
23 | +++ ChangeLog 6 Feb 2008 14:46:12 -0000 1.40 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-java/commons-io |
26 | -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-io/ChangeLog,v 1.39 2007/11/25 09:33:28 nelchael Exp $ |
28 | +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-io/ChangeLog,v 1.40 2008/02/06 14:46:12 fordfrog Exp $ |
30 | + |
31 | +*commons-io-1.4 (06 Feb 2008) |
32 | + |
33 | + 06 Feb 2008; Miroslav Ć ulc <fordfrog@g.o> +commons-io-1.4.ebuild: |
34 | + Version bump |
35 | |
36 | 25 Nov 2007; Krzysiek Pawlik <nelchael@g.o> |
37 | commons-io-1.3.2.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 dev-java/commons-io/commons-io-1.4.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/commons-io/commons-io-1.4.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/commons-io/commons-io-1.4.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: commons-io-1.4.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2008 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-java/commons-io/commons-io-1.4.ebuild,v 1.1 2008/02/06 14:46:12 fordfrog Exp $ |
51 | |
52 | JAVA_PKG_IUSE="doc source" |
53 | |
54 | inherit java-pkg-2 java-ant-2 eutils |
55 | |
56 | MY_P="${P}-src" |
57 | DESCRIPTION="Commons-IO contains utility classes, stream implementations, file filters, and endian classes." |
58 | HOMEPAGE="http://jakarta.apache.org/commons/io" |
59 | SRC_URI="mirror://apache/commons/io/source/${MY_P}.tar.gz" |
60 | |
61 | LICENSE="Apache-2.0" |
62 | SLOT="1" |
63 | KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd" |
64 | IUSE="test" |
65 | |
66 | DEPEND=">=virtual/jdk-1.4 |
67 | test? ( dev-java/ant-junit )" |
68 | RDEPEND=">=virtual/jre-1.4" |
69 | |
70 | S="${WORKDIR}/${MY_P}" |
71 | |
72 | src_unpack() { |
73 | unpack ${A} |
74 | cd "${S}" |
75 | java-ant_ignore-system-classes |
76 | java-ant_rewrite-classpath |
77 | # Setting java.io.tmpdir doesn't have effect unless we do this because the |
78 | # vm is forked |
79 | java-ant_xml-rewrite -f build.xml --change -e junit -a clonevm -v "true" |
80 | } |
81 | |
82 | EANT_EXTRA_ARGS="-Duser.home=${T}" |
83 | |
84 | src_test() { |
85 | if has userpriv ${FEATURES}; then |
86 | ANT_OPTS="-Djava.io.tmpdir=${T} -Duser.home=${T}" \ |
87 | ANT_TASKS="ant-junit" \ |
88 | eant test \ |
89 | -Dgentoo.classpath="$(java-pkg_getjars junit)" \ |
90 | -Dlibdir="libdir" \ |
91 | -Djava.io.tmpdir="${T}" |
92 | else |
93 | elog "Tests fail unless userpriv is enabled because they test for" |
94 | elog "file permissions which doesn't work when run as root." |
95 | fi |
96 | } |
97 | |
98 | src_install() { |
99 | java-pkg_newjar target/${P}.jar ${PN}.jar |
100 | |
101 | dodoc RELEASE-NOTES.txt NOTICE.txt || die |
102 | use doc && java-pkg_dojavadoc target/apidocs |
103 | use source && java-pkg_dosrc src/java/* |
104 | } |
105 | |
106 | |
107 | |
108 | -- |
109 | gentoo-commits@l.g.o mailing list |