From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-java/slf4j-log4j12/Manifest | 6 + .../files/slf4j-log4j12-1.7.7-maven-build.xml | 241 +++++++++++++++++++++ dev-java/slf4j-log4j12/metadata.xml | 8 + dev-java/slf4j-log4j12/slf4j-log4j12-1.7.7.ebuild | 52 +++++ 4 files changed, 307 insertions(+) create mode 100644 dev-java/slf4j-log4j12/Manifest create mode 100644 dev-java/slf4j-log4j12/files/slf4j-log4j12-1.7.7-maven-build.xml create mode 100644 dev-java/slf4j-log4j12/metadata.xml create mode 100644 dev-java/slf4j-log4j12/slf4j-log4j12-1.7.7.ebuild (limited to 'dev-java/slf4j-log4j12') diff --git a/dev-java/slf4j-log4j12/Manifest b/dev-java/slf4j-log4j12/Manifest new file mode 100644 index 000000000000..3cc055f2e238 --- /dev/null +++ b/dev-java/slf4j-log4j12/Manifest @@ -0,0 +1,6 @@ +AUX slf4j-log4j12-1.7.7-maven-build.xml 10522 SHA256 291cd2f4afcd7a6d7a1e762137a6590385c0658118d645a7430def53373bf1d9 SHA512 169e6b50e5ec5e44047dae2be9144e1626e2a5e95a0fb92c61e01164804433887e7e8b1c0108ef3bcc7dbbadeff9eab86c85977572a80825bdb5ac2914d65ce9 WHIRLPOOL 097b0a38f307e4ee59305975b1ee233e75dfb926ffe2068ae095691169de50e66c56c37a0c30609f142073d0f6ac08aff7920270f332640440bca20b2a5ec441 +DIST slf4j-1.7.7.tar.gz 3031017 SHA256 97717f30f263dfbfe853a00b218e3f929acb022d9b13a4723c75c31846351cf1 SHA512 aefefe049ed36e8ec938469067be8d73d2c7a28189f54cf434606fecab1d380f00fdf8349a23ed99d574067d9a613b0aec48b913705cd27524af5a4a5d887418 WHIRLPOOL a20cbc94b940f23bf61645b7ab09600651df17fedc103660996dc800af4dd7b0d82e25c7eac65aa2d7981bf4acbfdd14a8bf2885270d2b06627889129d23373f +EBUILD slf4j-log4j12-1.7.7.ebuild 1169 SHA256 0b6824b05e35f42f9de3fe03b0671f592dc4f0b28fd1f178f4d0a5f527312f1c SHA512 047fc8d5551d0539045aa406c218c4104de000e3b63659075a62879074e7f8caa8a922b8b5fe4c2b29da48e9308c9d925915d63bf9d28e08e95e7a0b7bcd6164 WHIRLPOOL fb2004d85f0c6ed37b218e9a123e1b720b289b1479711a40f0f06addbfe987eb63f14b9be687b89806ea603126f7ba7d1dde8fb9250d6d91329a3a33d993eb07 +MISC ChangeLog 3460 SHA256 dfc2e64dc6abec16269488971d421cdfbf4ab088ca15b5b1992893a920b01e22 SHA512 5e4fd472010c6c499c6378d29c147a37ae56de0352a15aa0360169161ce4e5b758c9727e98c5ce4cd9089393d1be3c2492846ee79893a8c5b3bed2113c8f2f59 WHIRLPOOL 411ba0755fc38bd97b510c82a91b29c7c0afdb503474f27e2fd8662fd76338cb89f03d9dd27569abeb75c196409a4fb7894f98760b4cf5f8eb4d03a0acd865be +MISC ChangeLog-2015 722 SHA256 cc942688e1a11fa7d1b555f09da70877fc8bdf5caad1787232899ff55367a55d SHA512 eba38ff7c4b45cb237ddd5658a6ce247aba24b907a5adeb19dd3f92d1d8ffc60443a46759045f90fdd5c8f8b222d2000a1b8d2f9cb04f0c171cdcaa4a2fe7ceb WHIRLPOOL 9cf3b0b5334a83270d3f55e4490e04d9a9684c3afaeacbf41f678a7e51352049ccffb24c6fad0c2b77c4a97506648a8815f9b268934060e9ac6af0f0d4c22a73 +MISC metadata.xml 232 SHA256 0c8d91b3d514ac42d0eaca567346ab909c0f947049c85c25a380ec2400f1b3fb SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 WHIRLPOOL 3a1a6d054edc9177d85ca868f9b0a6e84ee51bab4fbdbb9b1ead1a03874036bcc3f96e903fb751dc4d29fdb7d6b5f3d8dbe7b042fc697c887e23f41cc9c8c4ac diff --git a/dev-java/slf4j-log4j12/files/slf4j-log4j12-1.7.7-maven-build.xml b/dev-java/slf4j-log4j12/files/slf4j-log4j12-1.7.7-maven-build.xml new file mode 100644 index 000000000000..e88e8b290cc4 --- /dev/null +++ b/dev-java/slf4j-log4j12/files/slf4j-log4j12-1.7.7-maven-build.xml @@ -0,0 +1,241 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/slf4j-log4j12/metadata.xml b/dev-java/slf4j-log4j12/metadata.xml new file mode 100644 index 000000000000..2444066aa02b --- /dev/null +++ b/dev-java/slf4j-log4j12/metadata.xml @@ -0,0 +1,8 @@ + + + + + java@gentoo.org + Java + + diff --git a/dev-java/slf4j-log4j12/slf4j-log4j12-1.7.7.ebuild b/dev-java/slf4j-log4j12/slf4j-log4j12-1.7.7.ebuild new file mode 100644 index 000000000000..87788627a484 --- /dev/null +++ b/dev-java/slf4j-log4j12/slf4j-log4j12-1.7.7.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Simple Logging Facade for Java (SLF4J) log4j bindings" +HOMEPAGE="http://www.slf4j.org/" +SRC_URI="http://www.slf4j.org/dist/${P/-log4j12/}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="test" + +COMMON_DEPEND=" + dev-java/log4j:0 + dev-java/slf4j-api:0" + +RDEPEND="${COMMON_DEPEND} + >=virtual/jre-1.6" +DEPEND="${COMMON_DEPEND} + >=virtual/jdk-1.6 + test? ( + dev-java/hamcrest-core:0 + dev-java/junit:4 + dev-java/ant-junit4:0 + )" + +S=${WORKDIR}/${P/-log4j12/}/${PN} + +EANT_GENTOO_CLASSPATH="log4j,slf4j-api" +EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},hamcrest-core,junit-4" +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}" + +java_prepare() { + cp "${FILESDIR}"/${P}-maven-build.xml build.xml || die + find "${WORKDIR}" -iname '*.jar' -delete || die +} + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_dojar target/${PN}.jar + use doc && java-pkg_dojavadoc target/site/apidocs + use source && java-pkg_dosrc src/main/java/org +} -- cgit v1.2.3