diff options
author | Lukasz Strzygowski <lucass@gentoo.org> | 2007-06-30 09:44:40 +0000 |
---|---|---|
committer | Lukasz Strzygowski <lucass@gentoo.org> | 2007-06-30 09:44:40 +0000 |
commit | 2eb1529139bfbe0421715f46e03b1c02429d6bed (patch) | |
tree | 94b9ab3a321f20a1c740348fcd93d201ce4a0735 /eclass/distutils.eclass | |
parent | Stable on ppc; bug #183656. (diff) | |
download | historical-2eb1529139bfbe0421715f46e03b1c02429d6bed.tar.gz historical-2eb1529139bfbe0421715f46e03b1c02429d6bed.tar.bz2 historical-2eb1529139bfbe0421715f46e03b1c02429d6bed.zip |
Fixed distutils_python_tkinter to call python_tkinter_exists.
Diffstat (limited to 'eclass/distutils.eclass')
-rw-r--r-- | eclass/distutils.eclass | 10 |
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 |