summaryrefslogtreecommitdiff
path: root/dev-java/xerces
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-12 08:41:54 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-12 08:41:54 +0100
commit4df3bf9762850b34cd1ead5c80374d1a0fc3362e (patch)
tree3080c5cb7ad17abcb63776a9f21c4947845546a6 /dev-java/xerces
parent814f4cf860e299a046b649eaee5463427984c09c (diff)
gentoo resync : 12.07.2021
Diffstat (limited to 'dev-java/xerces')
-rw-r--r--dev-java/xerces/Manifest2
-rw-r--r--dev-java/xerces/xerces-2.12.0-r1.ebuild (renamed from dev-java/xerces/xerces-2.12.0.ebuild)13
2 files changed, 9 insertions, 6 deletions
diff --git a/dev-java/xerces/Manifest b/dev-java/xerces/Manifest
index 50bf95df2daf..77d01a19c1aa 100644
--- a/dev-java/xerces/Manifest
+++ b/dev-java/xerces/Manifest
@@ -1,6 +1,6 @@
AUX xerces-2.12.0-overrides.patch 1526 BLAKE2B 837bba05c47933fa4cc44a5a326fe6a7c872028181ec11c8da7e8ec182c8bcabeead38b1ad336ae20ec47dffb30e98a8d2c181e4dfbffa12d14bfe017fff4e19 SHA512 b81fb06ba89b6ef374205d623d655309778c9713f0ff11fa392d9f53d6331eaa342ce4145433c2e187f26145b3d9b8de7d48778bfd0c29497900ab47556d2bf9
DIST xerces-2.12.0.jar 2113705 BLAKE2B 4224b9c00b9c7f388fc40f3bebe6520a21011f36ee1ffcf62e864fe370bbcac8c45b3627d2aff20655f467661a252e1bfd5cb9613f9bbe5b08f1917d09493fa7 SHA512 21f5218f71b3423a883e2bf5c99f7badd5a004a09454d0b218f57f463daf8fe83e7a186b64dd4c19388795a6e6e995f6ed133bbe4c81aab07b0a0d33cf2f7dbb
DIST xerces-2.12.1.jar 2149927 BLAKE2B b02c518754bcab1da9200122b398496c273a84c07a60945c0eea5524a230f5f4815b619685fc41bf48a124f9147803b9452d5d0105b57d535c9c666c52196571 SHA512 2c4ce274904eda6eb4b0b8800dc8383bc6504e215eb9603c45a25c32335651c8ea4d69539b984c048c1974d2aed3d852fff168eb44e2a9b1087ded578394b849
-EBUILD xerces-2.12.0.ebuild 917 BLAKE2B 3def60cd9da9f91d4750595b0373053095b764e9e84e485d184093fc81b61f73655c4a84465259c4e791d7cc45d9e6a345afa4bebf15c6c800beb26d292e287c SHA512 520d71a67bcc9c0a7d195513d2b6160ca279b5ef4901ffcb8ced3de688db66af58f1db713a25c50c462504800dd1d5aa8e40d41cc279b3c1e0f9fdd90d6755b9
+EBUILD xerces-2.12.0-r1.ebuild 1243 BLAKE2B 2f7141d2a08249d6b293e99b2648b7dcc8a54f6e1d9edf3d1289a0c556d9a0c263520f844fd76e2e2a3a16250af3314351be9a493d94cc7cbafe72233aaae7d6 SHA512 92a01a9ab116180ac968c2474823cf9041f6d4bef5ad093cd2a7bb167e77550472e8d3eef615b79c7042998b79f83dda02e0cf6df609e7c8e3c1d9d7639f5ed3
EBUILD xerces-2.12.1.ebuild 784 BLAKE2B 2b1fc5fe458e4b064e8149de5c4b9f691210e8947f4a8e70f72715e0ba6e92ef4f3be2b61474947f5ea29dfafeb55ca6d707a94f7cd2a10c1e3f4562f13d20f5 SHA512 81acd3d9ea6587c9851800606d82279846b7eb6f55483b83a007c54be7959d8a0ae38f0fc1406e07d0905208beb43c50e54660a47ba317722a66f1247d59a869
MISC metadata.xml 232 BLAKE2B 513679b02247d8e4cb4c874abd785119d9ca62ad24c44969d52a42c3765d0ebf689024512a2c4c48e69688a4ce02a74ae05708b050a720bc73d8d2bf2ceff58d SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893
diff --git a/dev-java/xerces/xerces-2.12.0.ebuild b/dev-java/xerces/xerces-2.12.0-r1.ebuild
index 638b1ea00e7f..60f2bd89f71a 100644
--- a/dev-java/xerces/xerces-2.12.0.ebuild
+++ b/dev-java/xerces/xerces-2.12.0-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
JAVA_PKG_IUSE="doc source"
MAVEN_ID="xerces:xercesImpl:2.12.0"
@@ -20,22 +20,21 @@ SLOT="2"
KEYWORDS="amd64 ~arm arm64 ppc64 x86"
CDEPEND="
- dev-java/xjavac:1
dev-java/xml-commons-resolver:0
dev-java/xml-commons-external:1.4"
RDEPEND="
${CDEPEND}
- >=virtual/jre-1.6"
+ >=virtual/jre-1.8:*"
DEPEND="
${CDEPEND}
- >=virtual/jdk-1.6"
+ >=virtual/jdk-1.8:*"
JAVA_SRC_DIR="org"
+JAVA_RESOURCE_DIRS="resources"
JAVA_GENTOO_CLASSPATH="
- xjavac-1
xml-commons-resolver
xml-commons-external-1.4"
@@ -47,6 +46,10 @@ PATCHES=(
src_prepare() {
default
+ mkdir "${JAVA_RESOURCE_DIRS}" || die
+ cp -r "${JAVA_SRC_DIR}" "${JAVA_RESOURCE_DIRS}" || die
+ find "${JAVA_RESOURCE_DIRS}" -type f -name '*.java' -exec rm -rf {} + || die
+ rm "${JAVA_RESOURCE_DIRS}"/org/apache/xerces/{dom/org.apache.xerces.dom.DOMImplementationSourceImpl,xs/datatypes/package.html,parsers/org*} || die
java-pkg-2_src_prepare
}