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/commons-net: commons-net-3.2.ebuild ChangeLog
Date: Wed, 29 May 2013 13:28:37
Message-Id: 20130529132832.04C2D2171D@flycatcher.gentoo.org
1 tomwij 13/05/29 13:28:31
2
3 Modified: ChangeLog
4 Added: commons-net-3.2.ebuild
5 Log:
6 Version bump to 3.2.
7
8 (Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
9
10 Revision Changes Path
11 1.50 dev-java/commons-net/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-net/ChangeLog?rev=1.50&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-net/ChangeLog?rev=1.50&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-net/ChangeLog?r1=1.49&r2=1.50
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-java/commons-net/ChangeLog,v
20 retrieving revision 1.49
21 retrieving revision 1.50
22 diff -u -r1.49 -r1.50
23 --- ChangeLog 31 Dec 2011 12:28:49 -0000 1.49
24 +++ ChangeLog 29 May 2013 13:28:31 -0000 1.50
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-java/commons-net
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-net/ChangeLog,v 1.49 2011/12/31 12:28:49 sera Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-net/ChangeLog,v 1.50 2013/05/29 13:28:31 tomwij Exp $
31 +
32 +*commons-net-3.2 (29 May 2013)
33 +
34 + 29 May 2013; Tom Wijsman <TomWij@g.o> +commons-net-3.2.ebuild,
35 + +files/commons-net-3.2-build.xml:
36 + Version bump to 3.2.
37
38 31 Dec 2011; Ralph Sennhauser <sera@g.o> commons-net-1.4.1-r1.ebuild:
39 Drop ia64 support #345433
40 @@ -189,4 +195,3 @@
41
42 22 Mar 2003; Dylan Carlson <absinthe@g.o> commons-net-1.0.0.ebuild:
43 Initial import.
44 -
45
46
47
48 1.1 dev-java/commons-net/commons-net-3.2.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-net/commons-net-3.2.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-net/commons-net-3.2.ebuild?rev=1.1&content-type=text/plain
52
53 Index: commons-net-3.2.ebuild
54 ===================================================================
55 # Copyright 1999-2013 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/dev-java/commons-net/commons-net-3.2.ebuild,v 1.1 2013/05/29 13:28:31 tomwij Exp $
58
59 EAPI="5"
60
61 # http://issues.apache.org/bugzilla/show_bug.cgi?id=37985
62 RESTRICT="test"
63 JAVA_PKG_IUSE="doc examples source" # test
64
65 inherit eutils java-pkg-2 java-ant-2 java-osgi
66
67 MY_P="${P}-src"
68
69 DESCRIPTION="The purpose of the library is to provide fundamental protocol access, not higher-level abstractions."
70 HOMEPAGE="http://commons.apache.org/net/"
71 SRC_URI="mirror://apache/commons/net/source/${MY_P}.tar.gz"
72
73 DEPEND=">=virtual/jdk-1.5"
74 RDEPEND=">=virtual/jre-1.5"
75
76 LICENSE="Apache-2.0"
77 SLOT="0"
78 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
79
80 S="${WORKDIR}/${MY_P}"
81
82 java_prepare() {
83 cp "${FILESDIR}"/${P}-build.xml build.xml || die
84 sed -i 's/depends="compile,test"/depends="compile"/' build.xml || die "Failed to disable junit"
85 sed -i 's/manifest=".*MANIFEST.MF"//g' build.xml || die
86 sed -i '/name="Main-Class"/d' build.xml || die
87 }
88
89 src_install() {
90 java-osgi_newjar target/${P}.jar ${P} ${P} "Export-Package: ${P}"
91
92 use doc && java-pkg_dojavadoc dist/docs/api
93 use examples && java-pkg_doexamples src/java/examples
94 use source && java-pkg_dosrc src/java/org
95 }