dev-java/poi: new package

Closes: https://bugs.gentoo.org/784017
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/20456/commits/a26c72eebde1c8adbc687c04757dad7dd53ddaf2
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Volkmar W. Pogatzki
2021-04-20 15:28:38 +02:00
committed by Miroslav Šulc
parent fb7a244bcb
commit 5a0a34fbbc
3 changed files with 78 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
DIST poi-5.0.0.tar.gz 111429369 BLAKE2B b29e754fb709d01ff4d68e9227f4c4739384bd02934b6860e8a0e96552d9e9ff1c5c665bc0b701f79226505fd98373fe6ad160c72735903eae388f0cd6618337 SHA512 e79d15b42d8ec389fd15b7714faf7b49b9fb4d57014cb341fff0f061393f4ea7dfcbd3810a6ec19539eabddbb1d0690aa56de4a1a412d05a527e11797047023a
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">apache/poi</remote-id>
<bugs-to>https://bz.apache.org/bugzilla/buglist.cgi?product=POI</bugs-to>
<changelog>https://poi.apache.org/changes.html</changelog>
</upstream>
</pkgmetadata>
+65
View File
@@ -0,0 +1,65 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Skeleton command:
# java-ebuilder --generate-ebuild --workdir . --pom poi-5.0.0/sonar/main/pom.xml --download-uri https://archive.apache.org/dist/poi/release/src/poi-src-5.0.0-20210120.tar.gz --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild poi-5.0.0.ebuild
EAPI=7
JAVA_PKG_IUSE="doc source"
MAVEN_ID="org.apache.poi:poi-main:5.0.0"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Maven build of Apache POI for Sonar checks"
HOMEPAGE="https://poi.apache.org/"
SRC_URI="https://archive.apache.org/dist/${PN}/release/src/${PN}-src-${PV}-20210120.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
# Common dependencies
# POM: ${P}/sonar/main/pom.xml
# com.zaxxer:SparseBitSet:1.2 -> >=dev-java/sparsebitset-1.2:0
# commons-codec:commons-codec:1.15 -> >=dev-java/commons-codec-1.11:0
# org.apache.commons:commons-collections4:4.4 -> >=dev-java/commons-collections-4.1:4
# org.apache.commons:commons-math3:3.6.1 -> >=dev-java/commons-math-3.6.1:3
# org.slf4j:jcl-over-slf4j:1.7.30 -> !!!artifactId-not-found!!!
# org.slf4j:slf4j-api:1.7.30 -> >=dev-java/slf4j-api-1.7.30:0
# CDEPEND="
# !!!artifactId-not-found!!!
# >=dev-java/commons-codec-1.11:0
# >=dev-java/commons-collections-4.1:4
# >=dev-java/commons-math-3.6.1:3
# >=dev-java/slf4j-api-1.7.30:0
# >=dev-java/sparsebitset-1.2:0
# "
CDEPEND="
>=dev-java/commons-codec-1.11:0
>=dev-java/commons-collections-4.1:4
>=dev-java/commons-math-3.6.1:3
>=dev-java/slf4j-api-1.7.30:0
>=dev-java/sparsebitset-1.2:0
dev-java/commons-logging:0
"
DEPEND="
>=virtual/jdk-1.8:*
${CDEPEND}
"
RDEPEND="
>=virtual/jre-1.8:*
${CDEPEND}"
S="${WORKDIR}"
# JAVA_GENTOO_CLASSPATH="sparsebitset,commons-codec,commons-collections-4,commons-math-3,!!!artifactId-not-found!!!,slf4j-api"
JAVA_GENTOO_CLASSPATH="sparsebitset,commons-codec,commons-collections-4,commons-logging,commons-math-3,slf4j-api"
JAVA_SRC_DIR="${P}/src/java"
src_prepare() {
default
java-pkg_clean
}