diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2021-03-31 17:28:51 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-04-05 12:39:12 +0200 |
commit | 6578fa6751388389c5eaa742fd6be4cd8e453c2d (patch) | |
tree | 411135fc172ba26a7a34809a3f6d9ed180b4a63c /dev-java/slf4j-api | |
parent | dev-java/cal10n: MAVEN_ID (diff) | |
download | gentoo-6578fa6751388389c5eaa742fd6be4cd8e453c2d.tar.gz gentoo-6578fa6751388389c5eaa742fd6be4cd8e453c2d.tar.bz2 gentoo-6578fa6751388389c5eaa742fd6be4cd8e453c2d.zip |
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 <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/20210/commits/af177283eb7428690a372be592fea063851d5b60
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/slf4j-api')
-rw-r--r-- | dev-java/slf4j-api/Manifest | 1 | ||||
-rw-r--r-- | dev-java/slf4j-api/slf4j-api-1.7.30.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-java/slf4j-api/Manifest b/dev-java/slf4j-api/Manifest index f6b94610e82b..828bfe619962 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 000000000000..6a7a281f5595 --- /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 +} |