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/osgi-compendium/
Date: Sat, 01 May 2021 17:54:29
Message-Id: 1619891640.04fd34cac63463f99f4fbede1fdb7ebf1bbf9667.fordfrog@gentoo
1 commit: 04fd34cac63463f99f4fbede1fdb7ebf1bbf9667
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 1 17:54:00 2021 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Sat May 1 17:54:00 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04fd34ca
7
8 dev-java/osgi-compendium: eapi7 + java 1.8 + newer servlet api
9
10 Closes: https://bugs.gentoo.org/786759
11 Package-Manager: Portage-3.0.18, Repoman-3.0.3
12 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
13
14 ...dium-4.3.1.ebuild => osgi-compendium-4.3.1-r1.ebuild} | 16 +++++++++-------
15 1 file changed, 9 insertions(+), 7 deletions(-)
16
17 diff --git a/dev-java/osgi-compendium/osgi-compendium-4.3.1.ebuild b/dev-java/osgi-compendium/osgi-compendium-4.3.1-r1.ebuild
18 similarity index 79%
19 rename from dev-java/osgi-compendium/osgi-compendium-4.3.1.ebuild
20 rename to dev-java/osgi-compendium/osgi-compendium-4.3.1-r1.ebuild
21 index 058539ddac1..8dcb4b18f10 100644
22 --- a/dev-java/osgi-compendium/osgi-compendium-4.3.1.ebuild
23 +++ b/dev-java/osgi-compendium/osgi-compendium-4.3.1-r1.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 JAVA_PKG_IUSE="doc source"
33
34 @@ -18,14 +18,15 @@ KEYWORDS="amd64 ~ppc64 x86"
35 CDEPEND="dev-java/glassfish-persistence:0
36 dev-java/osgi-core-api:0
37 dev-java/osgi-foundation:0
38 - dev-java/tomcat-servlet-api:3.0"
39 + dev-java/tomcat-servlet-api:4.0"
40
41 DEPEND="${CDEPEND}
42 - >=virtual/jdk-1.5
43 - app-arch/unzip"
44 + >=virtual/jdk-1.8:*"
45
46 RDEPEND="${CDEPEND}
47 - >=virtual/jre-1.5"
48 + >=virtual/jre-1.8:*"
49 +
50 +BDEPEND="app-arch/unzip"
51
52 JAVA_SRC_DIR="OSGI-OPT/src"
53
54 @@ -36,6 +37,7 @@ JAVA_GENTOO_CLASSPATH="
55 tomcat-servlet-api-3.0
56 "
57
58 -java_prepare() {
59 +src_prepare() {
60 + default
61 rm -r org || die
62 }