Gentoo Archives: gentoo-commits

From: "Jim Ramsay (lack)" <lack@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: vim.eclass
Date: Mon, 03 May 2010 01:41:59
Message-Id: 20100503014154.055F52C2B1@corvid.gentoo.org
1 lack 10/05/03 01:41:53
2
3 Modified: vim.eclass
4 Log:
5 Use PYTHON_USE_WITH_OPT to only pull in python when actually required. Bug #317939
6
7 Revision Changes Path
8 1.186 eclass/vim.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/vim.eclass?rev=1.186&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/vim.eclass?rev=1.186&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/vim.eclass?r1=1.185&r2=1.186
13
14 Index: vim.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v
17 retrieving revision 1.185
18 retrieving revision 1.186
19 diff -u -r1.185 -r1.186
20 --- vim.eclass 15 Apr 2010 19:23:34 -0000 1.185
21 +++ vim.eclass 3 May 2010 01:41:53 -0000 1.186
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2007 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.185 2010/04/15 19:23:34 darkside Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.186 2010/05/03 01:41:53 lack Exp $
27
28 # Authors:
29 # Jim Ramsay <i.am@g.o>
30 @@ -28,6 +28,7 @@
31 if [[ ${MY_PN} != "vim-core" ]] ; then
32 # vim supports python-2 only
33 PYTHON_DEPEND="python? 2"
34 + PYTHON_USE_WITH_OPT="python"
35 PYTHON_USE_WITH="threads"
36 fi
37 inherit eutils vim-doc flag-o-matic versionator fdo-mime bash-completion prefix python