summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2021-12-16 13:39:50 +0100
committerFlorian Schmaus <flow@gentoo.org>2022-02-03 07:55:51 +0100
commit0f98f5c693ccd2da7a269fdcc5d454f914071957 (patch)
tree5fa5a9d762a593804771bef3c5f99022b537bb80 /dev-java/stax2-api
parentdev-java/ant-core: Enable USE="doc" on all architectures for 1.10.9-r2 (diff)
downloadgentoo-0f98f5c693ccd2da7a269fdcc5d454f914071957.tar.gz
gentoo-0f98f5c693ccd2da7a269fdcc5d454f914071957.tar.bz2
gentoo-0f98f5c693ccd2da7a269fdcc5d454f914071957.zip
dev-java/stax2-api: new package
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java/stax2-api')
-rw-r--r--dev-java/stax2-api/Manifest1
-rw-r--r--dev-java/stax2-api/metadata.xml13
-rw-r--r--dev-java/stax2-api/stax2-api-4.2.1.ebuild35
3 files changed, 49 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ 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.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/FasterXML/stax2-api/issues</bugs-to>
+ </upstream>
+</pkgmetadata>
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
+}