From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 86C1C158087 for ; Tue, 25 Jan 2022 17:18:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8384F2BC001; Tue, 25 Jan 2022 17:18:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 93E722BC001 for ; Tue, 25 Jan 2022 17:18:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6962C343019 for ; Tue, 25 Jan 2022 17:18:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1856221E for ; Tue, 25 Jan 2022 17:18:09 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1643131085.bad2155d3f60f2a5b3591df0863ac983972932db.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/xmlgraphics-commons/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/xmlgraphics-commons/Manifest dev-java/xmlgraphics-commons/xmlgraphics-commons-2.7.ebuild X-VCS-Directories: dev-java/xmlgraphics-commons/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: bad2155d3f60f2a5b3591df0863ac983972932db X-VCS-Branch: master Date: Tue, 25 Jan 2022 17:18:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5948d22a-3579-4670-8336-d8ef28f7211a X-Archives-Hash: 3f921f3abd0383d6920d09ba082e842b commit: bad2155d3f60f2a5b3591df0863ac983972932db Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Tue Jan 25 15:30:37 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Tue Jan 25 17:18:05 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bad2155d dev-java/xmlgraphics-commons: Bump to 2.7 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/23952 Signed-off-by: Florian Schmaus gentoo.org> dev-java/xmlgraphics-commons/Manifest | 1 + .../xmlgraphics-commons-2.7.ebuild | 66 ++++++++++++++++++++++ 2 files changed, 67 insertions(+) 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 +}