diff options
Diffstat (limited to 'dev-java/poi')
-rw-r--r-- | dev-java/poi/Manifest | 3 | ||||
-rw-r--r-- | dev-java/poi/metadata.xml | 12 | ||||
-rw-r--r-- | dev-java/poi/poi-5.0.0.ebuild | 64 |
3 files changed, 79 insertions, 0 deletions
diff --git a/dev-java/poi/Manifest b/dev-java/poi/Manifest new file mode 100644 index 000000000000..19f1d918f203 --- /dev/null +++ b/dev-java/poi/Manifest @@ -0,0 +1,3 @@ +DIST poi-5.0.0.tar.gz 111429369 BLAKE2B b29e754fb709d01ff4d68e9227f4c4739384bd02934b6860e8a0e96552d9e9ff1c5c665bc0b701f79226505fd98373fe6ad160c72735903eae388f0cd6618337 SHA512 e79d15b42d8ec389fd15b7714faf7b49b9fb4d57014cb341fff0f061393f4ea7dfcbd3810a6ec19539eabddbb1d0690aa56de4a1a412d05a527e11797047023a +EBUILD poi-5.0.0.ebuild 1951 BLAKE2B b59a6ea1ce24694423774923d2858f98d94535829c0c6178e93e029a437b3df629399bb31c0f796327aa4f6aedb87dc344b1631406c05b49675e2cd746336591 SHA512 4b797b7c977bf0d9fb921661a0c1fd90c5f9d8d276be2fa55f4ee9e47b17af9f38f5ac914a0bc838907728b4b719e3ebf72aa00b49dccd2d418741d34d0c2f69 +MISC metadata.xml 428 BLAKE2B 3c635a18242ab2a097c37707bc6ce85d05144fe8142b6b2fed764f785ca9885171d84bc2c8422160eaa0b8d868180295f49de953ada22c26d85a72b39e11e3ff SHA512 f43292d507ae9a54941544ac52d678907440c5c663a50131cd170b97159f2d8045f38a5f9dda418a518c6ab711a77c600062416438fcf802ee03cd69801252bc diff --git a/dev-java/poi/metadata.xml b/dev-java/poi/metadata.xml new file mode 100644 index 000000000000..393300ad48a0 --- /dev/null +++ b/dev-java/poi/metadata.xml @@ -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> diff --git a/dev-java/poi/poi-5.0.0.ebuild b/dev-java/poi/poi-5.0.0.ebuild new file mode 100644 index 000000000000..dbbddd8ed6b0 --- /dev/null +++ b/dev-java/poi/poi-5.0.0.ebuild @@ -0,0 +1,64 @@ +# 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 ~arm64 ~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}/${P}" + +JAVA_GENTOO_CLASSPATH="sparsebitset,commons-codec,commons-collections-4,commons-logging,commons-math-3,slf4j-api" +JAVA_SRC_DIR="src/java" + +src_prepare() { + default + java-pkg_clean +} |