summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-03-05 04:10:16 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-03-05 04:10:16 +0000
commit191c843356774ca354eb4682d4b01f51f0c113b9 (patch)
tree282139915e09186f4fd5017cc7494b2d0b2f0a99 /dev-lang/python
parentSBLive Value note (Manifest recommit) (diff)
downloadgentoo-2-191c843356774ca354eb4682d4b01f51f0c113b9.tar.gz
gentoo-2-191c843356774ca354eb4682d4b01f51f0c113b9.tar.bz2
gentoo-2-191c843356774ca354eb4682d4b01f51f0c113b9.zip
added X useflag for greater tcltk seperation. now needs both X and tcltk USE flags to enable tkinter support
Diffstat (limited to 'dev-lang/python')
-rw-r--r--dev-lang/python/ChangeLog6
-rw-r--r--dev-lang/python/python-2.3.3.ebuild11
2 files changed, 11 insertions, 6 deletions
diff --git a/dev-lang/python/ChangeLog b/dev-lang/python/ChangeLog
index 07ebe44c3253..7216ecb8a4e7 100644
--- a/dev-lang/python/ChangeLog
+++ b/dev-lang/python/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/python
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.86 2004/03/03 22:15:34 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.87 2004/03/05 04:10:16 liquidx Exp $
+
+ 05 Mar 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild:
+ added X useflag for greater tcltk seperation. now needs both X and tcltk USE
+ flags to enable tkinter support
03 Mar 2004; David Holm <dholm@gentoo.org> python-2.1.3-r1.ebuild:
Added to ~ppc.
diff --git a/dev-lang/python/python-2.3.3.ebuild b/dev-lang/python/python-2.3.3.ebuild
index ad336448f129..0732e8fb7d65 100644
--- a/dev-lang/python/python-2.3.3.ebuild
+++ b/dev-lang/python/python-2.3.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.3.ebuild,v 1.20 2004/03/02 16:39:07 iggy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.3.ebuild,v 1.21 2004/03/05 04:10:16 liquidx Exp $
# NOTE about python-portage interactions :
# - Do not add a pkg_setup() check for a certain version of portage
@@ -19,7 +19,7 @@ DESCRIPTION="A really great language"
SRC_URI="http://www.python.org/ftp/python/${PV%_*}/Python-${MY_PV}.tar.bz2"
HOMEPAGE="http://www.python.org"
-IUSE="ncurses gdbm ssl readline tcltk berkdb bootstrap ipv6 build ucs2 doc"
+IUSE="ncurses gdbm ssl readline tcltk berkdb bootstrap ipv6 build ucs2 doc X"
LICENSE="PSF-2.2"
SLOT="2.3"
@@ -28,7 +28,7 @@ KEYWORDS="x86 ppc sparc hppa amd64 s390"
DEPEND="virtual/glibc
>=sys-libs/zlib-1.1.3
- !build? ( tcltk? ( >=dev-lang/tk-8.0 )
+ !build? ( X? ( tcltk? ( >=dev-lang/tk-8.0 ) )
ncurses? ( >=sys-libs/ncurses-5.2 readline? ( >=sys-libs/readline-4.1 ) )
berkdb? ( >=sys-libs/db-3.1 )
gdbm? ( sys-libs/gdbm )
@@ -69,13 +69,14 @@ src_configure() {
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} dbm bsddb"
use readline \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} readline"
- use tcltk \
- || PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _tkinter"
+ [ -z "use X" -o -z "use tcltk" ] \
+ && PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _tkinter"
use ncurses \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _curses _curses_panel"
use ssl \
|| export PYTHON_DISABLE_SSL=1
export PYTHON_DISABLE_MODULES
+ echo $PYTHON_DISABLE_MODULES
fi
}