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/javax-persistence-api/Manifest | 3 ++ .../javax-persistence-api-2.2.ebuild | 33 ++++++++++++++++++++++ dev-java/javax-persistence-api/metadata.xml | 7 +++++ 3 files changed, 43 insertions(+) create mode 100644 dev-java/javax-persistence-api/Manifest create mode 100644 dev-java/javax-persistence-api/javax-persistence-api-2.2.ebuild create mode 100644 dev-java/javax-persistence-api/metadata.xml (limited to 'dev-java/javax-persistence-api') diff --git a/dev-java/javax-persistence-api/Manifest b/dev-java/javax-persistence-api/Manifest new file mode 100644 index 000000000000..c02406c43513 --- /dev/null +++ b/dev-java/javax-persistence-api/Manifest @@ -0,0 +1,3 @@ +DIST javax.persistence-api-2.2-sources.jar 257011 BLAKE2B 022d70134c8cd9cb8afd0f65f1530e8937dd3535ba533d98f59409f28a39b9238dc23e10b8f86378b1e817520839c25647aad4c01b9234dc65be4bd68bdc9bb6 SHA512 07a31f509fc7215e3f671579ce63161ac3e776171a240c9d087e8f47423d65f590026fe7c2fcd67365894ee906eb4b39e81f070d7f795346e18697775efdf428 +EBUILD javax-persistence-api-2.2.ebuild 811 BLAKE2B dfe41e4d5ee6a03c769d9ab75f9cfa61846678cca0474de23c4e4d05763e7d75bcd59b609a5d6e7b3af255f2adb2a77909748dc8b9e06e60e5a1946a41fb3dff SHA512 98d2c6b76b091a847707c2962eb8f9d53d95458f0f7d233526c60b6142324e4e83486cc025f44d9cf6604475160767eabaea0e086a809d1c0b4ffdd9f986ff53 +MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6 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 + + -- cgit v1.2.3