diff options
author | Radoslaw Stachowiak <radek@gentoo.org> | 2006-06-03 17:56:35 +0000 |
---|---|---|
committer | Radoslaw Stachowiak <radek@gentoo.org> | 2006-06-03 17:56:35 +0000 |
commit | 4de5ec1f18d0c0f9044304d6094425527171544f (patch) | |
tree | 007a828eb37c0c6f8e1342e65de5a7dd4e00018f /eclass/distutils.eclass | |
parent | Stable on hppa. (diff) | |
download | historical-4de5ec1f18d0c0f9044304d6094425527171544f.tar.gz historical-4de5ec1f18d0c0f9044304d6094425527171544f.tar.bz2 historical-4de5ec1f18d0c0f9044304d6094425527171544f.zip |
Fixed wrong comparision for PYTHON_SLOT_VERSION and added support for 2.3
This is used currently _only_ for net-zope stuff which relies heavily on
older python versions. More info can be obtained from net-zope@gentoo.org
or at url http://bugs.gentoo.org/show_bug.cgi?id=105187#c84
Diffstat (limited to 'eclass/distutils.eclass')
-rw-r--r-- | eclass/distutils.eclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/distutils.eclass b/eclass/distutils.eclass index 4ca8a494edfe..c707061d27b6 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.30 2005/12/07 17:57:12 marienz Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.31 2006/06/03 17:56:35 radek Exp $ # # Author: Jon Nelson <jnelson@gentoo.org> # Current Maintainer: Alastair Tse <liquidx@gentoo.org> @@ -23,9 +23,12 @@ inherit python eutils # This helps make it possible to add extensions to python slots. # Normally only a -py21- ebuild would set PYTHON_SLOT_VERSION. -if [ "${PYTHON_SLOT_VERSION}" = 2.1 ] ; then +if [ "${PYTHON_SLOT_VERSION}" = "2.1" ] ; then DEPEND="=dev-lang/python-2.1*" python="python2.1" +elif [ "${PYTHON_SLOT_VERSION}" = "2.3" ] ; then + DEPEND="=dev-lang/python-2.3*" + python="python2.3" else DEPEND="virtual/python" python="python" |