From 0f98f5c693ccd2da7a269fdcc5d454f914071957 Mon Sep 17 00:00:00 2001 From: "Volkmar W. Pogatzki" Date: Thu, 16 Dec 2021 13:39:50 +0100 Subject: dev-java/stax2-api: new package Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki Signed-off-by: Florian Schmaus --- dev-java/stax2-api/Manifest | 1 + dev-java/stax2-api/metadata.xml | 13 ++++++++++++ dev-java/stax2-api/stax2-api-4.2.1.ebuild | 35 +++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 dev-java/stax2-api/Manifest create mode 100644 dev-java/stax2-api/metadata.xml create mode 100644 dev-java/stax2-api/stax2-api-4.2.1.ebuild (limited to 'dev-java') diff --git a/dev-java/stax2-api/Manifest b/dev-java/stax2-api/Manifest new file mode 100644 index 000000000000..487d6cb5f013 --- /dev/null +++ b/dev-java/stax2-api/Manifest @@ -0,0 +1 @@ +DIST stax2-api-4.2.1.tar.gz 128806 BLAKE2B 64254b0bbd269e5d62931280773e0e7e7915204ce41a86eb10a08e3d8d27691d48094e17a8deb0ca3fa916b413800d75969af05db1ba897277c0dae13771e3b4 SHA512 f6fada289e75db0c4c911d3f70e8b8167c96342390168c87563ab4e3e1498360d47c393407cd8ae670716fcb7e1c83d6a8d38364d00648ed380844cf08bdc063 diff --git a/dev-java/stax2-api/metadata.xml b/dev-java/stax2-api/metadata.xml new file mode 100644 index 000000000000..995e89fc3df7 --- /dev/null +++ b/dev-java/stax2-api/metadata.xml @@ -0,0 +1,13 @@ + + + + + java@gentoo.org + + + stax2 API is an extension to basic Stax 1.0 API that adds significant new functionality, such as full-featured bi-direction validation interface and high-performance Typed Access API. + + + https://github.com/FasterXML/stax2-api/issues + + diff --git a/dev-java/stax2-api/stax2-api-4.2.1.ebuild b/dev-java/stax2-api/stax2-api-4.2.1.ebuild new file mode 100644 index 000000000000..a12eccf5a5c8 --- /dev/null +++ b/dev-java/stax2-api/stax2-api-4.2.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/FasterXML/stax2-api/archive/refs/tags/stax2-api-4.2.1.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild stax2-api-4.2.1.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.codehaus.woodstox:stax2-api:4.2.1" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="istax2 API is an extension to basic Stax 1.0 API" +HOMEPAGE="https://github.com/FasterXML/stax2-api" +SRC_URI="https://github.com/FasterXML/${PN}/archive/refs/tags/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( README.md release-notes/VERSION ) + +S="${WORKDIR}/${PN}-${P}" + +JAVA_SRC_DIR=( "src/main/java" "src/moditect" ) +JAVA_RESOURCE_DIRS="src/main/resources" + +src_install() { + default # https://bugs.gentoo.org/789582 + java-pkg-simple_src_install +} -- cgit v1.2.3-65-gdbad