diff options
-rw-r--r-- | eclass/python.eclass | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/eclass/python.eclass b/eclass/python.eclass index 59387c9d36f7..fb044a836458 100644 --- a/eclass/python.eclass +++ b/eclass/python.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.64 2009/08/15 21:50:31 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.65 2009/08/15 23:32:58 arfrever Exp $ # @ECLASS: python.eclass # @MAINTAINER: @@ -10,8 +10,8 @@ # @BLURB: A Utility Eclass that should be inherited by anything that deals with Python or Python modules. # @DESCRIPTION: # Some useful functions for dealing with python. -inherit alternatives multilib +inherit multilib if [[ -n "${NEED_PYTHON}" ]] ; then PYTHON_ATOM=">=dev-lang/python-${NEED_PYTHON}" @@ -481,15 +481,6 @@ python_get_sitedir() { echo "$(python_get_libdir)/site-packages" } -# @FUNCTION: python_makesym -# @DESCRIPTION: -# Run without arguments, it will create the /usr/bin/python symlinks -# to the latest installed version -python_makesym() { - alternatives_auto_makesym "/usr/bin/python" "python[0-9].[0-9]" - alternatives_auto_makesym "/usr/bin/python2" "python2.[0-9]" -} - # @FUNCTION: python_tkinter_exists # @DESCRIPTION: # Run without arguments, checks if python was compiled with Tkinter |