1 |
commit: feb21d032294b66f1f8210335bd166fd7bb498b7 |
2 |
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> |
3 |
AuthorDate: Fri May 28 17:11:29 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 29 08:46:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feb21d03 |
7 |
|
8 |
dev-java/osgi-enterprise-api: SRC_URI, min java 1.8 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/786762 |
11 |
Closes: https://bugs.gentoo.org/785043 |
12 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
13 |
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> |
14 |
Closes: https://github.com/gentoo/gentoo/pull/21025 |
15 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
16 |
|
17 |
....ebuild => osgi-enterprise-api-5.0.0-r1.ebuild} | 23 ++++++++-------------- |
18 |
.../osgi-enterprise-api-5.0.0.ebuild | 2 +- |
19 |
2 files changed, 9 insertions(+), 16 deletions(-) |
20 |
|
21 |
diff --git a/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0.ebuild b/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0-r1.ebuild |
22 |
similarity index 57% |
23 |
copy from dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0.ebuild |
24 |
copy to dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0-r1.ebuild |
25 |
index 54d3162af6c..6150e0d2c5f 100644 |
26 |
--- a/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0.ebuild |
27 |
+++ b/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0-r1.ebuild |
28 |
@@ -1,45 +1,38 @@ |
29 |
-# Copyright 1999-2020 Gentoo Authors |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
# Distributed under the terms of the GNU General Public License v2 |
32 |
|
33 |
-EAPI="5" |
34 |
+EAPI=7 |
35 |
|
36 |
JAVA_PKG_IUSE="doc source" |
37 |
|
38 |
inherit java-pkg-2 java-pkg-simple |
39 |
|
40 |
DESCRIPTION="OSGi Enterprise Release 5 Companion Code" |
41 |
-SRC_URI="http://www.osgi.org/download/r5/osgi.enterprise-${PV}.jar" |
42 |
HOMEPAGE="http://www.osgi.org/Main/HomePage" |
43 |
+SRC_URI="https://docs.osgi.org/download/r5/osgi.enterprise-${PV}.jar" |
44 |
|
45 |
LICENSE="Apache-2.0 OSGi-Specification-2.0" |
46 |
SLOT="0" |
47 |
KEYWORDS="amd64 ~ppc64 x86" |
48 |
|
49 |
-RESTRICT="bindist fetch" |
50 |
+RESTRICT="bindist" |
51 |
|
52 |
CDEPEND="dev-java/glassfish-persistence:0 |
53 |
dev-java/osgi-core-api:0 |
54 |
java-virtuals/servlet-api:2.5" |
55 |
|
56 |
RDEPEND="${CDEPEND} |
57 |
- >=virtual/jre-1.5" |
58 |
+ >=virtual/jre-1.8:*" |
59 |
|
60 |
DEPEND="${CDEPEND} |
61 |
- >=virtual/jdk-1.5 |
62 |
+ >=virtual/jdk-1.8:* |
63 |
app-arch/unzip" |
64 |
|
65 |
JAVA_SRC_DIR="OSGI-OPT/src" |
66 |
|
67 |
JAVA_GENTOO_CLASSPATH="glassfish-persistence,osgi-core-api,servlet-api-2.5" |
68 |
|
69 |
-pkg_nofetch() { |
70 |
- einfo "Please download osgi.enterprise-${PV}.jar from" |
71 |
- einfo " http://www.osgi.org/Download/Release5" |
72 |
- einfo "which you can find listed as" |
73 |
- einfo " OSGi Enterprise Release 5 Companion Code" |
74 |
- einfo "after accepting the license." |
75 |
-} |
76 |
- |
77 |
-java_prepare() { |
78 |
+src_prepare() { |
79 |
+ default |
80 |
rm -r org || die |
81 |
} |
82 |
|
83 |
diff --git a/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0.ebuild b/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0.ebuild |
84 |
index 54d3162af6c..72b81f3f95a 100644 |
85 |
--- a/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0.ebuild |
86 |
+++ b/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0.ebuild |
87 |
@@ -1,4 +1,4 @@ |
88 |
-# Copyright 1999-2020 Gentoo Authors |
89 |
+# Copyright 1999-2021 Gentoo Authors |
90 |
# Distributed under the terms of the GNU General Public License v2 |
91 |
|
92 |
EAPI="5" |