Migrated to generation-2.
authorMiroslav Šulc <fordfrog@gentoo.org>
Fri, 9 Feb 2007 23:27:50 +0000 (23:27 +0000)
committerMiroslav Šulc <fordfrog@gentoo.org>
Fri, 9 Feb 2007 23:27:50 +0000 (23:27 +0000)
Package-Manager: portage-2.1.2-r9

dev-java/xmlunit/ChangeLog
dev-java/xmlunit/Manifest
dev-java/xmlunit/files/digest-xmlunit-1.0-r2 [new file with mode: 0644]
dev-java/xmlunit/files/xmlunit-1.0-r2-build.xml.patch [new file with mode: 0644]
dev-java/xmlunit/xmlunit-1.0-r2.ebuild [new file with mode: 0644]

index 79723b26165d03ac87472912b66e7be7e2cb68f0..e238711640efad5b7fbe540ebe4db34a447263f8 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-java/xmlunit
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/ChangeLog,v 1.7 2007/02/09 02:14:37 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/ChangeLog,v 1.8 2007/02/09 23:27:50 fordfrog Exp $
+
+*xmlunit-1.0-r2 (09 Feb 2007)
+
+  09 Feb 2007; Miroslav Šulc <fordfrog@gentoo.org>
+  +files/xmlunit-1.0-r2-build.xml.patch, +xmlunit-1.0-r2.ebuild:
+  Migrated to generation-2.
 
   09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
   Regenerate digest in Manifest2 format.
index f146b4e1716730cd98f42f0af5dc67856710de87..b2bd67458f577fe8e9f55db1408c020ab0061ccf 100644 (file)
@@ -1,23 +1,28 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 AUX xmlunit-1.0-gentoo.patch 993 RMD160 b5361f2cfe6d7455020d8b176abe3ad0358a634a SHA1 a58417b2a6b434029af924432365b389294bde73 SHA256 e4ee42289943b390869d53313161b0820f5864994a3750d740c80e870058fbde
 MD5 24c48410cf4978006c39c967ac7f834c files/xmlunit-1.0-gentoo.patch 993
 RMD160 b5361f2cfe6d7455020d8b176abe3ad0358a634a files/xmlunit-1.0-gentoo.patch 993
 SHA256 e4ee42289943b390869d53313161b0820f5864994a3750d740c80e870058fbde files/xmlunit-1.0-gentoo.patch 993
+AUX xmlunit-1.0-r2-build.xml.patch 980 RMD160 92acd3a877c09592f6e77d9bd00bf932f58255f3 SHA1 57bbe252beb41d98861d5c832de3691391b17997 SHA256 d144de102440d906b58f51bd2cb62a3c6b47530e4177490e0614827e11e98b59
+MD5 b72618dee955ec4bb19f89ffaef685de files/xmlunit-1.0-r2-build.xml.patch 980
+RMD160 92acd3a877c09592f6e77d9bd00bf932f58255f3 files/xmlunit-1.0-r2-build.xml.patch 980
+SHA256 d144de102440d906b58f51bd2cb62a3c6b47530e4177490e0614827e11e98b59 files/xmlunit-1.0-r2-build.xml.patch 980
 DIST xmlunit1.0.zip 421131 RMD160 1cac117a5fb857f052d90731e110ce56f2bf78a1 SHA1 7fc03613f0534ca993c7395f3b964e3099992d5e SHA256 da85e544011fa0499b74ae9363a5130cc34c27a92349521bc4b6f25832ddee81
 EBUILD xmlunit-1.0-r1.ebuild 1250 RMD160 bed7d053046f411be74339d38f52289f7707f672 SHA1 bef85f4da9d2d1b9acd677b281781662aad6ec6f SHA256 db1c831b3c26f4d537f42f2c6e089e7930333a69b68c581d8aff762fb9236ca2
 MD5 24a71de70d3801b3df21fe0af5a80856 xmlunit-1.0-r1.ebuild 1250
 RMD160 bed7d053046f411be74339d38f52289f7707f672 xmlunit-1.0-r1.ebuild 1250
 SHA256 db1c831b3c26f4d537f42f2c6e089e7930333a69b68c581d8aff762fb9236ca2 xmlunit-1.0-r1.ebuild 1250
