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 1EAF0158089 for ; Fri, 15 Sep 2023 07:05:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 359352BC01C; 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 182972BC017 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 5078E335C78 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 8A3FE1148 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: <1694761502.853cd98d1eeaa4902d0943b7678f630a8fd7a222.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/javax-persistence-api/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/javax-persistence-api/Manifest dev-java/javax-persistence-api/javax-persistence-api-2.2.ebuild dev-java/javax-persistence-api/metadata.xml X-VCS-Directories: dev-java/javax-persistence-api/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 853cd98d1eeaa4902d0943b7678f630a8fd7a222 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: bdbfa494-cc26-4652-9653-8f90616e1dce X-Archives-Hash: 64952ba94df76aa7d7bdf753329d7c5a commit: 853cd98d1eeaa4902d0943b7678f630a8fd7a222 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Tue Sep 12 06:23:00 2023 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Fri Sep 15 07:05:02 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=853cd98d dev-java/javax-persistence-api: new package, add 2.2 Replacement for glassfish-persistence with much smaller download Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Signed-off-by: Miroslav Šulc gentoo.org> dev-java/javax-persistence-api/Manifest | 1 + .../javax-persistence-api-2.2.ebuild | 33 ++++++++++++++++++++++ dev-java/javax-persistence-api/metadata.xml | 7 +++++ 3 files changed, 41 insertions(+) diff --git a/dev-java/javax-persistence-api/Manifest b/dev-java/javax-persistence-api/Manifest new file mode 100644 index 000000000000..1860158b5d05 --- /dev/null +++ b/dev-java/javax-persistence-api/Manifest @@ -0,0 +1 @@ +DIST javax.persistence-api-2.2-sources.jar 257011 BLAKE2B 022d70134c8cd9cb8afd0f65f1530e8937dd3535ba533d98f59409f28a39b9238dc23e10b8f86378b1e817520839c25647aad4c01b9234dc65be4bd68bdc9bb6 SHA512 07a31f509fc7215e3f671579ce63161ac3e776171a240c9d087e8f47423d65f590026fe7c2fcd67365894ee906eb4b39e81f070d7f795346e18697775efdf428 diff --git a/dev-java/javax-persistence-api/javax-persistence-api-2.2.ebuild b/dev-java/javax-persistence-api/javax-persistence-api-2.2.ebuild new file mode 100644 index 000000000000..3d5530cc261e --- /dev/null +++ b/dev-java/javax-persistence-api/javax-persistence-api-2.2.ebuild @@ -0,0 +1,33 @@ +# 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="javax.persistence:javax.persistence-api:${PV}" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Persistence API" +HOMEPAGE="https://www.jcp.org/en/jsr/detail?id=220" +SRC_URI="https://repo1.maven.org/maven2/javax/persistence/${PN/-/.}/${PV}/${PN/-/.}-${PV}-sources.jar" + +LICENSE="CDDL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +BDEPEND="app-arch/unzip" +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_RESOURCE_DIRS="resources" + +src_prepare() { + java-pkg-2_src_prepare + + # java-pkg-simple.eclass wants resources in JAVA_RESOURCE_DIRS + mkdir resources || die + find -type f \ + -name '*.xsd' \ + | xargs cp --parent -t resources || die +} diff --git a/dev-java/javax-persistence-api/metadata.xml b/dev-java/javax-persistence-api/metadata.xml new file mode 100644 index 000000000000..75321cfb5598 --- /dev/null +++ b/dev-java/javax-persistence-api/metadata.xml @@ -0,0 +1,7 @@ + + + + + java@gentoo.org + +