summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorLukasz Strzygowski <lucass@gentoo.org>2007-06-30 09:44:40 +0000
committerLukasz Strzygowski <lucass@gentoo.org>2007-06-30 09:44:40 +0000
commit772d7b6f0f1a0032b22fb5288277acec6da2c402 (patch)
treea604775bfdd414836046f82d558275993f21e239 /eclass
parentStable on ppc; bug #183656. (diff)
downloadgentoo-2-772d7b6f0f1a0032b22fb5288277acec6da2c402.tar.gz
gentoo-2-772d7b6f0f1a0032b22fb5288277acec6da2c402.tar.bz2
gentoo-2-772d7b6f0f1a0032b22fb5288277acec6da2c402.zip
Fixed distutils_python_tkinter to call python_tkinter_exists.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/distutils.eclass10
1 files changed, 2 insertions, 8 deletions
diff --git a/eclass/distutils.eclass b/eclass/distutils.eclass
index 01bcab19ed14..bb4e1eccbffe 100644
--- a/eclass/distutils.eclass
+++ b/eclass/distutils.eclass
@@ -1,6 +1,6 @@
# 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.39 2007/05/01 13:44:37 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.40 2007/06/30 09:44:40 lucass Exp $
#
# Author: Jon Nelson <jnelson@gentoo.org>
# Current Maintainer: Alastair Tse <liquidx@gentoo.org>
@@ -110,13 +110,7 @@ distutils_python_version() {
# checks for if tkinter support is compiled into python
distutils_python_tkinter() {
- if ! python -c "import Tkinter" >/dev/null 2>&1; then
- eerror "You need to recompile python with Tkinter support."
- eerror "Try adding 'dev-lang/python tk' to:"
- eerror "/etc/portage/package.use"
- echo
- die "missing tkinter support with installed python"
- fi
+ python_tkinter_exists
}
EXPORT_FUNCTIONS src_compile src_install pkg_postinst pkg_postrm