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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3BB64139345 for ; Fri, 9 Jul 2021 13:51:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8742AE09E3; Fri, 9 Jul 2021 13:51:06 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6EE8DE09E3 for ; Fri, 9 Jul 2021 13:51:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 56030340B29 for ; Fri, 9 Jul 2021 13:51:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DF234581 for ; Fri, 9 Jul 2021 13:51:02 +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: <1625838660.2ecd3c8e3c41138a24c6870c279acbb5bb1bb8da.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/xerces/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/xerces/xerces-2.12.0-r1.ebuild X-VCS-Directories: dev-java/xerces/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 2ecd3c8e3c41138a24c6870c279acbb5bb1bb8da X-VCS-Branch: master Date: Fri, 9 Jul 2021 13:51:02 +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: 2d3cb313-69f9-4f38-b6eb-30a9720e5e9e X-Archives-Hash: 33dc9777ec0cfccb4ae23b5091949bcc commit: 2ecd3c8e3c41138a24c6870c279acbb5bb1bb8da Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Thu Jul 8 19:19:22 2021 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Fri Jul 9 13:51:00 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ecd3c8e dev-java/xerces: fix missing properties Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/21319/commits/21ebfc28c0de4a6a4709582d3ecb6a48680c2e11 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/xerces/xerces-2.12.0-r1.ebuild | 57 +++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/dev-java/xerces/xerces-2.12.0-r1.ebuild b/dev-java/xerces/xerces-2.12.0-r1.ebuild new file mode 100644 index 00000000000..d91487c5f49 --- /dev/null +++ b/dev-java/xerces/xerces-2.12.0-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="xerces:xercesImpl:2.12.0" + +inherit java-pkg-2 java-pkg-simple + +MY_PN="xercesImpl" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Xerces Java XML parser" +HOMEPAGE="https://xml.apache.org/xerces2-j/index.html" +SRC_URI="https://repo1.maven.org/maven2/xerces/${MY_PN}/${PV}/${MY_P}-sources.jar -> ${P}.jar" + +LICENSE="Apache-2.0" +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" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.6" + +JAVA_SRC_DIR="org" +JAVA_RESOURCE_DIRS="resources" + +JAVA_GENTOO_CLASSPATH=" + xjavac-1 + xml-commons-resolver + xml-commons-external-1.4" + +S="${WORKDIR}" + +PATCHES=( + "${FILESDIR}/${P}-overrides.patch" +) + +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 +}