Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/slf4j-simple/, dev-java/slf4j-simple/files/
Date: Wed, 30 Sep 2015 07:40:26
Message-Id: 1443598696.f42d61f83982e8665b8142e783ede9087fc60639.monsieurp@gentoo
1 commit: f42d61f83982e8665b8142e783ede9087fc60639
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 30 07:38:16 2015 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 30 07:38:16 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f42d61f8
7
8 dev-java/slf4j-simple: Rename build.xml in files directory and copy build.xml file accordingly to . Add missing test dependencies to DEPEND.
9
10 Package-Manager: portage-2.2.18
11 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
12
13 .../files/{1.7.6-build.xml => 1.7.7-build.xml} | 0
14 dev-java/slf4j-simple/slf4j-simple-1.7.7.ebuild | 21 +++++++++++++--------
15 2 files changed, 13 insertions(+), 8 deletions(-)
16
17 diff --git a/dev-java/slf4j-simple/files/1.7.6-build.xml b/dev-java/slf4j-simple/files/1.7.7-build.xml
18 similarity index 100%
19 rename from dev-java/slf4j-simple/files/1.7.6-build.xml
20 rename to dev-java/slf4j-simple/files/1.7.7-build.xml
21
22 diff --git a/dev-java/slf4j-simple/slf4j-simple-1.7.7.ebuild b/dev-java/slf4j-simple/slf4j-simple-1.7.7.ebuild
23 index 9b41e73..deb4203 100644
24 --- a/dev-java/slf4j-simple/slf4j-simple-1.7.7.ebuild
25 +++ b/dev-java/slf4j-simple/slf4j-simple-1.7.7.ebuild
26 @@ -1,8 +1,9 @@
27 -# Copyright 1999-2014 Gentoo Foundation
28 +# Copyright 1999-2015 Gentoo Foundation
29 # Distributed under the terms of the GNU General Public License v2
30 # $Id$
31
32 EAPI=5
33 +
34 JAVA_PKG_IUSE="doc source"
35
36 inherit java-pkg-2 java-ant-2
37 @@ -16,12 +17,16 @@ SLOT="0"
38 KEYWORDS="amd64 ppc ppc64 x86"
39 IUSE="test"
40
41 -COMMON_DEP="dev-java/slf4j-api:0"
42 -RDEPEND=">=virtual/jre-1.5
43 - ${COMMON_DEP}"
44 -DEPEND=">=virtual/jdk-1.5
45 - ${COMMON_DEP}
46 - test? ( dev-java/junit )"
47 +CDEPEND="
48 + dev-java/slf4j-api:0"
49 +RDEPEND=">=virtual/jre-1.6
50 + ${CDEPEND}"
51 +DEPEND=">=virtual/jdk-1.6
52 + ${CDEPEND}
53 + test? (
54 + dev-java/junit:4
55 + dev-java/ant-junit:0
56 + )"
57
58 S="${WORKDIR}/${P/-simple/}/${PN}"
59
60 @@ -32,7 +37,7 @@ EANT_TEST_ANT_TASKS="ant-junit"
61 EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
62
63 java_prepare() {
64 - cp "${FILESDIR}"/1.7.6-build.xml build.xml || die
65 + cp "${FILESDIR}"/"${PV}"-build.xml build.xml || die
66 find "${S}" -name "*.jar" -delete || die
67 }