From: Petteri Räty Date: Sun, 14 Jan 2007 17:24:59 +0000 (+0000) Subject: Fixed to work with JAVA_PKG_STRICT, added source use flag and cleaned javadoc install... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3ddb4ce31675675c7ac5ed6bea84eb1061a6293e;p=gentoo.git Fixed to work with JAVA_PKG_STRICT, added source use flag and cleaned javadoc installation. Package-Manager: portage-2.1.2_rc4-r7 --- diff --git a/dev-java/blowfishj/ChangeLog b/dev-java/blowfishj/ChangeLog index 9fd7a5a1dbbd..dd9b0b0142ad 100644 --- a/dev-java/blowfishj/ChangeLog +++ b/dev-java/blowfishj/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/blowfishj -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/blowfishj/ChangeLog,v 1.7 2006/10/05 15:11:33 gustavoz Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/blowfishj/ChangeLog,v 1.8 2007/01/14 17:24:59 betelgeuse Exp $ + + 14 Jan 2007; Petteri Räty + blowfishj-2.14-r1.ebuild: + Fixed to work with JAVA_PKG_STRICT, added source use flag and cleaned + javadoc installation. 05 Oct 2006; Gustavo Zacarias blowfishj-2.14.ebuild, blowfishj-2.14-r1.ebuild: diff --git a/dev-java/blowfishj/Manifest b/dev-java/blowfishj/Manifest index efa7b8753317..6896305cf6f8 100644 --- a/dev-java/blowfishj/Manifest +++ b/dev-java/blowfishj/Manifest @@ -2,22 +2,22 @@ Hash: SHA1 DIST blowfishj-2.14-src.tar.gz 33726 RMD160 121f358bcea9bfd855ca4ec8f0175d1bbc6f8dfb SHA1 487de767c4461259ecebce31be2c226266abd0c4 SHA256 d49ff16dbf320f8988886507c0065312b4660d4dfdbffb894db7ff7d6f5bfaa9 -EBUILD blowfishj-2.14-r1.ebuild 826 RMD160 f1881d57e4960c3321323379d0d729080dabd7e6 SHA1 e0cd64f7206a27c5fc3f5f263ce53a6461d3d560 SHA256 e348cad71c398ddf0371f737301cf895d909dd6fe25dcd68b92bc64e4065cff9 -MD5 d8c33d22b8fb5267c72798a165807377 blowfishj-2.14-r1.ebuild 826 -RMD160 f1881d57e4960c3321323379d0d729080dabd7e6 blowfishj-2.14-r1.ebuild 826 -SHA256 e348cad71c398ddf0371f737301cf895d909dd6fe25dcd68b92bc64e4065cff9 blowfishj-2.14-r1.ebuild 826 +EBUILD blowfishj-2.14-r1.ebuild 1016 RMD160 cb39a5d67e105ede38bd95e6df878b666e14b684 SHA1 4da01f1845c9c0ca559f99ebef32083b8839ec5e SHA256 1f7bd7b21849dbcf70a59dd6a2c957581ae4c16b0db19417b0e567067cb4e223 +MD5 94ba3e78a4b86eea9ab6e20e4aff3682 blowfishj-2.14-r1.ebuild 1016 +RMD160 cb39a5d67e105ede38bd95e6df878b666e14b684 blowfishj-2.14-r1.ebuild 1016 +SHA256 1f7bd7b21849dbcf70a59dd6a2c957581ae4c16b0db19417b0e567067cb4e223 blowfishj-2.14-r1.ebuild 1016 EBUILD blowfishj-2.14.ebuild 868 RMD160 14e537f7a5628febc008ff3c8269c357787863a8 SHA1 d8aa5ea029b4c4d63527e9a67051ad1ea901745c SHA256 d2dbc66391a8ecb82cbd255098699c3b6b01ea4341455ccc9683757a2125b5cd MD5 4ce66a9ca4d0f2c705e3742492f4de77 blowfishj-2.14.ebuild 868 RMD160 14e537f7a5628febc008ff3c8269c357787863a8 blowfishj-2.14.ebuild 868 SHA256 d2dbc66391a8ecb82cbd255098699c3b6b01ea4341455ccc9683757a2125b5cd blowfishj-2.14.ebuild 868 -MISC ChangeLog 1105 RMD160 5680de388fce4d6504391a6defb260c4a8e784a5 SHA1 8b51bec9f1d2e8a782de3c2e6ac4a21281eaa870 SHA256 483f87fb7c32876939c40457fb3039c236eafd64bae9105924f017102170f5f7 -MD5 d444e9494d1a2788047b4c58735f7543 ChangeLog 1105 -RMD160 5680de388fce4d6504391a6defb260c4a8e784a5 ChangeLog 1105 -SHA256 483f87fb7c32876939c40457fb3039c236eafd64bae9105924f017102170f5f7 ChangeLog 1105 -MISC metadata.xml 526 RMD160 7c74c8c759d8ed8a40da4fedb3d0d090c6bb988b SHA1 578c139f203c2c439e0111f6ac4bee502b836baf SHA256 34938673f89a79b862fba7d4efe0a53cb1fdb850501a0cf8923155f580c20695 -MD5 3a5af712fee8c17aaa3329c26c88b57e metadata.xml 526 -RMD160 7c74c8c759d8ed8a40da4fedb3d0d090c6bb988b metadata.xml 526 -SHA256 34938673f89a79b862fba7d4efe0a53cb1fdb850501a0cf8923155f580c20695 metadata.xml 526 +MISC ChangeLog 1285 RMD160 727fc39b4171b8eb04c16a32b3b28a974c96d246 SHA1 4538a012b97beec01264a2cfcd6b6f536ae02476 SHA256 e53dbc37175099533fd274b0d6af0de8989590a0dd04f105420a931f88a79ce1 +MD5 09e8e5ec42f7ff23ea3ae1cd5a395feb ChangeLog 1285 +RMD160 727fc39b4171b8eb04c16a32b3b28a974c96d246 ChangeLog 1285 +SHA256 e53dbc37175099533fd274b0d6af0de8989590a0dd04f105420a931f88a79ce1 ChangeLog 1285 +MISC metadata.xml 522 RMD160 ab382f3ad86313eec98c13871d4eefbf4de48de1 SHA1 84dede61acfde50f469a6b334a79b410380871f6 SHA256 8055cd829b1b896e8f07b66a4ba191cf9b3d53b108ba2a06952eefe49bcda855 +MD5 5a9bb067d26215a78abc77163d5de6fd metadata.xml 522 +RMD160 ab382f3ad86313eec98c13871d4eefbf4de48de1 metadata.xml 522 +SHA256 8055cd829b1b896e8f07b66a4ba191cf9b3d53b108ba2a06952eefe49bcda855 metadata.xml 522 MD5 1bb0aecd52e4c88af228e412251aeb7a files/digest-blowfishj-2.14 253 RMD160 12e58e9a098e7e14c16509fa36174d6a1e3a9e93 files/digest-blowfishj-2.14 253 SHA256 897ea050a2d2ff1527b36b313551f4c49a37db1100db5597e7002383936b43c6 files/digest-blowfishj-2.14 253 @@ -25,9 +25,9 @@ MD5 1bb0aecd52e4c88af228e412251aeb7a files/digest-blowfishj-2.14-r1 253 RMD160 12e58e9a098e7e14c16509fa36174d6a1e3a9e93 files/digest-blowfishj-2.14-r1 253 SHA256 897ea050a2d2ff1527b36b313551f4c49a37db1100db5597e7002383936b43c6 files/digest-blowfishj-2.14-r1 253 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux) +Version: GnuPG v1.4.6 (GNU/Linux) -iD8DBQFFJSCyKRy60XGEcJIRAs5KAKCRY5Q26RNHwUQZuKaq0jtsLzxk8QCePamW -Ys5rZz4FqNYrE3yPcEnDnVs= -=aELW +iD4DBQFFqmd1cxLzpIGCsLQRAtN1AJ0UXptKrXe/5i7ujzpjPiJ4eQGMTQCYmIgq +owjz+81qmPjkFMxpAmGKog== +=hMaU -----END PGP SIGNATURE----- diff --git a/dev-java/blowfishj/blowfishj-2.14-r1.ebuild b/dev-java/blowfishj/blowfishj-2.14-r1.ebuild index 3090d416763f..807f530a56af 100644 --- a/dev-java/blowfishj/blowfishj-2.14-r1.ebuild +++ b/dev-java/blowfishj/blowfishj-2.14-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/blowfishj/blowfishj-2.14-r1.ebuild,v 1.2 2006/10/05 15:11:33 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/blowfishj/blowfishj-2.14-r1.ebuild,v 1.3 2007/01/14 17:24:59 betelgeuse Exp $ inherit java-pkg-2 java-ant-2 @@ -11,24 +11,30 @@ HOMEPAGE="http://blowfishj.sourceforge.net/index.html" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~x86 ~amd64 ~ppc" -IUSE="doc test" +IUSE="doc test source" DEPEND=">=virtual/jdk-1.4 - dev-java/ant + dev-java/ant-core app-arch/unzip - test? ( dev-java/junit ) " + test? ( dev-java/junit dev-java/ant-tasks ) " RDEPEND=">=virtual/jre-1.4" -src_compile() { - eant jar $(use_doc) || die "failed to compile" +src_unpack() { + unpack "${A}" + cd "${S}" + java-ant_ignore-system-classes + mkdir -p target/lib + cd target/lib + use test && java-pkg_jar-from --build-only junit } src_test() { - eant test || die "test failed" + eant test -DJunit.present=true || die "test failed" } src_install() { java-pkg_newjar target/${P}.jar ${PN}.jar - use doc && java-pkg_dohtml -r dist/docs/api/* + use doc && java-pkg_dojavadoc dist/docs/api + use source && java-pkg_dosrc src/java/net } diff --git a/dev-java/blowfishj/metadata.xml b/dev-java/blowfishj/metadata.xml index 840efe3842ab..23a1a427d99a 100644 --- a/dev-java/blowfishj/metadata.xml +++ b/dev-java/blowfishj/metadata.xml @@ -5,10 +5,10 @@ java -The Blowfish implementation in Java, provides very fast ECB and CBC encryption. -Comes with the BlowfishEasy class for simple string encryption, plus a solution -for streaming, both are binary compatible to Blowfish.NET. Additionally this -package includes its own SHA-1 class, all sources, JUnit test cases, demos and +The Blowfish implementation in Java, provides very fast ECB and CBC encryption. +Comes with the BlowfishEasy class for simple string encryption, plus a solution +for streaming, both are binary compatible to Blowfish.NET. Additionally this +package includes its own SHA-1 class, all sources, JUnit test cases, demos and JavaDocs.