--- distutils.eclass +++ distutils.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.79 2010/12/24 15:05:24 arfrever Exp $ @@ -100,19 +100,10 @@ EXPORT_FUNCTIONS src_test fi -# @ECLASS-VARIABLE: DISTUTILS_DISABLE_VERSIONING_OF_PYTHON_SCRIPTS -# @DESCRIPTION: -# Set this to disable renaming of Python scripts containing versioned shebangs -# and generation of wrapper scripts. +# Scheduled for deletion on 2011-06-01. if [[ -n "${DISTUTILS_DISABLE_VERSIONING_OF_PYTHON_SCRIPTS}" ]]; then - ewarn - ewarn "\"${EBUILD}\":" - ewarn "Deprecation Warning: DISTUTILS_DISABLE_VERSIONING_OF_PYTHON_SCRIPTS is deprecated" - ewarn "and will be banned on 2011-02-01. Use PYTHON_NONVERSIONED_EXECUTABLES=(\".*\")." - ewarn "The ebuild needs to be fixed. Please report a bug, if it has not been already reported." - ewarn - - PYTHON_NONVERSIONED_EXECUTABLES=(".*") + eerror "Use PYTHON_NONVERSIONED_EXECUTABLES=(\".*\") instead of DISTUTILS_DISABLE_VERSIONING_OF_PYTHON_SCRIPTS variable." + die "DISTUTILS_DISABLE_VERSIONING_OF_PYTHON_SCRIPTS variable is banned" fi # @ECLASS-VARIABLE: DOCS