Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jansi/
Date: Fri, 18 Dec 2015 16:33:51
Message-Id: 1450456364.a7e188e8e63b00e028ea5118f21d2d9a823e2303.monsieurp@gentoo
1 commit: a7e188e8e63b00e028ea5118f21d2d9a823e2303
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 18 16:29:47 2015 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 18 16:32:44 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7e188e8
7
8 dev-java/jansi: Make use of java-pkg-simple and allow for compilation to go through. Fixes bug 568616.
9
10 Package-Manager: portage-2.2.20.1
11 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
12
13 dev-java/jansi/jansi-1.5-r1.ebuild | 33 +++++++++++++++++++++++++++++++++
14 1 file changed, 33 insertions(+)
15
16 diff --git a/dev-java/jansi/jansi-1.5-r1.ebuild b/dev-java/jansi/jansi-1.5-r1.ebuild
17 new file mode 100644
18 index 0000000..9eb6c5e
19 --- /dev/null
20 +++ b/dev-java/jansi/jansi-1.5-r1.ebuild
21 @@ -0,0 +1,33 @@
22 +# Copyright 1999-2015 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI="5"
27 +JAVA_PKG_IUSE="source doc"
28 +
29 +inherit java-pkg-2 java-pkg-simple
30 +
31 +DESCRIPTION="Jansi is a small java library that allows you to use ANSI escape sequences in your console output"
32 +HOMEPAGE="http://jansi.fusesource.org/"
33 +SRC_URI="https://github.com/fusesource/${PN}/archive/${P}.zip"
34 +
35 +LICENSE="Apache-2.0"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~x86 ~ppc ~ppc64"
38 +
39 +CDEPEND="dev-java/jansi-native:0"
40 +
41 +DEPEND="${CDEPEND}
42 + >=virtual/jdk-1.6"
43 +
44 +RDEPEND="${CDEPEND}
45 + >=virtual/jre-1.6"
46 +
47 +S="${WORKDIR}/${PN}-${P}"
48 +
49 +JAVA_GENTOO_CLASSPATH="jansi-native"
50 +JAVA_SRC_DIR="src"
51 +
52 +java_prepare() {
53 + rm -rf src/test || die
54 +}