Revbump to remove needless junit dependency by deleting testcases before compiling.
authorVlastimil Babka <caster@gentoo.org>
Sat, 21 Apr 2007 22:46:35 +0000 (22:46 +0000)
committerVlastimil Babka <caster@gentoo.org>
Sat, 21 Apr 2007 22:46:35 +0000 (22:46 +0000)
Package-Manager: portage-2.1.2.4

dev-java/bcprov/ChangeLog
dev-java/bcprov/Manifest
dev-java/bcprov/bcprov-1.36-r1.ebuild [new file with mode: 0644]
dev-java/bcprov/files/digest-bcprov-1.36-r1 [new file with mode: 0644]

index 1f6eb0b01819e1d3f8c10df78aa97e77ab085fe8..ee34f8a496c4b603fe3478639406928cf009c238 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-java/bcprov
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/ChangeLog,v 1.11 2007/03/25 17:22:16 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/ChangeLog,v 1.12 2007/04/21 22:46:35 caster Exp $
+
+*bcprov-1.36-r1 (21 Apr 2007)
+
+  21 Apr 2007; Vlastimil Babka <caster@gentoo.org> +bcprov-1.36-r1.ebuild:
+  Revbump to remove needless junit dependency by deleting testcases before
+  compiling.
 
 *bcprov-1.36 (25 Mar 2007)
 
index 6f8d7ed7ccd45f76ae6c5dee5649063ee7475502..9903cdb5a76f4f3798ace7e25505559f79ea48a7 100644 (file)
@@ -12,14 +12,18 @@ EBUILD bcprov-1.31-r2.ebuild 1134 RMD160 2fe9e83274ed9490f976412158b0a9299f1ba6b
 MD5 7a06a105c0ce840a590d59ed4d11ac40 bcprov-1.31-r2.ebuild 1134
 RMD160 2fe9e83274ed9490f976412158b0a9299f1ba6bd bcprov-1.31-r2.ebuild 1134
 SHA256 78ab407c083562fca8b15251acf5a25c4e31bf2f5bd051fa4c8848fe4d7c62d7 bcprov-1.31-r2.ebuild 1134
+EBUILD bcprov-1.36-r1.ebuild 1125 RMD160 19c83c1ab1da04990f7dbb1f9f4553f4c0596f03 SHA1 3fd168a067385c347084b714823673d289d6e165 SHA256 3e777acef78a7cf6d9e4f08000996f9d1bfff995a1c8f6f2f5f40bfc7de88266
+MD5 3fd0b30130660cc160ebeef49518bf04 bcprov-1.36-r1.ebuild 1125
+RMD160 19c83c1ab1da04990f7dbb1f9f4553f4c0596f03 bcprov-1.36-r1.ebuild 1125
+SHA256 3e777acef78a7cf6d9e4f08000996f9d1bfff995a1c8f6f2f5f40bfc7de88266 bcprov-1.36-r1.ebuild 1125
 EBUILD bcprov-1.36.ebuild 1115 RMD160 58871e6818e7107525a0b1f24446a54238348a88 SHA1 5bf843a410060edd75ef4dc5b20bc7908ead685b SHA256 1668312f180bb50dc408bd2d277673d880b39550c4298b632168172cc7f6ed4f
 MD5 845a90f22b7c702ed1d7e919663720d1 bcprov-1.36.ebuild 1115
 RMD160 58871e6818e7107525a0b1f24446a54238348a88 bcprov-1.36.ebuild 1115
 SHA256 1668312f180bb50dc408bd2d277673d880b39550c4298b632168172cc7f6ed4f bcprov-1.36.ebuild 1115
