[dev-java/slf4j-jdk14] bump, untested
This commit is contained in:
parent
ce77c7e911
commit
ee591ecf6d
@ -1 +1 @@
|
||||
DIST slf4j-jdk14-1.7.30-sources.tar.gz 2272772 BLAKE2B c6692a20406983fa333bdb27bf8da599140d7d37fe55da6dfa2c2aff1825ee57c9d6b7bf0015e4b41b3c15ac0971559b3dd4bb5244e5393cd209ee26fac5e93d SHA512 4f05c996532560b16f22d78fcd47f8c4ba14691ce218a51ee6d50b283a51f8e40475a3a47f1117c1898a7be922e3f85806c4a7eb526759f0e7ea8426b5c6035f
|
||||
DIST slf4j-jdk14-1.7.36-sources.tar.gz 2276203 BLAKE2B 930de76047c694b4e566ba743ee90a2efb062358b03209137f686c4bf4ead122aa84c18b79615e5a67f1a890abdc1b8f70f62b7803f7b8e45c766ff8254836d4 SHA512 1384c771aa04d9d351854cf8ddeef66ee9f43df53890a05413c48c14cf1cb78a457bb4b2a6e2f064f1c1ab68b2eaa1d326fc03bb6b7c145915660a2c873692d0
|
||||
|
@ -1,64 +0,0 @@
|
||||
# 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-jdk14/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-jdk14-1.7.30.ebuild
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="org.slf4j:slf4j-jdk14:1.7.30"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="SLF4J JDK14 Binding"
|
||||
HOMEPAGE="http://www.slf4j.org"
|
||||
SRC_URI="https://github.com/qos-ch/slf4j/archive/refs/tags/v_${PV}.tar.gz -> ${P}-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
|
||||
"
|
||||
|
||||
# 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
|
||||
}
|
67
dev-java/slf4j-jdk14/slf4j-jdk14-1.7.36.ebuild
Normal file
67
dev-java/slf4j-jdk14/slf4j-jdk14-1.7.36.ebuild
Normal file
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Skeleton command:
|
||||
# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/qos-ch/slf4j/archive/v_1.7.36.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild slf4j-jdk14-1.7.36.ebuild
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="org.slf4j:slf4j-jdk14:1.7.36"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="SLF4J JDK14 Binding"
|
||||
HOMEPAGE="http://www.slf4j.org"
|
||||
SRC_URI="https://github.com/qos-ch/slf4j/archive/refs/tags/v_${PV}.tar.gz -> ${P}-sources.tar.gz"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
# Common dependencies
|
||||
# POM: pom.xml
|
||||
# org.slf4j:slf4j-api:1.7.36 -> >=dev-java/slf4j-api-1.7.36:0
|
||||
|
||||
CP_DEPEND="
|
||||
~dev-java/slf4j-api-${PV}:0
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8:*
|
||||
${CP_DEPEND}
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8:*
|
||||
${CP_DEPEND}"
|
||||
|
||||
DOCS=( LICENSE.txt ../README.md )
|
||||
|
||||
S="${WORKDIR}/slf4j-v_${PV}/${PN}"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
JAVA_RESOURCE_DIRS="src/main/resources"
|
||||
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4,slf4j-api"
|
||||
JAVA_TEST_SRC_DIR="src/test/java"
|
||||
|
||||
JAVA_TEST_EXCLUDES=(
|
||||
# java.lang.InstantiationException
|
||||
"org.slf4j.helpers.MultithreadedInitializationTest"
|
||||
|
||||
# java.lang.AssertionError: 1284 < 1263+16
|
||||
"org.slf4j.helpers.SimpleLoggerMultithreadedInitializationTest"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
java-pkg_clean
|
||||
cp {../slf4j-api/,}src/test/java/org/slf4j/helpers/MultithreadedInitializationTest.java || die
|
||||
cp {../slf4j-api/,}src/test/java/org/slf4j/LoggerAccessingThread.java || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default # https://bugs.gentoo.org/789582
|
||||
java-pkg-simple_src_install
|
||||
}
|
Loading…
Reference in New Issue
Block a user