1 |
caster 09/10/03 23:40:29 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: backport-util-concurrent-3.0-r1.ebuild |
5 |
Removed: backport-util-concurrent-1.1.01-r1.ebuild |
6 |
Log: |
7 |
Revbump to remove java5 useflag, and default to java5. |
8 |
(Portage version: 2.2_rc42/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.21 dev-java/backport-util-concurrent/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/backport-util-concurrent/ChangeLog?rev=1.21&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/backport-util-concurrent/ChangeLog?rev=1.21&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/backport-util-concurrent/ChangeLog?r1=1.20&r2=1.21 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/backport-util-concurrent/ChangeLog,v |
20 |
retrieving revision 1.20 |
21 |
retrieving revision 1.21 |
22 |
diff -u -r1.20 -r1.21 |
23 |
--- ChangeLog 10 Jan 2008 23:03:52 -0000 1.20 |
24 |
+++ ChangeLog 3 Oct 2009 23:40:29 -0000 1.21 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for dev-java/backport-util-concurrent |
27 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/backport-util-concurrent/ChangeLog,v 1.20 2008/01/10 23:03:52 caster Exp $ |
29 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/backport-util-concurrent/ChangeLog,v 1.21 2009/10/03 23:40:29 caster Exp $ |
31 |
+ |
32 |
+*backport-util-concurrent-3.0-r1 (03 Oct 2009) |
33 |
+ |
34 |
+ 03 Oct 2009; Vlastimil Babka <caster@g.o> |
35 |
+ -backport-util-concurrent-1.1.01-r1.ebuild, |
36 |
+ +backport-util-concurrent-3.0-r1.ebuild: |
37 |
+ Revbump to remove java5 useflag, and default to java5. |
38 |
|
39 |
10 Jan 2008; Vlastimil Babka <caster@g.o> |
40 |
backport-util-concurrent-1.1.01-r1.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-java/backport-util-concurrent/backport-util-concurrent-3.0-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/backport-util-concurrent/backport-util-concurrent-3.0-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/backport-util-concurrent/backport-util-concurrent-3.0-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: backport-util-concurrent-3.0-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2009 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/backport-util-concurrent/backport-util-concurrent-3.0-r1.ebuild,v 1.1 2009/10/03 23:40:29 caster Exp $ |
54 |
|
55 |
JAVA_PKG_IUSE="doc source test" |
56 |
inherit java-pkg-2 java-ant-2 |
57 |
|
58 |
DESCRIPTION="A backport of java.util.concurrent API, from Java 5.0, to 1.4, and from Java 6.0 to 5.0" |
59 |
HOMEPAGE="http://www.mathcs.emory.edu/dcl/util/backport-util-concurrent/" |
60 |
SRC_URI="http://dcl.mathcs.emory.edu/util/${PN}/dist/${P}/Java50/${PN}-Java50-${PV}-src.zip" |
61 |
|
62 |
LICENSE="public-domain" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" |
65 |
IUSE="" |
66 |
|
67 |
DEPEND="=virtual/jdk-1.5* |
68 |
test? ( =dev-java/junit-3* ) |
69 |
app-arch/unzip" |
70 |
RDEPEND=">=virtual/jdk-1.5" |
71 |
|
72 |
S="${WORKDIR}/${P}-src" |
73 |
|
74 |
src_unpack() { |
75 |
unpack ${A} |
76 |
# This is just workaround because setting ${S} in pkg_setup doesn't currently |
77 |
# work and this seems better than doing it in global scope |
78 |
mv ${PN}-Java50-${PV}-src ${P}-src || die |
79 |
cd "${S}" |
80 |
|
81 |
if use test; then |
82 |
# make test not dependo n make |
83 |
epatch "${FILESDIR}/${P}-test.patch" |
84 |
else |
85 |
# don't compile test classes |
86 |
epatch "${FILESDIR}/${P}-notest.patch" |
87 |
fi |
88 |
|
89 |
cd "${S}/external" |
90 |
rm -v *.jar || die |
91 |
|
92 |
use test && java-pkg_jar-from --build-only junit |
93 |
} |
94 |
|
95 |
EANT_BUILD_TARGET="javacompile archive" |
96 |
|
97 |
src_test() { |
98 |
eant test |
99 |
} |
100 |
|
101 |
src_install() { |
102 |
java-pkg_dojar ${PN}.jar |
103 |
dohtml README.html || die |
104 |
|
105 |
use doc && java-pkg_dojavadoc doc/api |
106 |
use source && java-pkg_dosrc src/* |
107 |
} |