diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2021-05-28 19:11:29 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-05-29 10:46:31 +0200 |
commit | feb21d032294b66f1f8210335bd166fd7bb498b7 (patch) | |
tree | c18a0baea50d06359b939e7a8431b9d91124c369 /dev-java | |
parent | dev-perl/ExtUtils-F77: ppc64 stable wrt bug #792708 (diff) | |
download | gentoo-feb21d032294b66f1f8210335bd166fd7bb498b7.tar.gz gentoo-feb21d032294b66f1f8210335bd166fd7bb498b7.tar.bz2 gentoo-feb21d032294b66f1f8210335bd166fd7bb498b7.zip |
dev-java/osgi-enterprise-api: SRC_URI, min java 1.8
Bug: https://bugs.gentoo.org/786762
Closes: https://bugs.gentoo.org/785043
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/21025
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0-r1.ebuild | 38 | ||||
-rw-r--r-- | dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0.ebuild | 2 |
2 files changed, 39 insertions, 1 deletions
diff --git a/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0-r1.ebuild b/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0-r1.ebuild new file mode 100644 index 000000000000..6150e0d2c5f0 --- /dev/null +++ b/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="OSGi Enterprise Release 5 Companion Code" +HOMEPAGE="http://www.osgi.org/Main/HomePage" +SRC_URI="https://docs.osgi.org/download/r5/osgi.enterprise-${PV}.jar" + +LICENSE="Apache-2.0 OSGi-Specification-2.0" +SLOT="0" +KEYWORDS="amd64 ~ppc64 x86" + +RESTRICT="bindist" + +CDEPEND="dev-java/glassfish-persistence:0 + dev-java/osgi-core-api:0 + java-virtuals/servlet-api:2.5" + +RDEPEND="${CDEPEND} + >=virtual/jre-1.8:*" + +DEPEND="${CDEPEND} + >=virtual/jdk-1.8:* + app-arch/unzip" + +JAVA_SRC_DIR="OSGI-OPT/src" + +JAVA_GENTOO_CLASSPATH="glassfish-persistence,osgi-core-api,servlet-api-2.5" + +src_prepare() { + default + rm -r org || die +} 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 index 54d3162af6cd..72b81f3f95a5 100644 --- 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 @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="5" |