From: Michał Górny Date: Tue, 13 Jan 2015 21:35:29 +0000 (+0000) Subject: Deprecate python_export_best() verbosely. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff69f0deec6a48a453a99db249b1cdaeb9169615;p=gentoo.git Deprecate python_export_best() verbosely. --- diff --git a/eclass/ChangeLog b/eclass/ChangeLog index fc330c456ff5..28d976d9126d 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1509 2015/01/13 21:34:55 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1510 2015/01/13 21:35:29 mgorny Exp $ + + 13 Jan 2015; Michał Górny python-r1.eclass: + Deprecate python_export_best() verbosely. 13 Jan 2015; Michał Górny distutils-r1.eclass: Support restricting implementations for *_all() phases. diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index c0c066359c98..0802c5fafd46 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/python-r1.eclass,v 1.83 2015/01/13 21:34:22 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/python-r1.eclass,v 1.84 2015/01/13 21:35:29 mgorny Exp $ # @ECLASS: python-r1 # @MAINTAINER: @@ -799,6 +799,9 @@ python_setup() { python_export_best() { debug-print-function ${FUNCNAME} "${@}" + eqawarn "python_export_best() is deprecated. Please use python_setup instead," + eqawarn "combined with python_export if necessary." + [[ ${#} -gt 0 ]] || set -- EPYTHON PYTHON local best MULTIBUILD_VARIANTS