From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E13AE158089 for ; Fri, 15 Sep 2023 07:05:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33A682BC017; Fri, 15 Sep 2023 07:05:14 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1AEFA2BC01C for ; Fri, 15 Sep 2023 07:05:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 57422335D16 for ; Fri, 15 Sep 2023 07:05:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9E9CA11A2 for ; Fri, 15 Sep 2023 07:05:11 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1694761508.9010689123dab002d81d6660fa9d413de47c7c31.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/osgi-cmpn/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/osgi-cmpn/osgi-cmpn-8.0.0-r1.ebuild X-VCS-Directories: dev-java/osgi-cmpn/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 9010689123dab002d81d6660fa9d413de47c7c31 X-VCS-Branch: master Date: Fri, 15 Sep 2023 07:05:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d5c2c297-31e0-4a7a-ad22-9835022a4d08 X-Archives-Hash: 1ebc57bc83467f04cac88b12290a4f14 commit: 9010689123dab002d81d6660fa9d413de47c7c31 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Tue Sep 12 07:19:59 2023 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Fri Sep 15 07:05:08 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90106891 dev-java/osgi-cmpn: replace glassfish-persistence with javax-persistence-api Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/32735 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/osgi-cmpn/osgi-cmpn-8.0.0-r1.ebuild | 45 ++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) 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 +}