Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-dev-announce
| Navigation: |
|
Lists:
gentoo-dev-announce:
< Prev
By Thread
Next >
< Prev
By Date
Next >
|
| Headers: |
|
To:
|
Gentoo Development Announcements <gentoo-dev-announce@g.o>
|
|
From:
|
Arfrever Frehtes Taifersar Arahesis <Arfrever@g.o>
|
|
Subject:
|
Deprecation of python_version(), python_mod_exists(), python_tkinter_exists(), distutils_python_version() and distutils_python_tkinter() in EAPI <=2
|
|
Date:
|
Fri, 5 Mar 2010 19:38:58 +0100
|
|
The following functions (already banned in EAPI >=3) have been deprecated
in EAPI <=2:
- python_version()
- python_mod_exists()
- python_tkinter_exists()
- distutils_python_version()
- distutils_python_tkinter()
It is currently planned that these functions will be banned in EAPI <=2
on 2010-07-01, but this date may be delayed.
python_version() and distutils_python_version() functions set python and
PYVER* variables. Calls to python_version() and distutils_python_version()
should be removed. Example replacements for deprecated variables:
"${python}" => "$(PYTHON)"
"/usr/include/python${PYVER}" => "$(python_get_includedir)"
"/usr/$(get_libdir)/python${PYVER}" => "$(python_get_libdir)"
"/usr/$(get_libdir)/python${PYVER}/site-packages" => "$(python_get_sitedir)"
"/usr/$(get_libdir)/libpython${PYVER}.so" => "$(python_get_library)"
"-lpython${PYVER}" => "$(python_get_library -l)"
"${PYVER}" => "$(python_get_version)"
"${PYVER_MAJOR}" => "$(python_get_version --major)"
You can see documentation [1] for more information.
Please fix your ebuilds not to use deprecated functions and variables.
[1] http://www.gentoo.org/proj/en/Python/developersguide.xml
--
Arfrever Frehtes Taifersar Arahesis
|
| Attachment: |
|
signature.asc (This is a digitally signed message part.)
|
|