--- python.eclass 2008-06-05 18:43:21.745143193 +0300 +++ python.eclass 2008-06-05 18:45:52.225153510 +0300 @@ -12,10 +12,14 @@ # Some useful functions for dealing with python. inherit alternatives multilib - -if [[ -n "${NEED_PYTHON}" ]] ; then - DEPEND=">=dev-lang/python-${NEED_PYTHON}" - RDEPEND="${DEPEND}" +if [[ "${NEED_PYTHON}" != "none" ]]; then + if [[ -z "${NEED_PYTHON}" ]]; then + DEPEND="virtual/python" + RDEPEND="${DEPEND}" + else + DEPEND=">=dev-lang/python-${NEED_PYTHON}" + RDEPEND="${DEPEND}" + fi fi __python_eclass_test() { --- distutils.eclass 2008-06-05 18:43:16.570143628 +0300 +++ distutils.eclass 2008-06-05 18:44:54.149158130 +0300 @@ -22,13 +22,10 @@ # 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 - 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" fi