1 |
fordfrog 08/11/22 16:50:31 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: httpunit-1.6.2-r3.ebuild |
5 |
Removed: httpunit-1.6.2-r2.ebuild |
6 |
Log: |
7 |
httpunit now depends on the latest rhino (slot 1.6) |
8 |
(Portage version: 2.2_rc14/cvs/Linux 2.6.27-gentoo x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 dev-java/httpunit/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/httpunit/ChangeLog?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/httpunit/ChangeLog?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/httpunit/ChangeLog?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/httpunit/ChangeLog,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- ChangeLog 16 Nov 2008 16:15:14 -0000 1.1 |
24 |
+++ ChangeLog 22 Nov 2008 16:50:31 -0000 1.2 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-java/httpunit |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/httpunit/ChangeLog,v 1.1 2008/11/16 16:15:14 fordfrog Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/httpunit/ChangeLog,v 1.2 2008/11/22 16:50:31 fordfrog Exp $ |
30 |
+ |
31 |
+*httpunit-1.6.2-r3 (22 Nov 2008) |
32 |
+ |
33 |
+ 22 Nov 2008; Miroslav Ć ulc <fordfrog@g.o> |
34 |
+ -httpunit-1.6.2-r2.ebuild, +httpunit-1.6.2-r3.ebuild: |
35 |
+ httpunit now depends on the latest rhino (slot 1.6) |
36 |
|
37 |
*httpunit-1.6.2-r2 (16 Nov 2008) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-java/httpunit/httpunit-1.6.2-r3.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/httpunit/httpunit-1.6.2-r3.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/httpunit/httpunit-1.6.2-r3.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: httpunit-1.6.2-r3.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/httpunit/httpunit-1.6.2-r3.ebuild,v 1.1 2008/11/22 16:50:31 fordfrog Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
inherit java-pkg-2 java-ant-2 |
55 |
|
56 |
DESCRIPTION="HttpUnit emulates the relevant portions of browser behavior." |
57 |
HOMEPAGE="http://httpunit.sourceforge.net/" |
58 |
# TODO what is metainf for? |
59 |
# TODO where did it come from? |
60 |
SRC_URI="mirror://sourceforge/${PN}/${P}.zip" |
61 |
|
62 |
LICENSE="as-is" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
IUSE="doc" |
66 |
|
67 |
CDEPEND=" |
68 |
>=dev-java/junit-3.8:0 |
69 |
dev-java/rhino:1.6 |
70 |
dev-java/jtidy:0 |
71 |
java-virtuals/servlet-api:2.3 |
72 |
dev-java/xerces:2" |
73 |
|
74 |
RDEPEND=">=virtual/jre-1.5 |
75 |
${CDEPEND}" |
76 |
DEPEND=">=virtual/jdk-1.5 |
77 |
${CDEPEND}" |
78 |
|
79 |
src_unpack() { |
80 |
unpack ${A} |
81 |
find "${S}" -name "*.jar" | xargs rm -v |
82 |
cd "${S}" |
83 |
epatch "${FILESDIR}/rhino-fix-${PV}.diff" |
84 |
cd "${S}/jars" |
85 |
java-pkg_jar-from junit,rhino-1.6,xerces-2,jtidy,servlet-api-2.3 |
86 |
} |
87 |
|
88 |
src_compile() { |
89 |
java-pkg_filter-compiler jikes |
90 |
eant clean jar $(use_doc javadocs) |
91 |
} |
92 |
|
93 |
src_install() { |
94 |
java-pkg_dojar "lib/${PN}.jar" |
95 |
dodoc doc/*.txt |
96 |
if use doc; then |
97 |
dohtml -r doc/manual doc/tutorial |
98 |
java-pkg_dojavadoc doc/api |
99 |
fi |
100 |
} |