From 95314df21bc6064905bc5cdf2df3c58647065a35 Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Wed, 12 Mar 2014 02:10:12 +0000 Subject: Version bump. (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) --- dev-java/slf4j-log4j12/ChangeLog | 8 +- .../files/slf4j-log4j12-1.7.6-maven-build.xml | 241 +++++++++++++++++++++ dev-java/slf4j-log4j12/slf4j-log4j12-1.7.6.ebuild | 52 +++++ 3 files changed, 300 insertions(+), 1 deletion(-) create mode 100644 dev-java/slf4j-log4j12/files/slf4j-log4j12-1.7.6-maven-build.xml create mode 100644 dev-java/slf4j-log4j12/slf4j-log4j12-1.7.6.ebuild (limited to 'dev-java/slf4j-log4j12') diff --git a/dev-java/slf4j-log4j12/ChangeLog b/dev-java/slf4j-log4j12/ChangeLog index 52a360bb849f..0002478b5542 100644 --- a/dev-java/slf4j-log4j12/ChangeLog +++ b/dev-java/slf4j-log4j12/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/slf4j-log4j12 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/slf4j-log4j12/ChangeLog,v 1.1 2014/02/04 00:29:06 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/slf4j-log4j12/ChangeLog,v 1.2 2014/03/12 02:10:12 radhermit Exp $ + +*slf4j-log4j12-1.7.6 (12 Mar 2014) + + 12 Mar 2014; Tim Harder +slf4j-log4j12-1.7.6.ebuild, + +files/slf4j-log4j12-1.7.6-maven-build.xml: + Version bump. *slf4j-log4j12-1.7.5 (04 Feb 2014) diff --git a/dev-java/slf4j-log4j12/files/slf4j-log4j12-1.7.6-maven-build.xml b/dev-java/slf4j-log4j12/files/slf4j-log4j12-1.7.6-maven-build.xml new file mode 100644 index 000000000000..fe840a760b42 --- /dev/null +++ b/dev-java/slf4j-log4j12/files/slf4j-log4j12-1.7.6-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/slf4j-log4j12-1.7.6.ebuild b/dev-java/slf4j-log4j12/slf4j-log4j12-1.7.6.ebuild new file mode 100644 index 000000000000..e05733765009 --- /dev/null +++ b/dev-java/slf4j-log4j12/slf4j-log4j12-1.7.6.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/slf4j-log4j12/slf4j-log4j12-1.7.6.ebuild,v 1.1 2014/03/12 02:10:12 radhermit Exp $ + +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.5" +DEPEND="${COMMON_DEPEND} + >=virtual/jdk-1.5 + 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-65-gdbad