summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2015-08-07 23:26:23 +0000
committerSebastian Pipping <sping@gentoo.org>2015-08-07 23:26:23 +0000
commit7e2aa85c08ee3c921eaaf316ec15fd7dfd569705 (patch)
tree1c6ce010e0932fbc70a7061b9af378e6efc88fec
parentdev-java/qdox: Fix file removal path (bug #503918) (diff)
downloadhistorical-7e2aa85c08ee3c921eaaf316ec15fd7dfd569705.tar.gz
historical-7e2aa85c08ee3c921eaaf316ec15fd7dfd569705.tar.bz2
historical-7e2aa85c08ee3c921eaaf316ec15fd7dfd569705.zip
dev-java/qdox: 1.12.1 (bug #503918)
Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0x401A1600
-rw-r--r--dev-java/qdox/ChangeLog7
-rw-r--r--dev-java/qdox/Manifest10
-rw-r--r--dev-java/qdox/qdox-1.12.1.ebuild82
3 files changed, 94 insertions, 5 deletions
diff --git a/dev-java/qdox/ChangeLog b/dev-java/qdox/ChangeLog
index 468b149fc56a..071c1255d0c1 100644
--- a/dev-java/qdox/ChangeLog
+++ b/dev-java/qdox/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/qdox
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/qdox/ChangeLog,v 1.49 2015/08/07 23:12:51 sping Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/qdox/ChangeLog,v 1.50 2015/08/07 23:26:13 sping Exp $
+
+*qdox-1.12.1 (07 Aug 2015)
+
+ 07 Aug 2015; Sebastian Pipping <sping@gentoo.org> +qdox-1.12.1.ebuild:
+ Bump to 1.12.1 (bug #503918)
07 Aug 2015; Sebastian Pipping <sping@gentoo.org> qdox-1.12-r1.ebuild:
Fix file removal path for USE=-test (bug #503918, reported by Andreas
diff --git a/dev-java/qdox/Manifest b/dev-java/qdox/Manifest
index a72d6d04ac36..79866a5db310 100644
--- a/dev-java/qdox/Manifest
+++ b/dev-java/qdox/Manifest
@@ -2,15 +2,17 @@
Hash: SHA256
DIST qdox-1.12-20100531.205010-5-project.tar.gz 519732 SHA256 7ec2a48498f996e35c6bfdbff1dbbb061e51ff16862c4f3c3f12235d30857cca SHA512 b549704c941ac6333f4d96a880c4c05af6793043ad5f3d8adf6352c285507f7748905c57c91261c4171b1e6c3b11bb8e2ecad68a413a5297eebd92ac2d671809 WHIRLPOOL bd560572d5d41f39918237519e7d201bfde30e27e6d4d5d55f543681d833380553df8b062ca3392f9b9b3d185e48ac689dd7492796e9211ef9b21797129d3017
+DIST qdox-1.12.1.tar.gz 519833 SHA256 6c716c013b27d79eff31de59ab69b734d6744c32548549aaf3e6875915172565 SHA512 17ac933854ebd0560921805ea4339c151a7fd095bf8d50d5d71e656afda77ba30efac7926cfcc7543e4a8420b12d1eb75cdd305c50d1c28ad8cd6b0f4d95f5c5 WHIRLPOOL 3e828d430637b18a8c91d273bb26b5ccf26f0f2556639b0af9ed3527eb28bb29de4d2dc8caaf07a0bbadef4001564db67eba63f0440d30e3b83da8f5e209bb41
DIST qdox-1.6.3-sources.jar 63731 SHA256 7ddb3a75c1ab415c631ae39660679630653bbbed84895e5ed4b4775ce5327846 SHA512 0b05620809e3830c7e12c289cd4765f96d845adabc1f09497993bd9f39852784f454eb4aff1deecb325608a5773e86fbb1f5863e0f25387805472b59b46cf965 WHIRLPOOL a57aecd3ccf7537af450dc54da65eb9b49b87b461b5929e36c49f5f40a5344fd84625afda47f6ea2860d65a200b34b7abc751ba377ad4404de4f9ca8a55bc36d
EBUILD qdox-1.12-r1.ebuild 2324 SHA256 1b1986ec606354073d228e553d95198e468872cb4a05370d01e1d152c29a1ade SHA512 10a80405d68ccc545051743659b22b1d681f1bda92d85135209c445a64e82bb08a808847bb57f25a9892234bcffc6d494b2791c1e66f4419325e9a17e1d946d8 WHIRLPOOL 6aba2d319e41e3d94aae724dbb6b785117b6bdd569ac756313b606af6f55720ba6115f1be8a244e4f77f1db3f7994ad4e0cbf95cb7dd759cac29888e88d757d1
+EBUILD qdox-1.12.1.ebuild 2249 SHA256 1459bf9458a409f39b745ee1c1eeb853ee5f104e374f4ab8c3b314055eb430e3 SHA512 808c5a21fdabbc876a1a76797f17ae0978ad1a5084a1ce94b0261abd39389adccbb5e098cf1b582691f51c8d786dd84d7421fab8caec4298e4ee29ca794f05a8 WHIRLPOOL af8f1e8c052794de21d7ab5a03a8d3013fbdc19042f3cf93a5f2c9543a289f56f9083e88e4edca747e49313276977e00760c870625bd78ddaf2ef9fc75fdef95
EBUILD qdox-1.6.3.ebuild 1423 SHA256 179cbcb671537a123440a273e74a0d268fd7fbb126cc7035032c702e9a450dd7 SHA512 da8875dd229d15287eb70c866da7712768afd2edacf20700240c3ba329ace7527852c2d3c3125ba1c08bea367498ba6038028c7d204127778da97dcb0f9ad466 WHIRLPOOL 2facd15431a9348b7e1c0cbdebe21230c0151d7d121498f670c5da6b204b8fc6bc7c4c7633e9411133e7e9c3803f6ec4e16d53abb42e6cff4cb5f748dbe1be39
-MISC ChangeLog 6041 SHA256 90ee8dc858be2247d09e2379aecc731874831934f327ea0dab9e7fa6b204d944 SHA512 358c0c9d366bd6cf3f3cd92636690438263f3e238d1466c56560a221e3c677187e7f9a3da64a90c65005f103d54ef866906d68d6f897273c9f301aefd63a8ef4 WHIRLPOOL ddd597a16660a2dfe7915563b6e340d07b319d17c3244ecf70ff56104dc1d8e2b9a2d85979cf3cfced630dc9a01c7016c93880cac193902853bd9346c4286c83
+MISC ChangeLog 6174 SHA256 00043479fe5bd32c787f858695131bbf7ef775e70ae1c8745bfd66ae2d1a8f31 SHA512 499d419be770f59cec1ceee1cdfb220e78798aa8f03ad962860849bbd1b771179c58d75e7ea2fe8bf0330119c4f6d7e44d70b49fa0abf5f2040af1a4a0eb2f40 WHIRLPOOL 9923f7d7c5340fa4744a981398bd2e36bd6375ef8ea6c8e7a2053b7f67cec08bbad7e442dcd7680a147133b52a5febd67cdfaafdb62e5dfa662eb63554b0c91d
MISC metadata.xml 365 SHA256 d4d64646fc29e898f3fdc549b767cae8027f0b6c9018b349530673a666efde21 SHA512 3515588e9ebeba0ccae0d22a4711928143c505c0ca607fb5a1ba76f3f66588305f3558b328e6463b89c8c664ccccf393725a4ff5215ecfd63130d6da10d1ef04 WHIRLPOOL 7d423bdda66b2d5f2f57c1066354b020dc8578410aa6f7115a9cdea822a0c1d9e2bbe0b85e67dd8bb32744493e8d96625a7d08fca6775dc838cd9dcf99c5e88a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iEYEAREIAAYFAlXFO3QACgkQsAvGakAaFgCp2gCdHIuGO44bdaPt5Z6WUNrBoq+p
-1fwAnjUvFjveP3LRTo/hETllcPUrX4n/
-=iWal
+iEYEAREIAAYFAlXFPpYACgkQsAvGakAaFgBnMwCfSs6YoJAL5hVahivzm4fXl8EH
+34YAoIz5AOeDRVes8AIzvQIwzEcUFBws
+=tDxW
-----END PGP SIGNATURE-----
diff --git a/dev-java/qdox/qdox-1.12.1.ebuild b/dev-java/qdox/qdox-1.12.1.ebuild
new file mode 100644
index 000000000000..4b43ef368559
--- /dev/null
+++ b/dev-java/qdox/qdox-1.12.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/qdox/qdox-1.12.1.ebuild,v 1.1 2015/08/07 23:26:13 sping Exp $
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Parser for extracting class/interface/method definitions"
+HOMEPAGE="http://qdox.codehaus.org/"
+SRC_URI="https://github.com/codehaus/qdox/archive/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="1.12"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~ppc-macos ~x64-macos ~x86-macos"
+
+S="${WORKDIR}/${PN}-${PN}-${PV}"
+
+CDEPEND="dev-java/ant-core:0"
+
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip:0
+ dev-java/byaccj:0
+ >=dev-java/jflex-1.4.3:0
+ dev-java/jmock:1.0
+ test? ( dev-java/junit:0 )
+ ${CDEPEND}"
+
+RDEPEND=">=virtual/jre-1.4
+ ${CDEPEND}"
+
+java_prepare() {
+ if ! use test ; then
+ rm src/java/com/thoughtworks/qdox/tools/QDoxTester.java
+ rm -rf src/java/com/thoughtworks/qdox/junit
+ rm -rf src/test
+ fi
+}
+
+src_compile() {
+ jflex src/grammar/lexer.flex --skel src/grammar/skeleton.inner -d src/java/com/thoughtworks/qdox/parser/impl/ || die
+ byaccj -v -Jnorun -Jnoconstruct -Jclass=Parser -Jsemantic=Value -Jpackage=com.thoughtworks.qdox.parser.impl src/grammar/parser.y || die
+ mv Parser.java src/java/com/thoughtworks/qdox/parser/impl/ || die
+
+ # create jar
+ mkdir -p build/classes || die
+
+ local cp="$(java-pkg_getjars --build-only ant-core,jmock-1.0)"
+
+ if use test ; then
+ cp="${cp}:$(java-pkg_getjars --build-only junit)"
+ fi
+
+ ejavac -sourcepath . -d build/classes -classpath "${cp}" \
+ $(find . -name "*.java") || die "Cannot compile sources"
+
+ mkdir dist || die
+ cd build/classes || die
+ jar -cvf "${S}"/dist/${PN}.jar com || die "Cannot create JAR"
+
+ # generate javadoc
+ if use doc ; then
+ cd "${S}"
+ mkdir javadoc || die
+ javadoc -d javadoc -sourcepath src/java -subpackages com -classpath "${cp}"
+ fi
+}
+
+src_test() {
+ java -cp "${S}"/dist/${PN}.jar:$(java-pkg_getjars --build-only ant-core,junit,jmock-1.0) \
+ com.thoughtworks.qdox.tools.QDoxTester src || die "Tests failed!"
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+ java-pkg_register-ant-task
+
+ use source && java-pkg_dosrc src/java/com
+ use doc && java-pkg_dojavadoc javadoc
+}