1 |
The following functions (already banned in EAPI >=3) have been deprecated |
2 |
in EAPI <=2: |
3 |
- python_version() |
4 |
- python_mod_exists() |
5 |
- python_tkinter_exists() |
6 |
- distutils_python_version() |
7 |
- distutils_python_tkinter() |
8 |
|
9 |
It is currently planned that these functions will be banned in EAPI <=2 |
10 |
on 2010-07-01, but this date may be delayed. |
11 |
|
12 |
python_version() and distutils_python_version() functions set python and |
13 |
PYVER* variables. Calls to python_version() and distutils_python_version() |
14 |
should be removed. Example replacements for deprecated variables: |
15 |
"${python}" => "$(PYTHON)" |
16 |
"/usr/include/python${PYVER}" => "$(python_get_includedir)" |
17 |
"/usr/$(get_libdir)/python${PYVER}" => "$(python_get_libdir)" |
18 |
"/usr/$(get_libdir)/python${PYVER}/site-packages" => "$(python_get_sitedir)" |
19 |
"/usr/$(get_libdir)/libpython${PYVER}.so" => "$(python_get_library)" |
20 |
"-lpython${PYVER}" => "$(python_get_library -l)" |
21 |
"${PYVER}" => "$(python_get_version)" |
22 |
"${PYVER_MAJOR}" => "$(python_get_version --major)" |
23 |
|
24 |
You can see documentation [1] for more information. |
25 |
|
26 |
Please fix your ebuilds not to use deprecated functions and variables. |
27 |
|
28 |
[1] http://www.gentoo.org/proj/en/Python/developersguide.xml |
29 |
-- |
30 |
Arfrever Frehtes Taifersar Arahesis |