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/xmlunit: xmlunit-1.4.ebuild ChangeLog
Date: Wed, 28 Aug 2013 22:42:04
Message-Id: 20130828224155.B28942004C@flycatcher.gentoo.org
1 tomwij 13/08/28 22:41:55
2
3 Modified: ChangeLog
4 Added: xmlunit-1.4.ebuild
5 Log:
6 Version bump to 1.4, cleaned ebuild up a bit and removed restriction on tests as they work again properly; upstream also appears to have fixed download during compilation bug #403851.
7
8 (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
9
10 Revision Changes Path
11 1.21 dev-java/xmlunit/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xmlunit/ChangeLog?rev=1.21&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xmlunit/ChangeLog?rev=1.21&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xmlunit/ChangeLog?r1=1.20&r2=1.21
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-java/xmlunit/ChangeLog,v
20 retrieving revision 1.20
21 retrieving revision 1.21
22 diff -u -r1.20 -r1.21
23 --- ChangeLog 5 Apr 2010 23:52:25 -0000 1.20
24 +++ ChangeLog 28 Aug 2013 22:41:55 -0000 1.21
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-java/xmlunit
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/ChangeLog,v 1.20 2010/04/05 23:52:25 caster Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/ChangeLog,v 1.21 2013/08/28 22:41:55 tomwij Exp $
31 +
32 +*xmlunit-1.4 (28 Aug 2013)
33 +
34 + 28 Aug 2013; Tom Wijsman <TomWij@g.o> +xmlunit-1.4.ebuild:
35 + Version bump to 1.4, cleaned ebuild up a bit and removed restriction on tests
36 + as they work again properly; upstream also appears to have fixed download
37 + during compilation bug #403851.
38
39 05 Apr 2010; Vlastimil Babka <caster@g.o> -xmlunit-1.0-r2.ebuild,
40 -files/xmlunit-1.0-gentoo.patch, -files/xmlunit-1.0-r2-build.xml.patch:
41 @@ -80,4 +87,3 @@
42 22 Jan 2005; Jan Brinkmann <luckyduck@g.o> +metadata.xml,
43 +files/xmlunit-1.0-gentoo.patch, +xmlunit-1.0.ebuild:
44 Initial import. Dependency of various new dev-java packages. fixes #75486.
45 -
46
47
48
49 1.1 dev-java/xmlunit/xmlunit-1.4.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xmlunit/xmlunit-1.4.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xmlunit/xmlunit-1.4.ebuild?rev=1.1&content-type=text/plain
53
54 Index: xmlunit-1.4.ebuild
55 ===================================================================
56 # Copyright 1999-2013 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/xmlunit-1.4.ebuild,v 1.1 2013/08/28 22:41:55 tomwij Exp $
59
60 EAPI="5"
61
62 JAVA_PKG_IUSE="doc source test"
63
64 inherit java-pkg-2 java-ant-2
65
66 DESCRIPTION="XMLUnit extends JUnit and NUnit to enable unit testing of XML."
67 SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
68 HOMEPAGE="http://xmlunit.sourceforge.net/"
69
70 LICENSE="BSD"
71 SLOT="1"
72 KEYWORDS="~amd64 ~ppc ~x86"
73
74 CDEPEND="dev-java/junit:0"
75
76 DEPEND=">=virtual/jdk-1.4
77 app-arch/unzip:0
78 doc? ( app-text/docbook-xsl-stylesheets:0 )
79 test? (
80 dev-java/ant-junit:0
81 dev-java/ant-trax:0
82 )
83 ${CDEPEND}"
84
85 RDEPEND=">=virtual/jre-1.4
86 ${CDEPEND}"
87
88 JAVA_ANT_REWRITE_CLASSPATH="true"
89 EANT_GENTOO_CLASSPATH="junit"
90
91 EANT_DOC_TARGET="users-guide-html javadocs"
92 EANT_ANT_TASKS="ant-trax"
93 EANT_EXTRA_ARGS="-Ddb5.xsl=/usr/share/sgml/docbook/xsl-stylesheets"
94
95 src_test() {
96 ANT_TASKS="ant-junit ant-trax" eant test
97 }
98
99 src_install() {
100 java-pkg_newjar "build/lib/${P}.jar"
101
102 dodoc README.txt
103
104 if use doc ; then
105 java-pkg_dojavadoc build/doc/api
106 dohtml build/doc/userguide/html/*
107 fi
108
109 use source && java-pkg_dosrc src/java/org
110 }