diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2022-01-25 16:30:37 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-01-25 18:18:05 +0100 |
commit | bad2155d3f60f2a5b3591df0863ac983972932db (patch) | |
tree | d22542099a0aca4cff0d74b8c5434bbf1a71f523 /dev-java | |
parent | dev-db/sqlite: Improve USE=tools description (diff) | |
download | gentoo-bad2155d3f60f2a5b3591df0863ac983972932db.tar.gz gentoo-bad2155d3f60f2a5b3591df0863ac983972932db.tar.bz2 gentoo-bad2155d3f60f2a5b3591df0863ac983972932db.zip |
dev-java/xmlgraphics-commons: Bump to 2.7
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/23952
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/xmlgraphics-commons/Manifest | 1 | ||||
-rw-r--r-- | dev-java/xmlgraphics-commons/xmlgraphics-commons-2.7.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/dev-java/xmlgraphics-commons/Manifest b/dev-java/xmlgraphics-commons/Manifest index a82c685a5555..d20afdb1919b 100644 --- a/dev-java/xmlgraphics-commons/Manifest +++ b/dev-java/xmlgraphics-commons/Manifest @@ -1 +1,2 @@ DIST xmlgraphics-commons-2.6-src.tar.gz 2718577 BLAKE2B 7be3565d2224adcb1a804a089f6f52810852117a7c13129822bd1a9f27f7c10abf186b5b7d703c0351ef76d50ddb741fae65094af35d2037044ad56220989dfe SHA512 bdf7fb21d076ba722648da016b0686ed3ea6f56b8ba1a8cea34b517095bf91ff900a937e45aba0977389ab736b1815a5733908ad4242911246555dce61cf4cfd +DIST xmlgraphics-commons-2.7-src.tar.gz 2021218 BLAKE2B a16dda389662a38d5ebf6cbd015ac5bf8154b5e2df9e36fd3a33987b04a4de08cc1ebc71e940c05793ef045249c68e7dbb54c418a7c6888020a800e039b0a188 SHA512 7d3993fc920767512f94edef3342757f0ffc9c9dbad80695fe3d77b0ec162380d9b467682ae41238e7ee719601709edb41b2dab06c385dfd9fa898577d8d2c22 diff --git a/dev-java/xmlgraphics-commons/xmlgraphics-commons-2.7.ebuild b/dev-java/xmlgraphics-commons/xmlgraphics-commons-2.7.ebuild new file mode 100644 index 000000000000..62a758d133f1 --- /dev/null +++ b/dev-java/xmlgraphics-commons/xmlgraphics-commons-2.7.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2022 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 mirror://apache/xmlgraphics/commons/source/2.7-src.tar.gz --slot 2 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild xmlgraphics-commons-2.7.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.apache.xmlgraphics:xmlgraphics-commons:2.7" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="XML Graphics Commons" +HOMEPAGE="https://xmlgraphics.apache.org/commons/" +SRC_URI="mirror://apache/xmlgraphics/commons/source/${P}-src.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +# Tests don't even compile with that old mockito version. +RESTRICT="test" + +# Common dependencies +# POM: pom.xml +# commons-io:commons-io:1.3.2 -> >=dev-java/commons-io-2.11.0:1 +# commons-logging:commons-logging:1.2 -> >=dev-java/commons-logging-1.2:0 + +CP_DEPEND=" + dev-java/commons-io:1 + dev-java/commons-logging:0 +" + +# Compile dependencies +# POM: pom.xml +# test? junit:junit:4.11 -> >=dev-java/junit-4.13.2:4 +# test? org.mockito:mockito-core:2.28.2 -> !!!suitable-mavenVersion-not-found!!! +# test? xml-resolver:xml-resolver:1.2 -> >=dev-java/xml-commons-resolver-1.2:0 + +DEPEND="${CP_DEPEND} + >=virtual/jdk-1.8:* + test? ( + dev-java/mockito:0 + dev-java/xml-commons-resolver:0 + )" + +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +DOCS=( LICENSE NOTICE README ) + +S="${WORKDIR}/${P}" + +JAVA_SRC_DIR="src/main/java" +JAVA_RESOURCE_DIRS="src/main/resources" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito,xml-commons-resolver" +JAVA_TEST_SRC_DIR="src/test/java" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" + +src_install() { + default # https://bugs.gentoo.org/789582 + java-pkg-simple_src_install +} |