From ea3e1bbf643d1d8892f4df05e4f05c1b2a2125d8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 15 Sep 2023 10:49:51 +0100 Subject: gentoo auto-resync : 15:09:2023 - 10:49:51 --- dev-java/osgi-cmpn/Manifest | 1 + dev-java/osgi-cmpn/osgi-cmpn-8.0.0-r1.ebuild | 45 ++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 dev-java/osgi-cmpn/osgi-cmpn-8.0.0-r1.ebuild (limited to 'dev-java/osgi-cmpn') diff --git a/dev-java/osgi-cmpn/Manifest b/dev-java/osgi-cmpn/Manifest index 65e81d58c3c4..aed4776e8600 100644 --- a/dev-java/osgi-cmpn/Manifest +++ b/dev-java/osgi-cmpn/Manifest @@ -1,3 +1,4 @@ DIST osgi-cmpn-8.0.0.jar 1897102 BLAKE2B efc22960e4f56e85c2ab5dd392c3793c69055e4c1fe19522f00863c59ebc27be817fffe678ebff876be114ae38cd09c561eb6efba3c25a5ebda96732330eec3b SHA512 194ce255a42c04f6515bfe982ea4685dbcfa6227a07572d17ead7fd0e5b07ca4c29a1cec7edf61a5d4e99fbd1bfadecdbf5a2128f73ace3812092ef9e310b727 +EBUILD osgi-cmpn-8.0.0-r1.ebuild 991 BLAKE2B 486c51db1573d600a49e64ec41f0c7940f5b9379706d5667dd8b3a76c260b6d9b236961787e16449adbb25266074a340e7b8d36b21e32735d26973816ea99996 SHA512 240b518761e48fad1f5a24dee38767548142a8c1aad00fc3003d7944f973ddfc5b569b91c662525ef603e09ef846f30d8e5f8f7e51ad095de7e336ebc7b62228 EBUILD osgi-cmpn-8.0.0.ebuild 987 BLAKE2B 866b048e793d32dd0d3000dbe232b6b475282fd0c6d3f985b1ee66e6cf8b083f2bd31268e83e47930e042d364b8db7d2873e9ceed4e6df74b17da5d125cca690 SHA512 cd631482289e6a9c77f258a7d1fadc87eb15e08b0d832b269338deaf4cc415c121ac7452e742d8973a78ac20e404a4a70c1fc630e328f19b8b0b98ffb588b948 MISC metadata.xml 237 BLAKE2B 7c3263833976c18611a5cba44845af4d80f2f86c48cf587a657292ed0074022088cef88756e3209b292252dce5c0eea307c4f2f45f28b8517609124708f7d09a SHA512 e8227b536eb45569cbf744907106e101d1aa6bf9ba8337783786d719ab107d8bda0fde5dd7067d168181d694b4161b12d1ef3cb5a83b14971b21aa4479670559 diff --git a/dev-java/osgi-cmpn/osgi-cmpn-8.0.0-r1.ebuild b/dev-java/osgi-cmpn/osgi-cmpn-8.0.0-r1.ebuild new file mode 100644 index 000000000000..00651e5ccc58 --- /dev/null +++ b/dev-java/osgi-cmpn/osgi-cmpn-8.0.0-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.osgi:osgi.cmpn:8.0.0" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="OSGi Service Platform Compendium API (Companion Code)" +HOMEPAGE="https://docs.osgi.org" +SRC_URI="https://docs.osgi.org/download/r$(ver_cut 1)/${PN/-/.}-${PV}.jar -> ${P}.jar" + +LICENSE="Apache-2.0 OSGi-Specification-2.0" +SLOT="8" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +CP_DEPEND=" + dev-java/cdi-api:0 + dev-java/javax-persistence-api:0 + dev-java/jakarta-servlet-api:4 + dev-java/javax-inject:0 + dev-java/jaxrs-api:0 + dev-java/osgi-annotation:0 + dev-java/osgi-core:0 +" + +DEPEND="${CP_DEPEND} + >=virtual/jdk-11:*" + +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +BDEPEND="app-arch/unzip" + +JAVA_SRC_DIR="OSGI-OPT/src" + +src_prepare() { + default + java-pkg_clean org + sed \ + -e 's/javax\(.enterprise\)/jakarta\1/' \ + -i OSGI-OPT/src/org/osgi/service/cdi/*/*.java || die +} -- cgit v1.2.3