summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2006-11-30 15:47:48 +0000
committerVlastimil Babka <caster@gentoo.org>2006-11-30 15:47:48 +0000
commit164c88f88cee385df3704d38197195c63b1e4927 (patch)
tree8d6dffd55b11365a2241d0e0278ce5d8829b0932
parentUpdate xerces dep for upcoming 2.6 slotmove. (diff)
downloadgentoo-2-164c88f88cee385df3704d38197195c63b1e4927.tar.gz
gentoo-2-164c88f88cee385df3704d38197195c63b1e4927.tar.bz2
gentoo-2-164c88f88cee385df3704d38197195c63b1e4927.zip
Update xerces dep for upcoming 2.6 slotmove.
(Portage version: 2.1.2_rc2-r3) (Unsigned Manifest commit)
-rw-r--r--dev-java/jaxen/Manifest71
-rw-r--r--dev-java/jaxen/files/digest-jaxen-1.1_beta61
-rw-r--r--dev-java/jaxen/files/digest-jaxen-1.1_beta73
-rw-r--r--dev-java/jaxen/files/digest-jaxen-1.1_beta7-r23
-rw-r--r--dev-java/jaxen/jaxen-1.1_beta6.ebuild57
-rw-r--r--dev-java/jaxen/jaxen-1.1_beta7-r2.ebuild66
-rw-r--r--dev-java/jaxen/jaxen-1.1_beta7.ebuild71
7 files changed, 24 insertions, 248 deletions
diff --git a/dev-java/jaxen/Manifest b/dev-java/jaxen/Manifest
index f917742b5c6b..ec90c1438d9a 100644
--- a/dev-java/jaxen/Manifest
+++ b/dev-java/jaxen/Manifest
@@ -16,41 +16,27 @@ RMD160 cdf9573e0e767ed85705499df3d0a3f658bb2ff3 files/jaxen-1.1_beta2-gentoo.dif
SHA256 0c97dd1c0a1605479882f5327f165aa5f939e32fe313d1b6691527b2f1683a25 files/jaxen-1.1_beta2-gentoo.diff 1254
DIST jaxen-1.0-FCS.tar.gz 3195819 RMD160 896f838c383b6a5d60c4c2fa1271a735992aaa4e SHA1 be658764988717d79b70ccafdd7955ccfba8a25f SHA256 ceb6997465e9de4efe6b4e8f0c421c12bd115b764f9633b9c8b80b95e3b76377
DIST jaxen-1.1-beta-11-src.tar.gz 278622 RMD160 3affa87f175733722ab0bacbae9eb94ca0963daf SHA1 982ff22992da95a19f9a40defea1feb63ee897cb SHA256 4bb00f3317cdc20779d9c08618ca82eb8eb44c7be7fb3811dc6d7f300e52bf67
-DIST jaxen-1.1-beta-2-src.tar.gz 697184
-DIST jaxen-1.1-beta-6-src.tar.gz 243584
-DIST jaxen-1.1-beta-7-src.tar.gz 274435 RMD160 269b2503d0ea243e578b49ec64ae1b73e004ea60 SHA1 94aee495276c935d74b1b3d28142cd86b5f43e61 SHA256 df6ea55b4dc0ce009c6465e52cd762ba3fdc7a36d861ed78a86ea2db0386e3b5
-EBUILD jaxen-1.0-r1.ebuild 1459 RMD160 4e9af9c9b653fd24c1638403d76f6ca42a4e34a5 SHA1 51ec922c2da660d527fc0c3fc70d9b4ce3393920 SHA256 8b9cc5663f872fb58acb56421542b1b476f063f458d887ae6c85925acb5422ee
-MD5 3b2ae2790c06ff2fe436e8961bd275dc jaxen-1.0-r1.ebuild 1459
-RMD160 4e9af9c9b653fd24c1638403d76f6ca42a4e34a5 jaxen-1.0-r1.ebuild 1459
-SHA256 8b9cc5663f872fb58acb56421542b1b476f063f458d887ae6c85925acb5422ee jaxen-1.0-r1.ebuild 1459
-EBUILD jaxen-1.0.ebuild 1390 RMD160 e649d896c880e060f97deb2454c147cd891fe356 SHA1 0c12dd4ffe4c1b1fc84ef9a22c6bd1d9d9e7fbc8 SHA256 75974f2dc2b6dd4b89e41820150887989adedd715d7f68d7de97867f7a4822c6
-MD5 111672d1f03d423782351ec1c5bdca82 jaxen-1.0.ebuild 1390
-RMD160 e649d896c880e060f97deb2454c147cd891fe356 jaxen-1.0.ebuild 1390
-SHA256 75974f2dc2b6dd4b89e41820150887989adedd715d7f68d7de97867f7a4822c6 jaxen-1.0.ebuild 1390
-EBUILD jaxen-1.1_beta11.ebuild 1595 RMD160 219fe0969236ae1d730a07b8f1ebbc3ccddc9b7b SHA1 55116fe928259429967b86ba4501b64e172752fc SHA256 54ee9a6b8ffc649201c0c1f41484535ebebb306cad014cce5ebfde26fd88fa8b
-MD5 9a7e480c093fcd3be389146f40c02947 jaxen-1.1_beta11.ebuild 1595
-RMD160 219fe0969236ae1d730a07b8f1ebbc3ccddc9b7b jaxen-1.1_beta11.ebuild 1595
-SHA256 54ee9a6b8ffc649201c0c1f41484535ebebb306cad014cce5ebfde26fd88fa8b jaxen-1.1_beta11.ebuild 1595
-EBUILD jaxen-1.1_beta2-r1.ebuild 1370 RMD160 dba343dc219e9d04b4e300ff9ea9a5e85d31fb7e SHA1 88762cbf857e4de27885ad26a725c0545ee7dbb0 SHA256 4f2e17e259805ba890dc23e78b1d7d150abf5619ca9c151c2331ca98d01ce7fd
-MD5 17801590037e01f8fd3944ec7a621b78 jaxen-1.1_beta2-r1.ebuild 1370
-RMD160 dba343dc219e9d04b4e300ff9ea9a5e85d31fb7e jaxen-1.1_beta2-r1.ebuild 1370
-SHA256 4f2e17e259805ba890dc23e78b1d7d150abf5619ca9c151c2331ca98d01ce7fd jaxen-1.1_beta2-r1.ebuild 1370
-EBUILD jaxen-1.1_beta6.ebuild 1383 RMD160 23466ce7b450bd6cc50a3ef6e4c30f4904ea74d2 SHA1 9702cf0333f4f4b8f33c314fd652e4fc90a4e8dc SHA256 e4f8aa662c3a961b360dc3fc917c66ce4d67538c22d58732c3e77c4383de5bc6
-MD5 eb7dc4ef224c88b3e03aeae202e62065 jaxen-1.1_beta6.ebuild 1383
-RMD160 23466ce7b450bd6cc50a3ef6e4c30f4904ea74d2 jaxen-1.1_beta6.ebuild 1383
-SHA256 e4f8aa662c3a961b360dc3fc917c66ce4d67538c22d58732c3e77c4383de5bc6 jaxen-1.1_beta6.ebuild 1383
-EBUILD jaxen-1.1_beta7-r2.ebuild 1504 RMD160 a0f18a1abbf1642726dc34aeee1430da8fe671ef SHA1 d2111bb4c805bb936562e3a0efbbbdc4ef99be9d SHA256 85ba04d5cc91056e46ba9def71470c34adb48217a0abaa915265af15f64fa1ef
-MD5 eeddad8135053dca56adfc77da9d6eb1 jaxen-1.1_beta7-r2.ebuild 1504
-RMD160 a0f18a1abbf1642726dc34aeee1430da8fe671ef jaxen-1.1_beta7-r2.ebuild 1504
-SHA256 85ba04d5cc91056e46ba9def71470c34adb48217a0abaa915265af15f64fa1ef jaxen-1.1_beta7-r2.ebuild 1504
-EBUILD jaxen-1.1_beta7.ebuild 1659 RMD160 6d471421fe596e495174889fb1ef2355adde2286 SHA1 fd551dbda4b7a64237620e4a3b35ff07132ea750 SHA256 88423c996c11879fd443b99f2e40ca3ee1910fd30f793af00b80b34f1e1c0287
-MD5 d90d457711b37f8bbb6e4c44ee02250b jaxen-1.1_beta7.ebuild 1659
-RMD160 6d471421fe596e495174889fb1ef2355adde2286 jaxen-1.1_beta7.ebuild 1659
-SHA256 88423c996c11879fd443b99f2e40ca3ee1910fd30f793af00b80b34f1e1c0287 jaxen-1.1_beta7.ebuild 1659
-MISC ChangeLog 4538 RMD160 84f1741542873e10f5da392c50c11cf799223dbf SHA1 5ad777134dfeccff8ee3c36552862bd1bbd05de6 SHA256 d64b0bdafdb86772a34fe66b8c1ea05bdeb27f0cbb7e617c52f61c2caf6704f8
-MD5 0887560ff558b5a8e93be1745d07d969 ChangeLog 4538
-RMD160 84f1741542873e10f5da392c50c11cf799223dbf ChangeLog 4538
-SHA256 d64b0bdafdb86772a34fe66b8c1ea05bdeb27f0cbb7e617c52f61c2caf6704f8 ChangeLog 4538
+DIST jaxen-1.1-beta-2-src.tar.gz 697184 RMD160 23594b3ec65a306826fe8b38bd16ee62c298764b SHA1 6af72689a97a2e0108633767cfee4cbd9a9b4e3d SHA256 47d299f88cc7df0aedfd678f524de9c1028d727dc1aea1d663bce0ca38c76805
+EBUILD jaxen-1.0-r1.ebuild 1452 RMD160 3b8bb72397c622cd59a1a8ac35fb1921b04928ef SHA1 4a6e2a65a26b2c686cf0bc5933ba45349b1ab557 SHA256 dba3cacf4aec354c9ae3772bffa1e076a55a2df6af39b43c8192de9e54635def
+MD5 be8e679bbc29adaea89123695f5459e9 jaxen-1.0-r1.ebuild 1452
+RMD160 3b8bb72397c622cd59a1a8ac35fb1921b04928ef jaxen-1.0-r1.ebuild 1452
+SHA256 dba3cacf4aec354c9ae3772bffa1e076a55a2df6af39b43c8192de9e54635def jaxen-1.0-r1.ebuild 1452
+EBUILD jaxen-1.0.ebuild 1385 RMD160 570a99688c1c21df6e0189fd33286073f441f952 SHA1 76101a9f3dbe1e0a8c4a111c860085dfdc9eff69 SHA256 de0ae3caae519f1bd096127c47189d0e7505cca967bf5f4c0b2ee7049aaef058
+MD5 bc29a0197dc64de2d5fec67231cbe25a jaxen-1.0.ebuild 1385
+RMD160 570a99688c1c21df6e0189fd33286073f441f952 jaxen-1.0.ebuild 1385
+SHA256 de0ae3caae519f1bd096127c47189d0e7505cca967bf5f4c0b2ee7049aaef058 jaxen-1.0.ebuild 1385
+EBUILD jaxen-1.1_beta11.ebuild 1595 RMD160 f08b9c80d20ba961d09b3597be4256dabea47fb2 SHA1 bc9cca5adc2a911ce900919d42de33828d90dca3 SHA256 a3932470a310ce8cc3308042f5a753413f4d641fff895cbd3c47a771285a7529
+MD5 36377c0a6211b0f2b260db242d14a8f9 jaxen-1.1_beta11.ebuild 1595
+RMD160 f08b9c80d20ba961d09b3597be4256dabea47fb2 jaxen-1.1_beta11.ebuild 1595
+SHA256 a3932470a310ce8cc3308042f5a753413f4d641fff895cbd3c47a771285a7529 jaxen-1.1_beta11.ebuild 1595
+EBUILD jaxen-1.1_beta2-r1.ebuild 1363 RMD160 c6c8cdb101314e55efe622abb9dc12268f9a6982 SHA1 ea95d08319a928938b885346f88f6b6b0fe6a742 SHA256 4825dfa4c77c61e6b9673a2b36e837d1b5276ccf94b587a59248b42feef60e2c
+MD5 1ccc55bcd164ce25f674d33327bd26bc jaxen-1.1_beta2-r1.ebuild 1363
+RMD160 c6c8cdb101314e55efe622abb9dc12268f9a6982 jaxen-1.1_beta2-r1.ebuild 1363
+SHA256 4825dfa4c77c61e6b9673a2b36e837d1b5276ccf94b587a59248b42feef60e2c jaxen-1.1_beta2-r1.ebuild 1363
+MISC ChangeLog 4812 RMD160 8376149394c99c3e6e43be48c35fb06c1fedf708 SHA1 96163b912c589d1d0bcbf5450ef0e28d26ab9584 SHA256 1d30137717c1e803067df0425085e59ff57887ec6ff5db699efef2f904964142
+MD5 ba0306ed515b57038737a54027cb641e ChangeLog 4812
+RMD160 8376149394c99c3e6e43be48c35fb06c1fedf708 ChangeLog 4812
+SHA256 1d30137717c1e803067df0425085e59ff57887ec6ff5db699efef2f904964142 ChangeLog 4812
MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb
MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158
RMD160 493079b5fb71d66863beea1b023901c90ba81be5 metadata.xml 158
@@ -64,15 +50,6 @@ SHA256 795494b6d600e313c902d66354a0c912edf141aad66bc1ea1cd1b79226d8dc2c files/di
MD5 7adbf7607e0cfcb289c1bbb8bebd209c files/digest-jaxen-1.1_beta11 265
RMD160 09ab1ae7755f945d46716b8ecf32f72990bad37e files/digest-jaxen-1.1_beta11 265
SHA256 f6008e1c28fe45f964cbad161762be82e4e19dd7f7cf4395e9fb2e87044a90eb files/digest-jaxen-1.1_beta11 265
-MD5 7155bee4486dae1d29f03ce768a5a36e files/digest-jaxen-1.1_beta2-r1 72
-RMD160 d1a5f2f1a56f7e84c22bec2d4b84d680ef1f78a6 files/digest-jaxen-1.1_beta2-r1 72
-SHA256 7dfd0ad3cdb89340711e7daa354eafed3a6e5054798645ba498560444bd6cda8 files/digest-jaxen-1.1_beta2-r1 72
-MD5 a6ab57e343fb58a0af99d74124df491d files/digest-jaxen-1.1_beta6 72
-RMD160 159e14619fcd1b3046f8f45f5b0fd2105b9a1075 files/digest-jaxen-1.1_beta6 72
-SHA256 5191f2b0724275382cc02c601cd436ea2d7cb83c0015b6c7457007456d795a12 files/digest-jaxen-1.1_beta6 72
-MD5 d2a450356a590d9faf42b0dc513039b6 files/digest-jaxen-1.1_beta7 262
-RMD160 9de7cd1a94ff911c0f08329daa54c34b2db6f706 files/digest-jaxen-1.1_beta7 262
-SHA256 da127b213944d1a75ee7891c77879bd4f46e3acbb71173aa50c0bdc5defb9420 files/digest-jaxen-1.1_beta7 262
-MD5 d2a450356a590d9faf42b0dc513039b6 files/digest-jaxen-1.1_beta7-r2 262
-RMD160 9de7cd1a94ff911c0f08329daa54c34b2db6f706 files/digest-jaxen-1.1_beta7-r2 262
-SHA256 da127b213944d1a75ee7891c77879bd4f46e3acbb71173aa50c0bdc5defb9420 files/digest-jaxen-1.1_beta7-r2 262
+MD5 4e65d8e93483879da1007077ec7acac1 files/digest-jaxen-1.1_beta2-r1 262
+RMD160 aa35942e46fe4342f0530586a3faf5d7614196d7 files/digest-jaxen-1.1_beta2-r1 262
+SHA256 4b616dbf43a845e16be018a27094e1924e80c447de218f0f90a23e52e918dc77 files/digest-jaxen-1.1_beta2-r1 262
diff --git a/dev-java/jaxen/files/digest-jaxen-1.1_beta6 b/dev-java/jaxen/files/digest-jaxen-1.1_beta6
deleted file mode 100644
index 1aa8b10b96b6..000000000000
--- a/dev-java/jaxen/files/digest-jaxen-1.1_beta6
+++ /dev/null
@@ -1 +0,0 @@
-MD5 8691d0ee0ea86e08ab3a264730d051f8 jaxen-1.1-beta-6-src.tar.gz 243584
diff --git a/dev-java/jaxen/files/digest-jaxen-1.1_beta7 b/dev-java/jaxen/files/digest-jaxen-1.1_beta7
deleted file mode 100644
index a562287121e5..000000000000
--- a/dev-java/jaxen/files/digest-jaxen-1.1_beta7
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 2e90bb426e52984f4dc942427015a757 jaxen-1.1-beta-7-src.tar.gz 274435
-RMD160 269b2503d0ea243e578b49ec64ae1b73e004ea60 jaxen-1.1-beta-7-src.tar.gz 274435
-SHA256 df6ea55b4dc0ce009c6465e52cd762ba3fdc7a36d861ed78a86ea2db0386e3b5 jaxen-1.1-beta-7-src.tar.gz 274435
diff --git a/dev-java/jaxen/files/digest-jaxen-1.1_beta7-r2 b/dev-java/jaxen/files/digest-jaxen-1.1_beta7-r2
deleted file mode 100644
index a562287121e5..000000000000
--- a/dev-java/jaxen/files/digest-jaxen-1.1_beta7-r2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 2e90bb426e52984f4dc942427015a757 jaxen-1.1-beta-7-src.tar.gz 274435
-RMD160 269b2503d0ea243e578b49ec64ae1b73e004ea60 jaxen-1.1-beta-7-src.tar.gz 274435
-SHA256 df6ea55b4dc0ce009c6465e52cd762ba3fdc7a36d861ed78a86ea2db0386e3b5 jaxen-1.1-beta-7-src.tar.gz 274435
diff --git a/dev-java/jaxen/jaxen-1.1_beta6.ebuild b/dev-java/jaxen/jaxen-1.1_beta6.ebuild
deleted file mode 100644
index afefbc255b5a..000000000000
--- a/dev-java/jaxen/jaxen-1.1_beta6.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/jaxen-1.1_beta6.ebuild,v 1.5 2006/10/05 17:23:40 gustavoz Exp $
-
-inherit java-pkg eutils
-
-DESCRIPTION="A Java XPath Engine"
-HOMEPAGE="http://jaxen.org/"
-SRC_URI="http://dist.codehaus.org/${PN}/distributions/${P/_beta6/-beta-6}-src.tar.gz"
-
-LICENSE="jaxen"
-SLOT="1.1"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc jikes source"
-
-RDEPEND="|| ( =virtual/jre-1.3* =virtual/jre-1.4* )
- ~dev-java/jdom-1.0_beta9
- =dev-java/dom4j-1*
- >=dev-java/xerces-2.6
- dev-java/xom"
-
-DEPEND="|| ( =virtual/jdk-1.3* =virtual/jdk-1.4* )
- dev-java/ant-core
- jikes? ( dev-java/jikes )
- source? ( app-arch/zip )
- ${RDEPEND}"
-
-
-S=${WORKDIR}/${PN}-1.1-beta-6
-
-src_unpack() {
- unpack ${A}
-
- mkdir -p ${S}/target/lib
- cd ${S}/target/lib
- java-pkg_jar-from xerces-2
- java-pkg_jar-from dom4j-1
- java-pkg_jar-from jdom-1.0_beta9
- java-pkg_jar-from xom
-
- cd ${S}
- sed -i 's/depends="compile,test"/depends="compile"/' build.xml
-}
-
-src_compile() {
- local antops="jar -Dnoget=1"
- use doc && antops="${antops} javadoc"
- use jikes && antops="${antops} -Dbuild.compiler=jikes"
- ant ${antops} || die "compile failed"
-}
-
-src_install() {
- java-pkg_newjar target/jaxen*.jar ${PN}.jar
-
- use doc && java-pkg_dohtml -r dist/docs/*
- use source && java-pkg_dosrc src/java/main/*
-}
diff --git a/dev-java/jaxen/jaxen-1.1_beta7-r2.ebuild b/dev-java/jaxen/jaxen-1.1_beta7-r2.ebuild
deleted file mode 100644
index 2b230928f0e5..000000000000
--- a/dev-java/jaxen/jaxen-1.1_beta7-r2.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/jaxen-1.1_beta7-r2.ebuild,v 1.2 2006/10/05 17:23:40 gustavoz Exp $
-
-inherit java-pkg-2 eutils java-ant-2
-
-MY_P=${P/_beta/-beta-}
-DESCRIPTION="A Java XPath Engine"
-HOMEPAGE="http://jaxen.org/"
-SRC_URI="http://dist.codehaus.org/${PN}/distributions/${MY_P}-src.tar.gz"
-
-LICENSE="jaxen"
-SLOT="1.1"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc source test"
-
-RDEPEND="|| ( =virtual/jre-1.3* =virtual/jre-1.4* )
- ~dev-java/jdom-1.0
- =dev-java/dom4j-1*
- >=dev-java/xerces-2.6
- dev-java/xom"
-
-DEPEND="|| ( =virtual/jdk-1.3* =virtual/jdk-1.4* )
- dev-java/ant-core
- test? ( dev-java/ant-tasks )
- source? ( app-arch/zip )
- ${RDEPEND}"
-
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
-
- mkdir -p ${S}/target/lib
- cd ${S}/target/lib
- java-pkg_jar-from xerces-2
- java-pkg_jar-from dom4j-1
- java-pkg_jar-from jdom-1.0
- java-pkg_jar-from xom
-
- cd ${S}
- # Make tests non-compuslatory
- sed -i 's/depends="compile,test"/depends="compile"/' build.xml
-}
-
-src_compile() {
- eant jar -Dnoget=1 $(use_doc)
-}
-
-src_install() {
- java-pkg_newjar target/${MY_P}-SNAPSHOT.jar ${PN}.jar
-
- use doc && java-pkg_dohtml -r dist/docs/*
- use source && java-pkg_dosrc src/java/main/*
-}
-
-src_test() {
- if ! use test; then
- ewarn "You must be using the 'test' USE flag in order to"
- ewarn "get the dependencies to run tests."
- ewarn "Skipping tests..."
- else
- eant test -Dnoget=true
- fi
-}
diff --git a/dev-java/jaxen/jaxen-1.1_beta7.ebuild b/dev-java/jaxen/jaxen-1.1_beta7.ebuild
deleted file mode 100644
index 052ca1455f28..000000000000
--- a/dev-java/jaxen/jaxen-1.1_beta7.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/jaxen-1.1_beta7.ebuild,v 1.4 2006/10/05 17:23:40 gustavoz Exp $
-
-inherit java-pkg eutils
-
-MY_P=${P/_beta/-beta-}
-DESCRIPTION="A Java XPath Engine"
-HOMEPAGE="http://jaxen.org/"
-SRC_URI="http://dist.codehaus.org/${PN}/distributions/${MY_P}-src.tar.gz"
-
-LICENSE="jaxen"
-SLOT="1.1"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc jikes source test"
-
-RDEPEND=">=virtual/jre-1.3
- ~dev-java/jdom-1.0
- =dev-java/dom4j-1*
- >=dev-java/xerces-2.6
- dev-java/xom"
-
-DEPEND=">=virtual/jdk-1.3
- dev-java/ant-core
- jikes? ( dev-java/jikes )
- test? ( dev-java/ant-tasks )
- source? ( app-arch/zip )
- ${RDEPEND}"
-
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
-
- mkdir -p ${S}/target/lib
- cd ${S}/target/lib
- java-pkg_jar-from xerces-2
- java-pkg_jar-from dom4j-1
- java-pkg_jar-from jdom-1.0
- java-pkg_jar-from xom
-
- cd ${S}
- # Make tests non-compuslatory
- sed -i 's/depends="compile,test"/depends="compile"/' build.xml
-}
-
-src_compile() {
- local antops="jar -Dnoget=true"
- use doc && antops="${antops} javadoc"
- use jikes && antops="${antops} -Dbuild.compiler=jikes"
- ant ${antops} || die "compile failed"
-}
-
-src_install() {
- java-pkg_newjar target/${MY_P}-SNAPSHOT.jar ${PN}.jar
-
- use doc && java-pkg_dohtml -r dist/docs/*
- use source && java-pkg_dosrc src/java/main/*
-}
-
-src_test() {
- if ! use test; then
- ewarn "You must be using the 'test' USE flag in order to"
- ewarn "get the dependencies to run tests."
- ewarn "Skipping tests..."
- else
- local antflags="test -Dnoget=true"
- ant ${antflags} || die "tests failed"
- fi
-}