-MISC ChangeLog 1683 RMD160 1b203a29eee7728b026fb3f3d236eeb1bc4002d4 SHA1 9e100ce29a3457c6afe4e4dc46f5a12356a9e90d SHA256 4e2b2be09312e73655871d8a7295c29eb6352bd81cee2ecb792d87cc0cce2d63
-MD5 cd556ddd014273a79377432d28fab0bc ChangeLog 1683
-RMD160 1b203a29eee7728b026fb3f3d236eeb1bc4002d4 ChangeLog 1683
-SHA256 4e2b2be09312e73655871d8a7295c29eb6352bd81cee2ecb792d87cc0cce2d63 ChangeLog 1683
+MISC ChangeLog 1879 RMD160 d287f5aa7448e4b4033927688e68c0cd9e03ecfd SHA1 f50441b51c9889a2cf569a907985f4fc3ed0f060 SHA256 fc821fdd0eea5a938eb6cb6870198096ff826588785ccb5c8c367fb6f8db36a4
+MD5 b83b103c19cbdebc7c1cdfb3a519d703 ChangeLog 1879
+RMD160 d287f5aa7448e4b4033927688e68c0cd9e03ecfd ChangeLog 1879
+SHA256 fc821fdd0eea5a938eb6cb6870198096ff826588785ccb5c8c367fb6f8db36a4 ChangeLog 1879
 MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb
 MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158
 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 metadata.xml 158
@@ -33,3 +37,6 @@ SHA256 3280794077e6dafca08e182770b1290ebbba36c00dfb44c79cce2ad0f95aa24f files/di
 MD5 878ecafea609e63afe3b5a8e10b9f7ae files/digest-bcprov-1.36 253
 RMD160 b4532b9ecc6032718a53e840f27dc35b89cac2d5 files/digest-bcprov-1.36 253
 SHA256 6c48dbd3d80afe94b52d368a270ca433fff773ab6c148f066822902bdaa7fde5 files/digest-bcprov-1.36 253
+MD5 878ecafea609e63afe3b5a8e10b9f7ae files/digest-bcprov-1.36-r1 253
+RMD160 b4532b9ecc6032718a53e840f27dc35b89cac2d5 files/digest-bcprov-1.36-r1 253
+SHA256 6c48dbd3d80afe94b52d368a270ca433fff773ab6c148f066822902bdaa7fde5 files/digest-bcprov-1.36-r1 253
diff --git a/dev-java/bcprov/bcprov-1.36-r1.ebuild b/dev-java/bcprov/bcprov-1.36-r1.ebuild
new file mode 100644 (file)
index 0000000..f399d7b
--- /dev/null
@@ -0,0 +1,49 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/bcprov-1.36-r1.ebuild,v 1.1 2007/04/21 22:46:35 caster Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+MY_P="${PN}-jdk14-${PV/./}"
+DESCRIPTION="Java cryptography APIs"
+HOMEPAGE="http://www.bouncycastle.org/java.html"
+SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+
+DEPEND=">=virtual/jdk-1.4
+       app-arch/unzip"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       unpack ./src.zip
+
+       # so that we don't need junit
+       echo "Removing testcases' sources:"
+       find . -wholename '*test/*.java' -print -delete
+}
+
+src_compile() {
+       mkdir "${S}/classes"
+
+       find . -name "*.java" > "${T}/src.list"
+       ejavac -d "${S}/classes" "@${T}/src.list"
+
+       cd "${S}/classes"
+       jar -cf "${S}/${PN}.jar" * || die "failed to create jar"
+}
+
+src_install() {
+       java-pkg_dojar "${S}/${PN}.jar"
+
+       use source && java-pkg_dosrc org
+       use doc && java-pkg_dojavadoc docs
+}
diff --git a/dev-java/bcprov/files/digest-bcprov-1.36-r1 b/dev-java/bcprov/files/digest-bcprov-1.36-r1
new file mode 100644 (file)
index 0000000..de60184
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 226539d989bb53b60103babc9c27b1ba bcprov-jdk14-136.tar.gz 3119925
+RMD160 aa2e233049c6eec2db533f39be2aad4ea60eede3 bcprov-jdk14-136.tar.gz 3119925
+SHA256 d47f82ccf32c152c28fe259baedc5cc2cafd3e2187ebd754b710c54aee7d5428 bcprov-jdk14-136.tar.gz 3119925