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/jansi: jansi-1.11.ebuild ChangeLog
Date: Tue, 04 Jun 2013 17:48:31
Message-Id: 20130604174828.816B32171E@flycatcher.gentoo.org
1 tomwij 13/06/04 17:48:28
2
3 Modified: ChangeLog
4 Added: jansi-1.11.ebuild
5 Log:
6 Version bumped to 1.11; dropped keywords amd64-linux ppc ppc-macos x86-linux x86-macos as java-native doesn't have these, see bug #472322.
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.5 dev-java/jansi/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jansi/ChangeLog?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jansi/ChangeLog?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jansi/ChangeLog?r1=1.4&r2=1.5
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-java/jansi/ChangeLog,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- ChangeLog 13 Aug 2011 07:07:41 -0000 1.4
24 +++ ChangeLog 4 Jun 2013 17:48:28 -0000 1.5
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-java/jansi
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jansi/ChangeLog,v 1.4 2011/08/13 07:07:41 xarthisius Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jansi/ChangeLog,v 1.5 2013/06/04 17:48:28 tomwij Exp $
31 +
32 +*jansi-1.11 (04 Jun 2013)
33 +
34 + 04 Jun 2013; Tom Wijsman <TomWij@g.o> +files/jansi-1.11-build.xml,
35 + +jansi-1.11.ebuild:
36 + Version bumped to 1.11; dropped keywords amd64-linux ppc ppc-macos x86-linux
37 + x86-macos as java-native doesn't have these, see bug #472322.
38
39 13 Aug 2011; Kacper Kowalik <xarthisius@g.o> jansi-1.1.ebuild:
40 ppc stable wrt #348255
41 @@ -16,4 +23,3 @@
42 24 May 2010; Jean-Noël Rivasseau <elvanor@g.o> +jansi-1.1.ebuild,
43 +metadata.xml:
44 Initial import.
45 -
46
47
48
49 1.1 dev-java/jansi/jansi-1.11.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jansi/jansi-1.11.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jansi/jansi-1.11.ebuild?rev=1.1&content-type=text/plain
53
54 Index: jansi-1.11.ebuild
55 ===================================================================
56 # Copyright 1999-2013 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/dev-java/jansi/jansi-1.11.ebuild,v 1.1 2013/06/04 17:48:28 tomwij Exp $
59
60 EAPI="5"
61
62 # TODO: Get tests (misses junit jar) and doc (missing classpath entries) working.
63 JAVA_PKG_IUSE="source test"
64 RESTRICT="test"
65
66 inherit vcs-snapshot java-pkg-2 java-ant-2
67
68 DESCRIPTION="Jansi is a small java library that allows you to use ANSI escape sequences in your console output"
69 HOMEPAGE="http://jansi.fusesource.org/"
70 SRC_URI="https://github.com/fusesource/${PN}/tarball/${PN}-project-${PV} -> ${P}.tar.gz"
71
72 LICENSE="Apache-2.0"
73 SLOT="0"
74 KEYWORDS="~amd64 ~x86"
75
76 CDEPEND="dev-java/jansi-native:0"
77
78 DEPEND="${CDEPEND}
79 test? ( dev-java/junit:4 )
80 >=virtual/jdk-1.5"
81
82 RDEPEND="${CDEPEND}
83 >=virtual/jre-1.5"
84
85 S="${WORKDIR}/${P}/jansi"
86
87 EANT_GENTOO_CLASSPATH="jansi-native"
88 JAVA_ANT_REWRITE_CLASSPATH="true"
89 JAVA_SRC_DIR="src/main/java"
90
91 java_prepare() {
92 cp "${FILESDIR}"/${P}-build.xml build.xml || die
93 }
94
95 EANT_TEST_GENTOO_CLASSPATH="junit-4"
96
97 src_test() {
98 java-pkg-2_src_test
99 }
100
101 src_install() {
102 java-pkg_newjar target/${P}.jar ${PN}.jar
103
104 use source && java-pkg_dosrc src/main/java/org
105 }