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 BC795158086 for ; Mon, 13 Dec 2021 07:21:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B120C2BC030; Mon, 13 Dec 2021 07:21:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 401F92BC02C for ; Mon, 13 Dec 2021 07:21:54 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 460BE343248 for ; Mon, 13 Dec 2021 07:21:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DBBBA14D for ; Mon, 13 Dec 2021 07:21:50 +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: <1639379585.ca626311e138da599889c75f6bc669f8c79bb34d.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/log4j-api-java9/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/log4j-api-java9/Manifest dev-java/log4j-api-java9/log4j-api-java9-2.15.0.ebuild dev-java/log4j-api-java9/metadata.xml X-VCS-Directories: dev-java/log4j-api-java9/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: ca626311e138da599889c75f6bc669f8c79bb34d X-VCS-Branch: master Date: Mon, 13 Dec 2021 07:21:50 +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: dfa3cd54-c324-4557-bffd-c86370a35491 X-Archives-Hash: 7c9110e236b6f91d6e9acc951de69e2b commit: ca626311e138da599889c75f6bc669f8c79bb34d Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Sun Dec 12 16:46:55 2021 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Mon Dec 13 07:13:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca626311 dev-java/log4j-api-java9: new package Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/23280/commits/338bd06899d2d4364b223f5194bfb227ed1650cb Signed-off-by: Miroslav Šulc gentoo.org> dev-java/log4j-api-java9/Manifest | 1 + .../log4j-api-java9/log4j-api-java9-2.15.0.ebuild | 52 ++++++++++++++++++++++ dev-java/log4j-api-java9/metadata.xml | 7 +++ 3 files changed, 60 insertions(+) diff --git a/dev-java/log4j-api-java9/Manifest b/dev-java/log4j-api-java9/Manifest new file mode 100644 index 000000000000..50c36844ec0f --- /dev/null +++ b/dev-java/log4j-api-java9/Manifest @@ -0,0 +1 @@ +DIST apache-log4j-2.15.0-src.tar.gz 11550453 BLAKE2B 3b7a356714fbff0ad81f633750a45f6b3869df933c89c22b28346e49c6dfb83002ecf6374d04b1ae6a45b5486314654c8a660f3aee7a6b30273439e44db2c610 SHA512 61574722ab0a24bd0301fea57504a645f98f0e5913d1e02e49d25b3dcbf2dcbb3153cfca58fdde632087f94edc8e83820951288ba494234954ab4eeeb6b8be6a diff --git a/dev-java/log4j-api-java9/log4j-api-java9-2.15.0.ebuild b/dev-java/log4j-api-java9/log4j-api-java9-2.15.0.ebuild new file mode 100644 index 000000000000..fc6b19c9ff55 --- /dev/null +++ b/dev-java/log4j-api-java9/log4j-api-java9-2.15.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom log4j-api-java9/pom.xml --download-uri mirror://apache/logging/log4j/2.15.0/apache-log4j-2.15.0-src.tar.gz --slot 2 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild log4j-api-java9-2.15.0.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.apache.logging.log4j:log4j-api-java9:2.15.0" +JAVA_TESTING_FRAMEWORKS="junit-jupiter" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="The Apache Log4j API (Java 9)" +HOMEPAGE="https://logging.apache.org/log4j/2.x/" +SRC_URI="mirror://apache/logging/log4j/${PV}/apache-log4j-${PV}-src.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +# junit-jupiter is not available in ::gentoo +RESTRICT="test" + +# Compile dependencies +# POM: ${PN}/pom.xml +# test? org.apache.maven:maven-core:3.6.3 -> !!!groupId-not-found!!! +# test? org.junit.jupiter:junit-jupiter-engine:5.7.2 -> !!!groupId-not-found!!! + +DEPEND=">=virtual/jdk-11:*" +# test? ( +# !!!groupId-not-found!!! +# ) +#" + +RDEPEND=">=virtual/jre-11:*" + +DOCS=( {CONTRIBUTING,README,RELEASE-NOTES,SECURITY}.md LICENSE.txt ) + +S="${WORKDIR}/apache-log4j-${PV}-src" + +JAVA_SRC_DIR="${PN}/src/main/java" +JAVA_RESOURCE_DIRS="${PN}/src/assembly" + +# JAVA_TEST_GENTOO_CLASSPATH="!!!groupId-not-found!!!,!!!groupId-not-found!!!" +# JAVA_TEST_SRC_DIR="${PN}/src/test/java" + +src_install() { + default # https://bugs.gentoo.org/789582 + java-pkg-simple_src_install +} diff --git a/dev-java/log4j-api-java9/metadata.xml b/dev-java/log4j-api-java9/metadata.xml new file mode 100644 index 000000000000..75321cfb5598 --- /dev/null +++ b/dev-java/log4j-api-java9/metadata.xml @@ -0,0 +1,7 @@ + + + + + java@gentoo.org + +