summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-01-13 21:35:29 +0000
committerMichał Górny <mgorny@gentoo.org>2015-01-13 21:35:29 +0000
commitff69f0deec6a48a453a99db249b1cdaeb9169615 (patch)
tree5b762e9f88436a73d28868074f1874ae50ff9a02 /eclass
parentSupport restricting implementations for *_all() phases. (diff)
downloadhistorical-ff69f0deec6a48a453a99db249b1cdaeb9169615.tar.gz
historical-ff69f0deec6a48a453a99db249b1cdaeb9169615.tar.bz2
historical-ff69f0deec6a48a453a99db249b1cdaeb9169615.zip
Deprecate python_export_best() verbosely.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/python-r1.eclass5
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 <mgorny@gentoo.org> python-r1.eclass:
+ Deprecate python_export_best() verbosely.
13 Jan 2015; Michał Górny <mgorny@gentoo.org> 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