+EBUILD xmlunit-1.0-r2.ebuild 1491 RMD160 503c0fce484ad96c8a9ad545b54e5955ec7a2c4b SHA1 0da7602c9a75ede013ac1457cd61d99d52e6662c SHA256 f6fbf1663283dcc4986dd0fd12fe62eabab45dd04f56b9b5ea56c6225244674e
+MD5 c37ed8ddc9216df31b19572796bb68c2 xmlunit-1.0-r2.ebuild 1491
+RMD160 503c0fce484ad96c8a9ad545b54e5955ec7a2c4b xmlunit-1.0-r2.ebuild 1491
+SHA256 f6fbf1663283dcc4986dd0fd12fe62eabab45dd04f56b9b5ea56c6225244674e xmlunit-1.0-r2.ebuild 1491
 EBUILD xmlunit-1.0.ebuild 1175 RMD160 5a6d2503b11354b80ef36be27d043cc177c12450 SHA1 e442419d34b0dc6a43c5cb74e28356f27099fa1e SHA256 b271ec3664a9c363f69b086da592e6cfa98ad3d14ee81ec5cbd0194de4cc8cb0
 MD5 53fb32d437d27f621674c54d11157d43 xmlunit-1.0.ebuild 1175
 RMD160 5a6d2503b11354b80ef36be27d043cc177c12450 xmlunit-1.0.ebuild 1175
 SHA256 b271ec3664a9c363f69b086da592e6cfa98ad3d14ee81ec5cbd0194de4cc8cb0 xmlunit-1.0.ebuild 1175
-MISC ChangeLog 1165 RMD160 180894bcfa7dab05d9fc038cb8bf525fb1f0382e SHA1 520e0380595977dc5ae977ae2d41f0c7f54f81c8 SHA256 ca095e5a92edf1a7d18b86f5f93de0d1e2ef23d3965c1873b4f60a5527599acb
-MD5 15f8254dd3fa25bc876b5a5bf9d74ebf ChangeLog 1165
-RMD160 180894bcfa7dab05d9fc038cb8bf525fb1f0382e ChangeLog 1165
-SHA256 ca095e5a92edf1a7d18b86f5f93de0d1e2ef23d3965c1873b4f60a5527599acb ChangeLog 1165
+MISC ChangeLog 1341 RMD160 84db4eb345c4e14d60defecd9c6288b1c26b1b97 SHA1 e1837595a17631b630da2b88e828a1422d6305b8 SHA256 264c4fb59ce6a27d07008998a363a17a5f34fd21578054aff22505260ae502f3
+MD5 53bdb9cbc01a6c341203fafd00c54090 ChangeLog 1341
+RMD160 84db4eb345c4e14d60defecd9c6288b1c26b1b97 ChangeLog 1341
+SHA256 264c4fb59ce6a27d07008998a363a17a5f34fd21578054aff22505260ae502f3 ChangeLog 1341
 MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb
 MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158
 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 metadata.xml 158
