Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 3/3] [python-r1] Finally deprecate python_export_best()
Date: Mon, 05 Jan 2015 18:19:44
Message-Id: 1420481910-13985-3-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/3] [python-r1] python_setup, allow restricting acceptable impls by "Michał Górny"
1 ---
2 eclass/python-r1.eclass | 3 +++
3 1 file changed, 3 insertions(+)
4
5 diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
6 index 0f73e3c..1ff521b 100644
7 --- a/eclass/python-r1.eclass
8 +++ b/eclass/python-r1.eclass
9 @@ -799,6 +799,9 @@ python_setup() {
10 python_export_best() {
11 debug-print-function ${FUNCNAME} "${@}"
12
13 + eqawarn "python_export_best() is deprecated. Please use python_setup instead,"
14 + eqawarn "combined with python_export if necessary."
15 +
16 [[ ${#} -gt 0 ]] || set -- EPYTHON PYTHON
17
18 local best MULTIBUILD_VARIANTS
19 --
20 2.2.1