summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-03-16 16:59:03 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-03-16 16:59:03 +0000
commiteb12835ac4d51b2cba8f8fcde0630d252c2c319e (patch)
tree774b0072d77731058b89c1e8a94f491e51069e59 /dev-java
parentUpdate SRC_URI (diff)
downloadgentoo-2-eb12835ac4d51b2cba8f8fcde0630d252c2c319e.tar.gz
gentoo-2-eb12835ac4d51b2cba8f8fcde0630d252c2c319e.tar.bz2
gentoo-2-eb12835ac4d51b2cba8f8fcde0630d252c2c319e.zip
xmlunit now make use of java-pkg_dosrc
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/xmlunit/ChangeLog6
-rw-r--r--dev-java/xmlunit/files/xmlunit-1.0-gentoo.patch12
-rw-r--r--dev-java/xmlunit/xmlunit-1.0.ebuild6
3 files changed, 11 insertions, 13 deletions
diff --git a/dev-java/xmlunit/ChangeLog b/dev-java/xmlunit/ChangeLog
index 39f951a3044b..e64c181c2e6c 100644
--- a/dev-java/xmlunit/ChangeLog
+++ b/dev-java/xmlunit/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/xmlunit
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/ChangeLog,v 1.2 2005/02/18 16:03:55 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/ChangeLog,v 1.3 2005/03/16 16:59:03 luckyduck Exp $
+
+ 16 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org>
+ files/xmlunit-1.0-gentoo.patch, xmlunit-1.0.ebuild:
+ xmlunit now make use of java-pkg_dosrc
18 Feb 2005; Jan Brinkmann <luckyduck@gentoo.org> xmlunit-1.0.ebuild:
stable on amd64 and x86.
diff --git a/dev-java/xmlunit/files/xmlunit-1.0-gentoo.patch b/dev-java/xmlunit/files/xmlunit-1.0-gentoo.patch
index 6589f75de598..12fdf3c65155 100644
--- a/dev-java/xmlunit/files/xmlunit-1.0-gentoo.patch
+++ b/dev-java/xmlunit/files/xmlunit-1.0-gentoo.patch
@@ -1,5 +1,6 @@
---- build.xml.orig 2004-12-23 19:06:16.941491664 +0100
-+++ build.xml 2004-12-23 19:56:58.669078784 +0100
+diff -uprN xmlunit.orig/build.xml xmlunit/build.xml
+--- xmlunit.orig/build.xml 2005-03-16 17:52:33.874787320 +0100
++++ xmlunit/build.xml 2005-03-16 17:52:59.151944608 +0100
@@ -25,7 +25,7 @@
<target name="compile" depends="init">
@@ -18,14 +19,9 @@
basedir="${out.dir}"
excludes="**/test_*.class"
/>
-@@ -138,4 +138,9 @@
+@@ -138,4 +138,4 @@
<delete file="${dist.name}-src.tar" />
</target>
-</project>
-+ <target name="sourcezip">
-+ <zip destfile="xmlunit-src.zip">
-+ <zipfileset dir="${src.dir}/java" />
-+ </zip>
-+ </target>
+ </project>
diff --git a/dev-java/xmlunit/xmlunit-1.0.ebuild b/dev-java/xmlunit/xmlunit-1.0.ebuild
index ed2be8c47162..4ee318c879ce 100644
--- a/dev-java/xmlunit/xmlunit-1.0.ebuild
+++ b/dev-java/xmlunit/xmlunit-1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/xmlunit-1.0.ebuild,v 1.2 2005/02/18 16:03:55 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/xmlunit-1.0.ebuild,v 1.3 2005/03/16 16:59:03 luckyduck Exp $
inherit eutils java-pkg
@@ -36,7 +36,6 @@ src_compile() {
use doc && antflags="${antflags} docs"
use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
use junit && antflags="${antflags} test"
- use source && antflags="${antflags} sourcezip"
ant ${antflags} || die "failed to build"
}
@@ -45,8 +44,7 @@ src_install() {
dodoc LICENSE.txt README.txt
if use source; then
- dodir /usr/share/doc/${PF}/source
- cp ${PN}-src.zip ${D}usr/share/doc/${PF}/source
+ java-pkg_dosrc src/java/*
fi
if use doc; then
java-pkg_dohtml -r doc/*