Gentoo Archives: gentoo-commits

From: "Petteri Raty (betelgeuse)" <betelgeuse@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/jgroups: ChangeLog jgroups-2.4.1_p1-r2.ebuild
Date: Mon, 28 Apr 2008 01:38:40
Message-Id: E1JqIKD-0000Lt-4Z@stork.gentoo.org
1 betelgeuse 08/04/28 01:38:37
2
3 Modified: ChangeLog
4 Added: jgroups-2.4.1_p1-r2.ebuild
5 Log:
6 Switch to jmx virtual.
7 (Portage version: 2.1.5_rc6)
8
9 Revision Changes Path
10 1.22 dev-java/jgroups/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jgroups/ChangeLog?rev=1.22&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jgroups/ChangeLog?rev=1.22&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jgroups/ChangeLog?r1=1.21&r2=1.22
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-java/jgroups/ChangeLog,v
19 retrieving revision 1.21
20 retrieving revision 1.22
21 diff -u -r1.21 -r1.22
22 --- ChangeLog 20 Jun 2007 15:24:22 -0000 1.21
23 +++ ChangeLog 28 Apr 2008 01:38:36 -0000 1.22
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-java/jgroups
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jgroups/ChangeLog,v 1.21 2007/06/20 15:24:22 caster Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jgroups/ChangeLog,v 1.22 2008/04/28 01:38:36 betelgeuse Exp $
30 +
31 +*jgroups-2.4.1_p1-r2 (28 Apr 2008)
32 +
33 + 28 Apr 2008; Petteri Räty <betelgeuse@g.o>
34 + +jgroups-2.4.1_p1-r2.ebuild:
35 + Switch to jmx virtual.
36
37 20 Jun 2007; Vlastimil Babka <caster@g.o> -jgroups-2.2.7-r1.ebuild,
38 -jgroups-2.2.7-r2.ebuild, -jgroups-2.4.1_p1.ebuild:
39
40
41
42 1.1 dev-java/jgroups/jgroups-2.4.1_p1-r2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jgroups/jgroups-2.4.1_p1-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jgroups/jgroups-2.4.1_p1-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: jgroups-2.4.1_p1-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-java/jgroups/jgroups-2.4.1_p1-r2.ebuild,v 1.1 2008/04/28 01:38:36 betelgeuse Exp $
52
53 JAVA_PKG_IUSE="doc source"
54
55 inherit java-pkg-2 java-ant-2
56
57 MY_PN="JGroups"
58 MY_PV="${PV/_p/-sp}"
59 MY_P="${MY_PN}-${MY_PV}"
60 DESCRIPTION="JGroups is a toolkit for reliable multicast communication."
61 SRC_URI="mirror://sourceforge/javagroups/${MY_P}.src.zip"
62 HOMEPAGE="http://www.jgroups.org/javagroupsnew/docs/"
63 LICENSE="LGPL-2.1"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc ~x86"
66 RDEPEND=">=virtual/jre-1.4
67 dev-java/bsh
68 dev-java/commons-logging
69 dev-java/concurrent-util
70 dev-java/sun-jms
71 java-virtuals/jmx"
72
73 DEPEND=">=virtual/jdk-1.4
74 ${RDEPEND}
75 app-arch/unzip"
76
77 S=${WORKDIR}/${MY_P}.src
78
79 src_unpack() {
80 unpack ${A}
81
82 cd "${S}"
83 epatch "${FILESDIR}/2.4.1-jdk4.patch"
84
85 cd "${S}/lib" || die
86 rm -v *.jar || die
87
88 java-pkg_jar-from bsh
89 java-pkg_jar-from commons-logging
90 java-pkg_jar-from concurrent-util
91 java-pkg_jar-from sun-jms
92 java-pkg_jar-from --virtual jmx
93
94 # Needed for unit tests
95 #java-pkg_jar-from --build-only junit
96 # One unit tests needs this
97 #java-pkg_jar-from --build-only bcprov
98
99 # Just get rid of these as they are of no use to us as we don't install them
100 # Always tries to compile them. Does not build on 1.4 if we don't remove
101 # these as they require java.lang.management
102 rm -vr "${S}"/tests/{junit,other}/org || die
103 java-pkg_filter-compiler jikes
104 }
105
106 JAVA_ANT_ENCODING="ISO-8859-1"
107
108 # The jar target generates jgroups-all.jar that has the demos and tests in it
109 EANT_BUILD_TARGET="jgroups-core.jar"
110
111 src_install() {
112 java-pkg_dojar dist/jgroups-*.jar
113 dodoc CREDITS README || die
114
115 if use doc; then
116 java-pkg_dojavadoc dist/javadoc
117 insinto /usr/share/doc/${PF}
118 doins -r doc/* || die
119 fi
120 use source && java-pkg_dosrc src/*
121
122 }
123
124 RESTRICT="test"
125 # A lot of these fail
126 src_test() {
127 # run the report target for nice html pages
128 ANT_TASKS="ant-junit" eant unittests-xml
129 }
130
131
132
133 --
134 gentoo-commits@l.g.o mailing list