@@ -28,10 +33,6 @@ SHA256 20c6a7e029886910f230ef0acdb1d28302f44f4264a1395ff108f1f345049345 files/di
 MD5 3b43d49869dc37b3918541d734ca5621 files/digest-xmlunit-1.0-r1 223
 RMD160 a5e9c3e2a4c5bd35c0a6b02d7fad8f0d6a01d6ed files/digest-xmlunit-1.0-r1 223
 SHA256 20c6a7e029886910f230ef0acdb1d28302f44f4264a1395ff108f1f345049345 files/digest-xmlunit-1.0-r1 223
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
-
-iD8DBQFFy9kTAiZjviIA2XgRAgtnAKC5wxAqgTisxEjJziGBTNsrU2topACgtbxf
-51tB1GeK5E6qBgc32IHzfak=
-=w0Qk
------END PGP SIGNATURE-----
+MD5 3b43d49869dc37b3918541d734ca5621 files/digest-xmlunit-1.0-r2 223
+RMD160 a5e9c3e2a4c5bd35c0a6b02d7fad8f0d6a01d6ed files/digest-xmlunit-1.0-r2 223
+SHA256 20c6a7e029886910f230ef0acdb1d28302f44f4264a1395ff108f1f345049345 files/digest-xmlunit-1.0-r2 223
diff --git a/dev-java/xmlunit/files/digest-xmlunit-1.0-r2 b/dev-java/xmlunit/files/digest-xmlunit-1.0-r2
new file mode 100644 (file)
index 0000000..2889bf7
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 4f03206acc9ed18bc6cc23fd38b4fc82 xmlunit1.0.zip 421131
+RMD160 1cac117a5fb857f052d90731e110ce56f2bf78a1 xmlunit1.0.zip 421131
+SHA256 da85e544011fa0499b74ae9363a5130cc34c27a92349521bc4b6f25832ddee81 xmlunit1.0.zip 421131
diff --git a/dev-java/xmlunit/files/xmlunit-1.0-r2-build.xml.patch b/dev-java/xmlunit/files/xmlunit-1.0-r2-build.xml.patch
new file mode 100644 (file)
index 0000000..c3875cd
--- /dev/null
@@ -0,0 +1,22 @@
+--- build.xml.original 2007-01-30 14:55:01.000000000 +0100
++++ build.xml  2007-01-30 20:12:02.000000000 +0100
+@@ -34,9 +34,9 @@
+     </javac>\r
+   </target>\r
\r
+-  <target name="test" depends="clean,compile">\r
++  <target name="test" depends="compile">\r
+     <mkdir dir="${test.report.dir}"/>\r
+-    <junit printsummary="yes" haltonfailure="no" fork="yes">\r
++    <junit printsummary="yes" haltonfailure="yes" fork="yes">\r
+       <sysproperty key="basedir" value="${basedir}"/>\r
+       <sysproperty key="user.dir" value="${basedir}"/>\r
+       <!--\r
+@@ -78,7 +78,6 @@
+     <mkdir dir="${docs.dir}"/>\r
+     <delete includeEmptyDirs="true" dir="${docs.dir}/org"/>\r
+     <javadoc destdir="${docs.dir}"\r
+-      overview="${src.dir}/java/overview.html"\r
+       windowtitle="XMLUnit Documentation"\r
+       footer="&lt;p&gt;&lt;a href=&quot;http://xmlunit.sourceforge.net/&quot;&gt;XMLUnit&lt;/a&gt; is hosted by sourceforge.net&lt;/p&gt;">\r
+       <group title="XMLUnit v${xmlunit.version}"\r
diff --git a/dev-java/xmlunit/xmlunit-1.0-r2.ebuild b/dev-java/xmlunit/xmlunit-1.0-r2.ebuild
new file mode 100644 (file)
index 0000000..1830457
--- /dev/null
@@ -0,0 +1,56 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/xmlunit-1.0-r2.ebuild,v 1.1 2007/02/09 23:27:50 fordfrog Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="XMLUnit extends JUnit and NUnit to enable unit testing of XML."
+SRC_URI="mirror://sourceforge/${PN}/${P/-/}.zip"
+HOMEPAGE="http://xmlunit.sourceforge.net/"
+LICENSE="BSD"
+SLOT="1"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="test"
+# We depend on jdk-1.4 as tests fail with jdk > 1.4
+# see http://sourceforge.net/tracker/index.php?func=detail&aid=1614984&group_id=23187&atid=377768
+# Also docs cannot be built with jdk > 1.5
+DEPEND="=virtual/jdk-1.4*
+       >=app-arch/unzip-5.50-r1
+       test? (
+               >=dev-java/ant-1.6
+               =dev-java/junit-3.8*
+               dev-java/xalan
+       )
+       !test? ( >=dev-java/ant-core-1.6 )
+       source? ( app-arch/zip )"
+RDEPEND="=virtual/jre-1.4*"
+EANT_BUILD_TARGET="jar"
+EANT_DOC_TARGET="docs"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       epatch ${FILESDIR}/${PN}-${PVR}-build.xml.patch
+       rm -f ${S}/lib/*.jar
+}
+
+src_test() {
+       eant test
+}
+
+src_install() {
+       java-pkg_newjar lib/${PN}${PV}.jar ${PN}.jar
+
+       dodoc README.txt
+       use doc && java-pkg_dojavadoc doc
+       use source && java-pkg_dosrc src/java/*
+}
+
+pkg_postinst() {
+       elog "Please note that ${PN} has some problems with JDKs > 1.4. For details see:"
+       elog "http://sourceforge.net/tracker/index.php?func=detail&aid=1614984&group_id=23187&atid=377768"
+}