diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2021-04-01 14:33:54 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-04-05 12:48:41 +0200 |
commit | 5abec3d65b31232ea15c23ab3dbf29c2b573f633 (patch) | |
tree | c4cdd88c61662347d55d12fd1e60fe5947f28bf7 /dev-java/slf4j-nop | |
parent | dev-java/slf4j-ext: bump to 1.7.30 (diff) | |
download | gentoo-5abec3d65b31232ea15c23ab3dbf29c2b573f633.tar.gz gentoo-5abec3d65b31232ea15c23ab3dbf29c2b573f633.tar.bz2 gentoo-5abec3d65b31232ea15c23ab3dbf29c2b573f633.zip |
dev-java/slf4j-nop: 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/c2526edd571a1e8389b9eb3a8e7abb87eac5e163
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/slf4j-nop')
-rw-r--r-- | dev-java/slf4j-nop/Manifest | 1 | ||||
-rw-r--r-- | dev-java/slf4j-nop/slf4j-nop-1.7.30.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/slf4j-nop/Manifest b/dev-java/slf4j-nop/Manifest index f6b94610e82b..828bfe619962 100644 --- a/dev-java/slf4j-nop/Manifest +++ b/dev-java/slf4j-nop/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-nop/slf4j-nop-1.7.30.ebuild b/dev-java/slf4j-nop/slf4j-nop-1.7.30.ebuild new file mode 100644 index 000000000000..fa4ea00dfac6 --- /dev/null +++ b/dev-java/slf4j-nop/slf4j-nop-1.7.30.ebuild @@ -0,0 +1,58 @@ +# 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-nop/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-nop-1.7.30.ebuild + +EAPI=7 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.slf4j:slf4j-nop:1.7.30" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="SLF4J NOP Binding" +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" + +# Common dependencies +# POM: slf4j-v_${PV}/${PN}/pom.xml +# org.slf4j:slf4j-api:1.7.30 -> >=dev-java/slf4j-api-1.7.30:0 + +CDEPEND=" + >=dev-java/slf4j-api-1.7.30:0 +" + +DEPEND=" + >=virtual/jdk-1.8:* + ${CDEPEND} +" + +RDEPEND=" + >=virtual/jre-1.8:* + ${CDEPEND}" + +S="${WORKDIR}" + +JAVA_GENTOO_CLASSPATH="slf4j-api" +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=( + # java.lang.AssertionError: expected:<0> but was:<5> + "org.slf4j.impl.MultithreadedInitializationTest" +) + +src_prepare() { + default + java-pkg_clean +} |