1 |
commit: 2e00253a6a2f4393a8e85c2dd733b6d91ea80a9b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 4 17:24:25 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 9 08:43:48 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e00253a |
7 |
|
8 |
python-utils-r1.eclass: Remove deprecated python_export |
9 |
|
10 |
Remove python_export, as it is no longer used by any ebuilds |
11 |
in ::gentoo. |
12 |
|
13 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
14 |
|
15 |
eclass/python-utils-r1.eclass | 17 ----------------- |
16 |
1 file changed, 17 deletions(-) |
17 |
|
18 |
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass |
19 |
index 255e30277f5e..b92fade0855e 100644 |
20 |
--- a/eclass/python-utils-r1.eclass |
21 |
+++ b/eclass/python-utils-r1.eclass |
22 |
@@ -266,23 +266,6 @@ _python_impl_matches() { |
23 |
# python2.7 |
24 |
# @CODE |
25 |
|
26 |
-# @FUNCTION: python_export |
27 |
-# @USAGE: [<impl>] <variables>... |
28 |
-# @INTERNAL |
29 |
-# @DESCRIPTION: |
30 |
-# Backwards compatibility function. The relevant API is now considered |
31 |
-# private, please use python_get* instead. |
32 |
-python_export() { |
33 |
- debug-print-function ${FUNCNAME} "${@}" |
34 |
- |
35 |
- eqawarn "python_export() is part of private eclass API." |
36 |
- eqawarn "Please call python_get*() instead." |
37 |
- |
38 |
- [[ ${EAPI} == [67] ]] || die "${FUNCNAME} banned in EAPI ${EAPI}" |
39 |
- |
40 |
- _python_export "${@}" |
41 |
-} |
42 |
- |
43 |
# @FUNCTION: _python_export |
44 |
# @USAGE: [<impl>] <variables>... |
45 |
# @INTERNAL |