summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-09-05 18:16:43 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-09-05 18:16:43 +0000
commit15c1d865de8806d89588075b51342d54020ba712 (patch)
tree2ecb4bbea586cf6112aeeea8ae08d0c285ae478f
parentFix sandbox issue when not building docs (bug #434002 by Gerard Neil). (diff)
downloadgentoo-2-15c1d865de8806d89588075b51342d54020ba712.tar.gz
gentoo-2-15c1d865de8806d89588075b51342d54020ba712.tar.bz2
gentoo-2-15c1d865de8806d89588075b51342d54020ba712.zip
Fix mistake for earlier commit
(Portage version: 2.2.0_alpha124/cvs/Linux x86_64)
-rw-r--r--dev-util/xdelta/xdelta-3.0.4.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-util/xdelta/xdelta-3.0.4.ebuild b/dev-util/xdelta/xdelta-3.0.4.ebuild
index 0b0610a5cee6..d33fe18af282 100644
--- a/dev-util/xdelta/xdelta-3.0.4.ebuild
+++ b/dev-util/xdelta/xdelta-3.0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/xdelta/xdelta-3.0.4.ebuild,v 1.2 2012/09/05 17:05:21 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/xdelta/xdelta-3.0.4.ebuild,v 1.3 2012/09/05 18:16:43 ssuominen Exp $
EAPI=4
@@ -24,8 +24,10 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
+ if use test; then
+ python_set_active_version 2
+ python_pkg_setup
+ fi
}
src_prepare() {