# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.31 2006/06/03 17:56:35 radek Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.32 2006/08/07 00:21:49 liquidx Exp $
#
# Author: Jon Nelson <jnelson@gentoo.org>
# Current Maintainer: Alastair Tse <liquidx@gentoo.org>
distutils_python_tkinter() {
if ! python -c "import Tkinter" >/dev/null 2>&1; then
eerror "You need to recompile python with Tkinter support."
- eerror "That means: USE='tcltk' emerge python"
+ eerror "Try adding 'dev-lang/python X tk' to:"
+ eerror "/etc/portage/package.use"
echo
die "missing tkinter support with installed python"
fi
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.26 2006/07/14 15:13:32 marienz Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.27 2006/08/07 00:21:49 liquidx Exp $
#
# Author: Alastair Tse <liquidx@gentoo.org>
#
python_tkinter_exists() {
if ! python -c "import Tkinter" >/dev/null 2>&1; then
eerror "You need to recompile python with Tkinter support."
- eerror "That means: 'dev-lang/python X tcltk'"
- eerror "in /etc/portage/package.use"
+ eerror "Try adding: 'dev-lang/python X tk'"
+ eerror "in to /etc/portage/package.use"
echo
die "missing tkinter support with installed python"
fi