/[gentoo-x86]/eclass/ant-tasks.eclass
Gentoo

Diff of /eclass/ant-tasks.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.12 Revision 1.13
1# Eclass for building dev-java/ant-* packages 1# Eclass for building dev-java/ant-* packages
2# 2#
3# Copyright 1999-2012 Gentoo Foundation 3# Copyright 1999-2012 Gentoo Foundation
4# Distributed under the terms of the GNU General Public License, v2 or later 4# Distributed under the terms of the GNU General Public License, v2 or later
5# Author Vlastimil Babka <caster@gentoo.org> 5# Author Vlastimil Babka <caster@gentoo.org>
6# $Header: /var/cvsroot/gentoo-x86/eclass/ant-tasks.eclass,v 1.12 2012/05/30 08:21:18 sera Exp $ 6# $Header: /var/cvsroot/gentoo-x86/eclass/ant-tasks.eclass,v 1.13 2012/06/01 12:19:42 sera Exp $
7 7
8# we set ant-core dep ourselves, restricted 8# we set ant-core dep ourselves, restricted
9JAVA_ANT_DISABLE_ANT_CORE_DEP=true 9JAVA_ANT_DISABLE_ANT_CORE_DEP=true
10# rewriting build.xml for are the testcases has no reason atm 10# rewriting build.xml for are the testcases has no reason atm
11JAVA_PKG_BSFIX_ALL=no 11JAVA_PKG_BSFIX_ALL=no
115 115
116RDEPEND="~dev-java/ant-core-${PV}" 116RDEPEND="~dev-java/ant-core-${PV}"
117DEPEND="${RDEPEND}" 117DEPEND="${RDEPEND}"
118 118
119if [[ -z "${ANT_TASK_DISABLE_VM_DEPS}" ]]; then 119if [[ -z "${ANT_TASK_DISABLE_VM_DEPS}" ]]; then
120 RDEPEND=">=virtual/jre-${ANT_TASK_JREVER} 120 RDEPEND+=" >=virtual/jre-${ANT_TASK_JREVER}"
121 ${DEPEND}"
122 DEPEND=">=virtual/jdk-${ANT_TASK_JDKVER} 121 DEPEND+=" >=virtual/jdk-${ANT_TASK_JDKVER}"
123 ${RDEPEND}"
124fi 122fi
125 123
126# we need direct blockers with old ant-tasks for file collisions - bug #252324 124# we need direct blockers with old ant-tasks for file collisions - bug #252324
127if version_is_at_least 1.7.1 ; then 125if version_is_at_least 1.7.1 ; then
128 DEPEND="${DEPEND}
129 !dev-java/ant-tasks" 126 DEPEND+=" !dev-java/ant-tasks"
130fi 127fi
131 128
132# Would run the full ant test suite for every ant task 129# Would run the full ant test suite for every ant task
133RESTRICT="test" 130RESTRICT="test"
134 131

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20