From 6f4ef8067e4877bda60c8391cf78641b541b3546 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petteri=20R=C3=A4ty?= Date: Thu, 1 Mar 2007 10:47:21 +0000 Subject: [PATCH] Migrate to split ant. Revision bump because -r1 is going stable but split ant still needs more testing. Package-Manager: portage-2.1.2-r12 --- dev-java/jline/ChangeLog | 8 +++- dev-java/jline/Manifest | 21 +++++--- dev-java/jline/files/digest-jline-0.9.9-r2 | 3 ++ dev-java/jline/jline-0.9.9-r2.ebuild | 56 ++++++++++++++++++++++ 4 files changed, 80 insertions(+), 8 deletions(-) create mode 100644 dev-java/jline/files/digest-jline-0.9.9-r2 create mode 100644 dev-java/jline/jline-0.9.9-r2.ebuild diff --git a/dev-java/jline/ChangeLog b/dev-java/jline/ChangeLog index ca06c5857317..f4fffc54e8b6 100644 --- a/dev-java/jline/ChangeLog +++ b/dev-java/jline/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/jline # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jline/ChangeLog,v 1.8 2007/03/01 10:29:18 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jline/ChangeLog,v 1.9 2007/03/01 10:47:21 betelgeuse Exp $ + +*jline-0.9.9-r2 (01 Mar 2007) + + 01 Mar 2007; Petteri Räty +jline-0.9.9-r2.ebuild: + Migrate to split ant. Revision bump because -r1 is going stable but split + ant still needs more testing. 01 Mar 2007; Petteri Räty jline-0.9.9-r1.ebuild: Add the doc use flag. diff --git a/dev-java/jline/Manifest b/dev-java/jline/Manifest index b9245634378c..60fc848bf4ab 100644 --- a/dev-java/jline/Manifest +++ b/dev-java/jline/Manifest @@ -18,10 +18,14 @@ EBUILD jline-0.9.9-r1.ebuild 1530 RMD160 b5bbb56d94210a2eeb6a300e04ca5af911ee2b7 MD5 ae5a3471d59458dd0bae49f87d998179 jline-0.9.9-r1.ebuild 1530 RMD160 b5bbb56d94210a2eeb6a300e04ca5af911ee2b76 jline-0.9.9-r1.ebuild 1530 SHA256 51259f29177d2dbbc8981f36170d42cbf64943afbbfdbcbb48799900707861b2 jline-0.9.9-r1.ebuild 1530 -MISC ChangeLog 1481 RMD160 f8e16be0d537d35d3510abc1e8b3df6f8c510058 SHA1 fbeb243f3c742098089372121f1eaef7a54a1675 SHA256 6ec02f3e6a40d78096e3e4165ac00d6650c0ba92cbb6d88cfc9bca82483a1e90 -MD5 5960838073ed483c932b7cbcc4096a3e ChangeLog 1481 -RMD160 f8e16be0d537d35d3510abc1e8b3df6f8c510058 ChangeLog 1481 -SHA256 6ec02f3e6a40d78096e3e4165ac00d6650c0ba92cbb6d88cfc9bca82483a1e90 ChangeLog 1481 +EBUILD jline-0.9.9-r2.ebuild 1502 RMD160 8f14c2b5edc7f9d66bd05d04a6547f0829a9e3fb SHA1 369fdc0b3949620e344b749cb629ed36c1b29967 SHA256 22ae5e7c76baacb216e516326aa0241380f4ce466196872cdfe0353dbdb880a5 +MD5 8f279f89c21cc6ab10184ba467f16f87 jline-0.9.9-r2.ebuild 1502 +RMD160 8f14c2b5edc7f9d66bd05d04a6547f0829a9e3fb jline-0.9.9-r2.ebuild 1502 +SHA256 22ae5e7c76baacb216e516326aa0241380f4ce466196872cdfe0353dbdb880a5 jline-0.9.9-r2.ebuild 1502 +MISC ChangeLog 1698 RMD160 d8fc1700a6cc70267f92500849f64fa208fe62b8 SHA1 6e851e50c323b9d369b9175162c1d86808cf2d8e SHA256 f8327e27042a7b16d8e8e418a080a79ea6bac80ca97b3d1bf0df399cd49acdeb +MD5 0fa8c46251353e3a88794ef4ec45163d ChangeLog 1698 +RMD160 d8fc1700a6cc70267f92500849f64fa208fe62b8 ChangeLog 1698 +SHA256 f8327e27042a7b16d8e8e418a080a79ea6bac80ca97b3d1bf0df399cd49acdeb ChangeLog 1698 MISC metadata.xml 252 RMD160 668af83772a7008b999bfe22da86e6d763c58d05 SHA1 7a38c8eea607b775e3b67757b0deda944aa27c65 SHA256 530d1e67c69f08b473ce1a5e7bbab5682e6deee068b27dbb57d459ca61c1290a MD5 04e248f270fb5cf8193c02ebd018d503 metadata.xml 252 RMD160 668af83772a7008b999bfe22da86e6d763c58d05 metadata.xml 252 @@ -29,10 +33,13 @@ SHA256 530d1e67c69f08b473ce1a5e7bbab5682e6deee068b27dbb57d459ca61c1290a metadata MD5 1f96274dc29bbf19598105039e7106a1 files/digest-jline-0.9.9-r1 226 RMD160 e0e738a6995c1c505e6bf84b08555c4948d8f65d files/digest-jline-0.9.9-r1 226 SHA256 b598c193b8fc7f5aba1c3ba65d0427912ce24ece03d5cb1b7588517b00532cd9 files/digest-jline-0.9.9-r1 226 +MD5 1f96274dc29bbf19598105039e7106a1 files/digest-jline-0.9.9-r2 226 +RMD160 e0e738a6995c1c505e6bf84b08555c4948d8f65d files/digest-jline-0.9.9-r2 226 +SHA256 b598c193b8fc7f5aba1c3ba65d0427912ce24ece03d5cb1b7588517b00532cd9 files/digest-jline-0.9.9-r2 226 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (GNU/Linux) -iD8DBQFF5qqQcxLzpIGCsLQRAlBXAJ9KFgLH8i6v4oq/RLG5v1mreSGRhACgi5ar -/9uBO1m0keXOzsUI31PAb0s= -=ewWj +iD8DBQFF5q7IcxLzpIGCsLQRAjiTAJ4lS4FL/0ooxAdST7WVX+4zr7tcugCgmHa8 +h1dBUUDYqYbLzGocyCnr6to= +=J8M2 -----END PGP SIGNATURE----- diff --git a/dev-java/jline/files/digest-jline-0.9.9-r2 b/dev-java/jline/files/digest-jline-0.9.9-r2 new file mode 100644 index 000000000000..f5517e92a160 --- /dev/null +++ b/dev-java/jline/files/digest-jline-0.9.9-r2 @@ -0,0 +1,3 @@ +MD5 c5164fb17d33315fa2c1ad10ab84aef7 jline-0.9.9.zip 692022 +RMD160 62e45ddadf1eb175cf0271df5f8f8d6075f62f07 jline-0.9.9.zip 692022 +SHA256 f1ac3b06fbb9b81c03555874ab748c3e674644736f0003ac3ed81d6201332e9b jline-0.9.9.zip 692022 diff --git a/dev-java/jline/jline-0.9.9-r2.ebuild b/dev-java/jline/jline-0.9.9-r2.ebuild new file mode 100644 index 000000000000..f00d315f5639 --- /dev/null +++ b/dev-java/jline/jline-0.9.9-r2.ebuild @@ -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/jline/jline-0.9.9-r2.ebuild,v 1.1 2007/03/01 10:47:21 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A Java library for handling console input" +HOMEPAGE="http://jline.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + test? ( dev-java/ant-junit )" +RDEPEND=">=virtual/jre-1.4" + +S="${WORKDIR}/${P}/src" + +src_unpack() { + unpack ${A} + rm -v "${P}"/*.jar + cd "${S}" + # we don't support maven for building yet. this build.xml was generated by: + # - mvn ant:ant + # - tweak build.xml to not load properties from home dir + # - tweak the test target to match the test cases + # - change maven.repo.local from ~/.maven to "lib" in .properties + # - change classpath definitions to "*.jar" + cp ${FILESDIR}/maven-build.xml build.xml || die "failed to copy build.xml" + cp ${FILESDIR}/maven-build.properties . || die + java-ant_ignore-system-classes + + mkdir lib + cd lib + use test && java-pkg_jar-from --build-only junit +} + +src_compile() { + #precompiled javadocs (needs maven to generate) + eant package +} + +src_install() { + java-pkg_newjar target/${P}.jar + use doc && java-pkg_dojavadoc ../apidocs + use source && java-pkg_dosrc src/main/java +} + +src_test() { + ANT_TASKS="ant-junit" eant test -Djunit.present=true +} -- 2.26.2