From f42d61f83982e8665b8142e783ede9087fc60639 Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Wed, 30 Sep 2015 07:38:16 +0000 Subject: dev-java/slf4j-simple: Rename build.xml in files directory and copy build.xml file accordingly to . Add missing test dependencies to DEPEND. Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement --- dev-java/slf4j-simple/files/1.7.6-build.xml | 208 ------------------------ dev-java/slf4j-simple/files/1.7.7-build.xml | 208 ++++++++++++++++++++++++ dev-java/slf4j-simple/slf4j-simple-1.7.7.ebuild | 21 ++- 3 files changed, 221 insertions(+), 216 deletions(-) delete mode 100644 dev-java/slf4j-simple/files/1.7.6-build.xml create mode 100644 dev-java/slf4j-simple/files/1.7.7-build.xml (limited to 'dev-java/slf4j-simple') diff --git a/dev-java/slf4j-simple/files/1.7.6-build.xml b/dev-java/slf4j-simple/files/1.7.6-build.xml deleted file mode 100644 index f91d565e170a..000000000000 --- a/dev-java/slf4j-simple/files/1.7.6-build.xml +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - =================================== WARNING =================================== - JUnit is not present in your $ANT_HOME/lib directory. Tests not executed. - =============================================================================== - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev-java/slf4j-simple/files/1.7.7-build.xml b/dev-java/slf4j-simple/files/1.7.7-build.xml new file mode 100644 index 000000000000..f91d565e170a --- /dev/null +++ b/dev-java/slf4j-simple/files/1.7.7-build.xml @@ -0,0 +1,208 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/slf4j-simple/slf4j-simple-1.7.7.ebuild b/dev-java/slf4j-simple/slf4j-simple-1.7.7.ebuild index 9b41e7364c12..deb4203c4699 100644 --- a/dev-java/slf4j-simple/slf4j-simple-1.7.7.ebuild +++ b/dev-java/slf4j-simple/slf4j-simple-1.7.7.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 + JAVA_PKG_IUSE="doc source" inherit java-pkg-2 java-ant-2 @@ -16,12 +17,16 @@ SLOT="0" KEYWORDS="amd64 ppc ppc64 x86" IUSE="test" -COMMON_DEP="dev-java/slf4j-api:0" -RDEPEND=">=virtual/jre-1.5 - ${COMMON_DEP}" -DEPEND=">=virtual/jdk-1.5 - ${COMMON_DEP} - test? ( dev-java/junit )" +CDEPEND=" + dev-java/slf4j-api:0" +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" +DEPEND=">=virtual/jdk-1.6 + ${CDEPEND} + test? ( + dev-java/junit:4 + dev-java/ant-junit:0 + )" S="${WORKDIR}/${P/-simple/}/${PN}" @@ -32,7 +37,7 @@ EANT_TEST_ANT_TASKS="ant-junit" EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}" java_prepare() { - cp "${FILESDIR}"/1.7.6-build.xml build.xml || die + cp "${FILESDIR}"/"${PV}"-build.xml build.xml || die find "${S}" -name "*.jar" -delete || die } -- cgit v1.2.3-65-gdbad