Gentoo Archives: gentoo-commits

From: "Tom Wijsman (tomwij)" <tomwij@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/bcprov: bcprov-1.48.ebuild ChangeLog
Date: Tue, 21 May 2013 16:12:58
Message-Id: 20130521161254.CDEAC2171D@flycatcher.gentoo.org
1 tomwij 13/05/21 16:12:54
2
3 Modified: ChangeLog
4 Added: bcprov-1.48.ebuild
5 Log:
6 Version bump to 1.48. EAPI 5. Clean up the ebuild slightly.
7
8 (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
9
10 Revision Changes Path
11 1.44 dev-java/bcprov/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcprov/ChangeLog?rev=1.44&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcprov/ChangeLog?rev=1.44&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcprov/ChangeLog?r1=1.43&r2=1.44
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-java/bcprov/ChangeLog,v
20 retrieving revision 1.43
21 retrieving revision 1.44
22 diff -u -r1.43 -r1.44
23 --- ChangeLog 12 May 2012 03:13:16 -0000 1.43
24 +++ ChangeLog 21 May 2013 16:12:54 -0000 1.44
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-java/bcprov
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/ChangeLog,v 1.43 2012/05/12 03:13:16 aballier Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/ChangeLog,v 1.44 2013/05/21 16:12:54 tomwij Exp $
31 +
32 +*bcprov-1.48 (21 May 2013)
33 +
34 + 21 May 2013; Tom Wijsman <TomWij@g.o> +bcprov-1.48.ebuild:
35 + Version bump to 1.48. EAPI 5. Clean up the ebuild slightly.
36
37 12 May 2012; Alexis Ballier <aballier@g.o> bcprov-1.45.ebuild:
38 keyword ~amd64-fbsd
39 @@ -165,4 +170,3 @@
40 23 Jul 2006; Joshua Nichols <jnichols@g.o> +files/build.xml,
41 +metadata.xml, +bcprov-1.31-r1.ebuild:
42 Initial commit, pulled from java-experimental-overlay.
43 -
44
45
46
47 1.1 dev-java/bcprov/bcprov-1.48.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcprov/bcprov-1.48.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcprov/bcprov-1.48.ebuild?rev=1.1&content-type=text/plain
51
52 Index: bcprov-1.48.ebuild
53 ===================================================================
54 # Copyright 1999-2013 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/bcprov-1.48.ebuild,v 1.1 2013/05/21 16:12:54 tomwij Exp $
57
58 EAPI="5"
59
60 JAVA_PKG_IUSE="doc source"
61
62 inherit java-pkg-2 java-ant-2
63
64 MY_P="${PN}-jdk15on-${PV/./}"
65 DESCRIPTION="Java cryptography APIs"
66 HOMEPAGE="http://www.bouncycastle.org/java.html"
67 SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz"
68
69 LICENSE="BSD"
70 SLOT="0"
71 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos"
72
73 # The src_unpack find needs a new find
74 # https://bugs.gentoo.org/show_bug.cgi?id=182276
75 DEPEND=">=virtual/jdk-1.5
76 userland_GNU? ( >=sys-apps/findutils-4.3 )
77 app-arch/unzip"
78 RDEPEND=">=virtual/jre-1.5"
79
80 IUSE="userland_GNU"
81
82 S="${WORKDIR}/${MY_P}"
83
84 src_unpack() {
85 default
86
87 cd "${S}" || die
88 unpack ./src.zip
89 }
90
91 java_prepare() {
92 # This should eventually split the tests
93 # and call them separately, it's not clean
94 # to just throw the tests away.
95 einfo "Removing testcases' sources:"
96 find . -path '*test/*.java' -print -delete \
97 || die "Failed to delete testcases."
98 find . -name '*Test*.java' -print -delete \
99 || die "Failed to delete testcases."
100
101 mkdir "${S}"/classes || die
102 }
103
104 src_compile() {
105 find . -name "*.java" > "${T}"/src.list
106 ejavac -encoding ISO-8859-1 -d "${S}"/classes "@${T}"/src.list
107
108 cd "${S}"/classes || die
109 jar -cf "${S}"/${PN}.jar * || die "Failed to create jar."
110 }
111
112 src_install() {
113 java-pkg_dojar "${S}"/${PN}.jar
114
115 use source && java-pkg_dosrc org
116 use doc && java-pkg_dojavadoc docs
117 }