commit:     36590c60f059a5dc604e1691cb8b7e4a032cb841
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sun Dec 12 21:52:30 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Dec 13 07:11:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36590c60

dev-java/osgi-core-api: EAPI 8, min java 1.8:*

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: 
https://github.com/gentoo/gentoo/pull/23280/commits/a96be15c7b61ff41f2cb849bacbbe9014f5c73f4
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 .../osgi-core-api/osgi-core-api-5.0.0-r2.ebuild    | 29 ++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/dev-java/osgi-core-api/osgi-core-api-5.0.0-r2.ebuild 
b/dev-java/osgi-core-api/osgi-core-api-5.0.0-r2.ebuild
new file mode 100644
index 000000000000..22a609e19717
--- /dev/null
+++ b/dev-java/osgi-core-api/osgi-core-api-5.0.0-r2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="org.osgi:org.osgi.core:5.0.0"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="OSGi Service Platform Core API (Companion Code)"
+HOMEPAGE="http://www.osgi.org/Specifications/HomePage";
+SRC_URI="http://www.osgi.org/download/r5/osgi.core-${PV}.jar";
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x64-macos"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+DEPEND=">=virtual/jdk-1.8:*
+       app-arch/unzip"
+
+JAVA_SRC_DIR="OSGI-OPT/src"
+
+src_prepare() {
+       default
+       rm -r org || die
+}

Reply via email to