commit:     f9ec5e9356c953330b602189331d62163bb73b42
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  9 22:59:40 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Nov  9 22:59:40 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9ec5e93

dev-java/jstun: Stable for amd64+x86.

Package-Manager: portage-2.3.0

 dev-java/jstun/jstun-0.7.3.ebuild | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/dev-java/jstun/jstun-0.7.3.ebuild 
b/dev-java/jstun/jstun-0.7.3.ebuild
index cda937c..f01dba9 100644
--- a/dev-java/jstun/jstun-0.7.3.ebuild
+++ b/dev-java/jstun/jstun-0.7.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,16 +14,18 @@ SRC_URI="http://${PN}.javawi.de/${P}.src.tar.gz";
 
 LICENSE="Apache-2.0 GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 
-COMMON_DEP="dev-java/slf4j-api:0"
+CDEPEND="dev-java/slf4j-api:0"
 
-RDEPEND=">=virtual/jre-1.5
-       ${COMMON_DEP}"
+RDEPEND="
+       >=virtual/jre-1.5
+       ${CDEPEND}"
 
-DEPEND=">=virtual/jdk-1.5
+DEPEND="
+       >=virtual/jdk-1.5
        test? ( dev-java/junit:0 )
-       ${COMMON_DEP}"
+       ${CDEPEND}"
 
 S="${WORKDIR}/STUN"
 
@@ -35,8 +37,7 @@ RESTRICT="test"
 EANT_BUILD_XML="build/build.xml"
 
 java_prepare() {
-       rm -v *.jar || die
-       rm -v build/*.jar || die
+       rm -v *.jar build/*.jar || die
 
        java-pkg_jar-from slf4j-api
 }

Reply via email to