summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-10-27 07:27:52 +0000
committerMichał Górny <mgorny@gentoo.org>2013-10-27 07:27:52 +0000
commit38fc900721182a177adf6127d6c326f8daecf70a (patch)
tree2cdc428991ae7a9d966ff15dc57a36fdc31fd198 /eclass/python-utils-r1.eclass
parentVersion bump. (diff)
downloadgentoo-2-38fc900721182a177adf6127d6c326f8daecf70a.tar.gz
gentoo-2-38fc900721182a177adf6127d6c326f8daecf70a.tar.bz2
gentoo-2-38fc900721182a177adf6127d6c326f8daecf70a.zip
Remove deprecated functions.
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r--eclass/python-utils-r1.eclass40
1 files changed, 1 insertions, 39 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 1bba3b8e255d..7387f94b06d2 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/python-utils-r1.eclass,v 1.43 2013/10/09 19:08:18 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-utils-r1.eclass,v 1.44 2013/10/27 07:27:52 mgorny Exp $
# @ECLASS: python-utils-r1
# @MAINTAINER:
@@ -386,44 +386,6 @@ python_export() {
done
}
-# @FUNCTION: python_get_PYTHON
-# @USAGE: [<impl>]
-# @DESCRIPTION:
-# Obtain and print the path to the Python interpreter for the given
-# implementation. If no implementation is provided, ${EPYTHON} will
-# be used.
-#
-# If you just need to have PYTHON set (and exported), then it is better
-# to use python_export() directly instead.
-python_get_PYTHON() {
- debug-print-function ${FUNCNAME} "${@}"
-
- eqawarn '$(python_get_PYTHON) is discouraged since all standard environments' >&2
- eqawarn 'have PYTHON exported anyway. Please use ${PYTHON} instead.' >&2
- eqawarn 'python_get_PYTHON will be removed on 2013-10-16.' >&2
-
- python_export "${@}" PYTHON
- echo "${PYTHON}"
-}
-
-# @FUNCTION: python_get_EPYTHON
-# @USAGE: <impl>
-# @DESCRIPTION:
-# Obtain and print the EPYTHON value for the given implementation.
-#
-# If you just need to have EPYTHON set (and exported), then it is better
-# to use python_export() directly instead.
-python_get_EPYTHON() {
- debug-print-function ${FUNCNAME} "${@}"
-
- eqawarn '$(python_get_EPYTHON) is discouraged since all standard environments' >&2
- eqawarn 'have EPYTHON exported anyway. Please use ${EPYTHON} instead.' >&2
- eqawarn 'python_get_EPYTHON will be removed on 2013-10-16.' >&2
-
- python_export "${@}" EPYTHON
- echo "${EPYTHON}"
-}
-
# @FUNCTION: python_get_sitedir
# @USAGE: [<impl>]
# @DESCRIPTION: