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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1D4921382C5 for ; Mon, 5 Apr 2021 10:40:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57BB2E086A; Mon, 5 Apr 2021 10:40:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CF39DE086A for ; Mon, 5 Apr 2021 10:40:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9F9AA33BEF2 for ; Mon, 5 Apr 2021 10:40:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2DAA24C6 for ; Mon, 5 Apr 2021 10:40:39 +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: <1617619152.6578fa6751388389c5eaa742fd6be4cd8e453c2d.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/slf4j-api/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/slf4j-api/Manifest dev-java/slf4j-api/slf4j-api-1.7.30.ebuild X-VCS-Directories: dev-java/slf4j-api/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 6578fa6751388389c5eaa742fd6be4cd8e453c2d X-VCS-Branch: master Date: Mon, 5 Apr 2021 10:40:39 +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: f6236b42-8ae4-4c7b-9df1-c6917253723c X-Archives-Hash: fd2cbea8785a11037929324a5877a696 commit: 6578fa6751388389c5eaa742fd6be4cd8e453c2d Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Wed Mar 31 15:28:51 2021 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Mon Apr 5 10:39:12 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6578fa67 dev-java/slf4j-api: bump to 1.7.30 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/20210/commits/af177283eb7428690a372be592fea063851d5b60 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/slf4j-api/Manifest | 1 + dev-java/slf4j-api/slf4j-api-1.7.30.ebuild | 50 ++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-java/slf4j-api/Manifest b/dev-java/slf4j-api/Manifest index f6b94610e82..828bfe61996 100644 --- a/dev-java/slf4j-api/Manifest +++ b/dev-java/slf4j-api/Manifest @@ -1 +1,2 @@ +DIST slf4j-1.7.30-sources.tar.gz 2272772 BLAKE2B c6692a20406983fa333bdb27bf8da599140d7d37fe55da6dfa2c2aff1825ee57c9d6b7bf0015e4b41b3c15ac0971559b3dd4bb5244e5393cd209ee26fac5e93d SHA512 4f05c996532560b16f22d78fcd47f8c4ba14691ce218a51ee6d50b283a51f8e40475a3a47f1117c1898a7be922e3f85806c4a7eb526759f0e7ea8426b5c6035f DIST slf4j-1.7.7.tar.gz 3031017 BLAKE2B 55020b493f9f0df534d199d86e8d312dcd64831155f6d18d5f2de6f5157ecb20853cc96689e25ded8c7f4f858481567eb67a21a1cf96a7c3a33ed1ddf9aa47eb SHA512 aefefe049ed36e8ec938469067be8d73d2c7a28189f54cf434606fecab1d380f00fdf8349a23ed99d574067d9a613b0aec48b913705cd27524af5a4a5d887418 diff --git a/dev-java/slf4j-api/slf4j-api-1.7.30.ebuild b/dev-java/slf4j-api/slf4j-api-1.7.30.ebuild new file mode 100644 index 00000000000..6a7a281f559 --- /dev/null +++ b/dev-java/slf4j-api/slf4j-api-1.7.30.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom slf4j-v_1.7.30/slf4j-api/pom.xml --download-uri https://github.com/qos-ch/slf4j/archive/refs/tags/v_1.7.30.tar.gz --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild slf4j-api-1.7.30.ebuild + +EAPI=7 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.slf4j:slf4j-api:1.7.30" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="The slf4j API" +HOMEPAGE="https://www.slf4j.org" +SRC_URI="https://github.com/qos-ch/slf4j/archive/refs/tags/v_${PV}.tar.gz -> slf4j-${PV}-sources.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +DEPEND=" + >=virtual/jdk-1.8:* +" + +RDEPEND=" + >=virtual/jre-1.8:* +" + +S="${WORKDIR}" + +JAVA_SRC_DIR="slf4j-v_${PV}/${PN}/src/main/java" +JAVA_RESOURCE_DIRS=( + "slf4j-v_${PV}/${PN}/src/main/resources" +) + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="slf4j-v_${PV}/${PN}/src/test/java" +JAVA_TEST_EXCLUDES=( + # This code should have never made it into slf4j-api.jar + "org.slf4j.NoBindingTest" + # java.lang.InstantiationException + "org.slf4j.helpers.MultithreadedInitializationTest" +) + +src_prepare() { + default + java-pkg_clean +}