summaryrefslogtreecommitdiff
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
commit808f3ae9089e33b4e154373133b40ff09fb79981 (patch)
tree3e3340b03344a3d54d9095d778086306e0497e1d /eclass/python-r1.eclass
parentfix distfile name (diff)
downloadgentoo-2-808f3ae9089e33b4e154373133b40ff09fb79981.tar.gz
gentoo-2-808f3ae9089e33b4e154373133b40ff09fb79981.tar.bz2
gentoo-2-808f3ae9089e33b4e154373133b40ff09fb79981.zip
Deprecate python_export_best() verbosely.
Diffstat (limited to 'eclass/python-r1.eclass')
-rw-r--r--eclass/python-r1.eclass5
1 files changed, 4 insertions, 1 deletions
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