Deprecate python_export_best() verbosely.
authorMichał Górny <mgorny@gentoo.org>
Tue, 13 Jan 2015 21:35:29 +0000 (21:35 +0000)
committerMichał Górny <mgorny@gentoo.org>
Tue, 13 Jan 2015 21:35:29 +0000 (21:35 +0000)
eclass/ChangeLog
eclass/python-r1.eclass

index fc330c456ff56021143fe1f28a7975fe8a3ac425..28d976d9126d4b6135f1370ae83a17b4bca5da39 100644 (file)
@@ -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.
index c0c066359c98b11b19405a34127db945a9f2d382..0802c5fafd4654ed7b1d7dbf73de6c4b6eaef54d 100644 (file)
@@ -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