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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6604E15808B for ; Tue, 8 Feb 2022 08:17:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71B6DE079C; Tue, 8 Feb 2022 08:17:14 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 49634E079C for ; Tue, 8 Feb 2022 08:17:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 ED7D5342BA2 for ; Tue, 8 Feb 2022 08:17:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7DEAC200 for ; Tue, 8 Feb 2022 08:17:10 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1644307904.e3e76dd213202b5d6e4bafc47fa889268fdca367.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/joda-convert/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/joda-convert/joda-convert-2.2.2-r1.ebuild X-VCS-Directories: dev-java/joda-convert/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: e3e76dd213202b5d6e4bafc47fa889268fdca367 X-VCS-Branch: master Date: Tue, 8 Feb 2022 08:17:10 +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: 0691e50a-c1b8-427c-bf72-c904001d8b80 X-Archives-Hash: be0f3619aaa6f57802662d75e32a4309 commit: e3e76dd213202b5d6e4bafc47fa889268fdca367 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Mon Feb 7 15:42:46 2022 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Tue Feb 8 08:11:44 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3e76dd2 dev-java/joda-convert: Switch to guava:0 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/24115 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/joda-convert/joda-convert-2.2.2-r1.ebuild | 71 ++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/dev-java/joda-convert/joda-convert-2.2.2-r1.ebuild b/dev-java/joda-convert/joda-convert-2.2.2-r1.ebuild new file mode 100644 index 000000000000..08c06c307b1a --- /dev/null +++ b/dev-java/joda-convert/joda-convert-2.2.2-r1.ebuild @@ -0,0 +1,71 @@ +# 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 https://github.com/JodaOrg/joda-convert/archive/refs/tags/v2.2.2.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild joda-convert-2.2.2.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.joda:joda-convert:2.2.2" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Library to convert Objects to and from String" +HOMEPAGE="https://www.joda.org/joda-convert/" +SRC_URI="https://github.com/JodaOrg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + +# Compile dependencies +# POM: pom.xml +# test? com.google.guava:guava:31.0.1-jre -> !!!suitable-mavenVersion-not-found!!! +# test? junit:junit:4.13.2 -> >=dev-java/junit-4.13.2:4 + +DEPEND=" + >=virtual/jdk-1.8:* + test? ( + dev-java/guava:0 + ) +" + +RDEPEND=" + >=virtual/jre-1.8:* +" + +DOCS=( {LICENSE,NOTICE,RELEASE-NOTES}.txt README.md ) + +S="${WORKDIR}/${P}" + +JAVA_SRC_DIR="src/main/java" +# JAVA_RESOURCE_DIRS="" + +JAVA_TEST_GENTOO_CLASSPATH="guava,junit-4" +JAVA_TEST_SRC_DIR="src/test/java" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" + +JAVA_TEST_EXCLUDES=( + # Upstream: Tests run: 186, Failures: 0, Errors: 0, Skipped: 0 + # All following: No runnable methods + org.joda.convert.test1.Test1Class + org.joda.convert.test1.Test1Interface + org.joda.convert.test2.Test2Class + org.joda.convert.test2.Test2Factory + org.joda.convert.test2.Test2Interface + org.joda.convert.test3.Test3Class + org.joda.convert.test3.Test3Factory + org.joda.convert.test3.Test3Interface + org.joda.convert.test3.Test3SuperClass + org.joda.convert.test4.Test4Class + org.joda.convert.test4.Test4Factory + org.joda.convert.test4.Test4Interface + org.joda.convert.TestRenameHandlerBadInit +) + +src_install() { + default # https://bugs.gentoo.org/789582 + java-pkg-simple_src_install +}