Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jansi/
Date: Wed, 28 Apr 2021 09:05:51
Message-Id: 1619600725.861d16e6e8f48edb6a176649c806b6d1460b3f0e.fordfrog@gentoo
1 commit: 861d16e6e8f48edb6a176649c806b6d1460b3f0e
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 28 09:05:25 2021 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 28 09:05:25 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=861d16e6
7
8 dev-java/jansi: switched to slot 0 + eapi7/java 1.8 in 1.11
9
10 Closes: https://bugs.gentoo.org/783906
11 Package-Manager: Portage-3.0.18, Repoman-3.0.3
12 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
13
14 .../jansi/{jansi-1.11-r1.ebuild => jansi-1.11-r2.ebuild} | 15 ++++++++-------
15 1 file changed, 8 insertions(+), 7 deletions(-)
16
17 diff --git a/dev-java/jansi/jansi-1.11-r1.ebuild b/dev-java/jansi/jansi-1.11-r2.ebuild
18 similarity index 81%
19 rename from dev-java/jansi/jansi-1.11-r1.ebuild
20 rename to dev-java/jansi/jansi-1.11-r2.ebuild
21 index 0d9a907524d..0c1149bbd7b 100644
22 --- a/dev-java/jansi/jansi-1.11-r1.ebuild
23 +++ b/dev-java/jansi/jansi-1.11-r2.ebuild
24 @@ -1,7 +1,7 @@
25 -# Copyright 1999-2020 Gentoo Authors
26 +# Copyright 1999-2021 Gentoo Authors
27 # Distributed under the terms of the GNU General Public License v2
28
29 -EAPI="5"
30 +EAPI=7
31
32 # TODO: Get doc (missing classpath entries) working.
33 JAVA_PKG_IUSE="source test"
34 @@ -10,10 +10,10 @@ inherit vcs-snapshot java-pkg-2 java-ant-2
35
36 DESCRIPTION="A library that allows you to use ANSI escape sequences in your console output"
37 HOMEPAGE="http://jansi.fusesource.org/"
38 -SRC_URI="https://github.com/fusesource/${PN}/tarball/${PN}-project-${PV} -> ${P}.tar.gz"
39 +SRC_URI="https://github.com/fusesource/${PN}/archive/${PN}-project-${PV}.tar.gz -> ${P}.tar.gz"
40
41 LICENSE="Apache-2.0"
42 -SLOT="1.11"
43 +SLOT="0"
44 KEYWORDS="amd64 ~arm64 ~ppc64 x86"
45
46 CDEPEND="dev-java/jansi-native:0"
47 @@ -23,10 +23,10 @@ DEPEND="${CDEPEND}
48 dev-java/ant-junit4:0
49 dev-java/junit:4
50 )
51 - >=virtual/jdk-1.7"
52 + >=virtual/jdk-1.8:*"
53
54 RDEPEND="${CDEPEND}
55 - >=virtual/jre-1.5"
56 + >=virtual/jre-1.8:*"
57
58 S="${WORKDIR}/${P}/jansi"
59
60 @@ -34,7 +34,8 @@ EANT_GENTOO_CLASSPATH="jansi-native"
61 JAVA_ANT_REWRITE_CLASSPATH="true"
62 JAVA_SRC_DIR="src/main/java"
63
64 -java_prepare() {
65 +src_prepare() {
66 + default
67 cp "${FILESDIR}"/${P}-build.xml build.xml || die
68 }