diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-15 23:32:58 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-15 23:32:58 +0000 |
commit | b2350de1c2f6edd71e98dc7a14081b85cd7c0144 (patch) | |
tree | 01b346143d268f2d0afaad3ef539d9e277069f8c | |
parent | Remove unpatched ebuild. Add version bump (bug 280967). (diff) | |
download | gentoo-2-b2350de1c2f6edd71e98dc7a14081b85cd7c0144.tar.gz gentoo-2-b2350de1c2f6edd71e98dc7a14081b85cd7c0144.tar.bz2 gentoo-2-b2350de1c2f6edd71e98dc7a14081b85cd7c0144.zip |
Remove unused python_makesym() function.
-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 |