From ff69f0deec6a48a453a99db249b1cdaeb9169615 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 13 Jan 2015 21:35:29 +0000 Subject: [PATCH] Deprecate python_export_best() verbosely. --- eclass/ChangeLog | 5 ++++- eclass/python-r1.eclass | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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 -- 2.26.2