1 |
commit: e4ba20535683a14c5ba34e57ac6c6fffd5a45460 |
2 |
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> |
3 |
AuthorDate: Sat May 7 08:22:08 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 9 19:13:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4ba2053 |
7 |
|
8 |
dev-java/osgi-enterprise-api: switch from java-virtual to tomcat-servlet-api |
9 |
|
10 |
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/25366 |
12 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
13 |
|
14 |
.../osgi-enterprise-api-5.0.0-r2.ebuild | 37 ++++++++++++++++++++++ |
15 |
1 file changed, 37 insertions(+) |
16 |
|
17 |
diff --git a/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0-r2.ebuild b/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0-r2.ebuild |
18 |
new file mode 100644 |
19 |
index 000000000000..17de5b1b0649 |
20 |
--- /dev/null |
21 |
+++ b/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0-r2.ebuild |
22 |
@@ -0,0 +1,37 @@ |
23 |
+# Copyright 1999-2022 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=8 |
27 |
+ |
28 |
+JAVA_PKG_IUSE="doc source" |
29 |
+ |
30 |
+inherit java-pkg-2 java-pkg-simple |
31 |
+ |
32 |
+DESCRIPTION="OSGi Enterprise Release 5 Companion Code" |
33 |
+HOMEPAGE="http://www.osgi.org/Main/HomePage" |
34 |
+SRC_URI="https://docs.osgi.org/download/r5/osgi.enterprise-${PV}.jar" |
35 |
+ |
36 |
+LICENSE="Apache-2.0 OSGi-Specification-2.0" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
39 |
+ |
40 |
+RESTRICT="bindist" |
41 |
+ |
42 |
+CP_DEPEND="dev-java/glassfish-persistence:0 |
43 |
+ dev-java/osgi-core-api:0 |
44 |
+ dev-java/tomcat-servlet-api:2.5" |
45 |
+ |
46 |
+RDEPEND="${CP_DEPEND} |
47 |
+ >=virtual/jre-1.8:*" |
48 |
+ |
49 |
+DEPEND="${CP_DEPEND} |
50 |
+ >=virtual/jdk-1.8:*" |
51 |
+ |
52 |
+BDEPEND="app-arch/unzip" |
53 |
+ |
54 |
+JAVA_SRC_DIR="OSGI-OPT/src" |
55 |
+ |
56 |
+src_prepare() { |
57 |
+ default |
58 |
+ rm -r org || die |
59 |
+} |