1 |
ali_bush 11/04/28 07:22:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: jline-1.0.ebuild |
5 |
Log: |
6 |
Version Bump. |
7 |
|
8 |
(Portage version: 2.1.9.46/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.23 dev-java/jline/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jline/ChangeLog?rev=1.23&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jline/ChangeLog?rev=1.23&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jline/ChangeLog?r1=1.22&r2=1.23 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/jline/ChangeLog,v |
20 |
retrieving revision 1.22 |
21 |
retrieving revision 1.23 |
22 |
diff -u -r1.22 -r1.23 |
23 |
--- ChangeLog 3 Jan 2010 21:02:33 -0000 1.22 |
24 |
+++ ChangeLog 28 Apr 2011 07:22:10 -0000 1.23 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-java/jline |
27 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jline/ChangeLog,v 1.22 2010/01/03 21:02:33 fauli Exp $ |
29 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jline/ChangeLog,v 1.23 2011/04/28 07:22:10 ali_bush Exp $ |
31 |
+ |
32 |
+*jline-1.0 (28 Apr 2011) |
33 |
+ |
34 |
+ 28 Apr 2011; Alistair Bush <ali_bush@g.o> +jline-1.0.ebuild: |
35 |
+ Version Bump. |
36 |
|
37 |
03 Jan 2010; Christian Faulhammer <fauli@g.o> jline-0.9.94.ebuild: |
38 |
Transfer Prefix keywords |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-java/jline/jline-1.0.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jline/jline-1.0.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jline/jline-1.0.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: jline-1.0.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/jline/jline-1.0.ebuild,v 1.1 2011/04/28 07:22:10 ali_bush Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
JAVA_PKG_IUSE="source test" |
55 |
inherit java-pkg-2 java-ant-2 |
56 |
|
57 |
DESCRIPTION="A Java library for handling console input" |
58 |
HOMEPAGE="http://jline.sourceforge.net/" |
59 |
SRC_URI="mirror://sourceforge/${PN}/${P}.zip" |
60 |
LICENSE="BSD" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
63 |
IUSE="" |
64 |
|
65 |
DEPEND=">=virtual/jdk-1.4 |
66 |
app-arch/unzip |
67 |
test? ( dev-java/ant-junit )" |
68 |
RDEPEND=">=virtual/jre-1.4" |
69 |
|
70 |
S="${WORKDIR}/${P}/src" |
71 |
|
72 |
java_prepare() { |
73 |
rm -fv "${WORKDIR}"/${P}/*.jar || die |
74 |
|
75 |
# we don't support maven for building yet. this build.xml was generated by: |
76 |
# - mvn ant:ant |
77 |
# - tweak build.xml to not load properties from home dir |
78 |
# - tweak the test target to match the test cases |
79 |
# - change maven.repo.local from ~/.maven to "lib" in .properties |
80 |
# - change classpath definitions to "*.jar" |
81 |
cp "${FILESDIR}/maven-build.xml" build.xml || die |
82 |
cp "${FILESDIR}/maven-build.properties" . || die |
83 |
java-ant_ignore-system-classes |
84 |
|
85 |
mkdir lib && cd lib || die |
86 |
use test && java-pkg_jar-from --build-only junit |
87 |
} |
88 |
|
89 |
src_compile() { |
90 |
# precompiled javadocs (needs maven to generate) |
91 |
# -Dmaven.build.finalName is needed to override the one defined in the |
92 |
# build.xml, which because it was generated with 0.9.9, defaults to |
93 |
# jline-0.9.9 -nichoj |
94 |
eant package -Dmaven.build.finalName=${P} |
95 |
} |
96 |
|
97 |
src_test() { |
98 |
ANT_TASKS="ant-junit" eant test -Djunit.present=true |
99 |
} |
100 |
|
101 |
src_install() { |
102 |
java-pkg_newjar target/${P}.jar |
103 |
#no api docs in this release |
104 |
#use doc && java-pkg_dojavadoc ../apidocs |
105 |
use source && java-pkg_dosrc src/main/java |
106 |
} |