summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2021-03-31 18:02:15 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-04-05 12:43:26 +0200
commitc63e5704bf3c88e0d9d979406dc6a3f692fd731e (patch)
treefb14fc1c27b79c6196753831050b78d700fc4488 /dev-java
parentdev-java/slf4j-log4j12: bump to 1.7.30 (diff)
downloadgentoo-c63e5704bf3c88e0d9d979406dc6a3f692fd731e.tar.gz
gentoo-c63e5704bf3c88e0d9d979406dc6a3f692fd731e.tar.bz2
gentoo-c63e5704bf3c88e0d9d979406dc6a3f692fd731e.zip
dev-java/slf4j-simple: 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/3642bb871ddb1b72d94c22c5f4db545291e78563 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/slf4j-simple/Manifest1
-rw-r--r--dev-java/slf4j-simple/slf4j-simple-1.7.30.ebuild71
2 files changed, 72 insertions, 0 deletions
diff --git a/dev-java/slf4j-simple/Manifest b/dev-java/slf4j-simple/Manifest
index f6b94610e82b..828bfe619962 100644
--- a/dev-java/slf4j-simple/Manifest
+++ b/dev-java/slf4j-simple/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-simple/slf4j-simple-1.7.30.ebuild b/dev-java/slf4j-simple/slf4j-simple-1.7.30.ebuild
new file mode 100644
index 000000000000..4fabf53201d2
--- /dev/null
+++ b/dev-java/slf4j-simple/slf4j-simple-1.7.30.ebuild
@@ -0,0 +1,71 @@
+# 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-simple/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-simple-1.7.30.ebuild
+
+EAPI=7
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.slf4j:slf4j-simple:1.7.30"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="SLF4J Simple 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"
+
+# slf4j-v_1.7.30/slf4j-simple/src/test/java/org/slf4j/helpers/SimpleLoggerMultithreadedInitializationTest.java:37: error: cannot find symbol
+# public class SimpleLoggerMultithreadedInitializationTest extends MultithreadedInitializationTest {
+# ^
+# symbol: class MultithreadedInitializationTest
+RESTRICT="test"
+
+# 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
+"
+
+# Compile dependencies
+# POM: slf4j-v_${PV}/${PN}/pom.xml
+# test? junit:junit:4.12 -> >=dev-java/junit-4.12:4
+# test? org.slf4j:slf4j-api:1.7.30 -> >=dev-java/slf4j-api-1.7.30:0
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+ ${CDEPEND}
+ test? (
+ >=dev-java/slf4j-api-1.7.30:0
+ )
+"
+
+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,slf4j-api"
+JAVA_TEST_SRC_DIR="slf4j-v_${PV}/${PN}/src/test/java"
+JAVA_TEST_RESOURCE_DIRS=(
+ "slf4j-v_${PV}/${PN}/src/test/resources"
+)
+
+src_prepare() {
+ default
+ java-pkg_clean
+}