summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJim Ramsay <lack@gentoo.org>2010-05-03 01:41:53 +0000
committerJim Ramsay <lack@gentoo.org>2010-05-03 01:41:53 +0000
commitda4a7c39fbb86a368ada708aeb368838e702eec6 (patch)
treea43643ffb41f56b9dce12c54d56fe6c2c00ca295 /eclass
parentfix manifest (diff)
downloadgentoo-2-da4a7c39fbb86a368ada708aeb368838e702eec6.tar.gz
gentoo-2-da4a7c39fbb86a368ada708aeb368838e702eec6.tar.bz2
gentoo-2-da4a7c39fbb86a368ada708aeb368838e702eec6.zip
Use PYTHON_USE_WITH_OPT to only pull in python when actually required. Bug #317939
Diffstat (limited to 'eclass')
-rw-r--r--eclass/vim.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/vim.eclass b/eclass/vim.eclass
index 9e3ccc3913dd..8c335fd602f9 100644
--- a/eclass/vim.eclass
+++ b/eclass/vim.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.185 2010/04/15 19:23:34 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.186 2010/05/03 01:41:53 lack Exp $
# Authors:
# Jim Ramsay <i.am@gentoo.org>
@@ -28,6 +28,7 @@ MY_PN=${PN%-cvs}
if [[ ${MY_PN} != "vim-core" ]] ; then
# vim supports python-2 only
PYTHON_DEPEND="python? 2"
+ PYTHON_USE_WITH_OPT="python"
PYTHON_USE_WITH="threads"
fi
inherit eutils vim-doc flag-o-matic versionator fdo-mime bash-completion prefix python