Verify and potentially improve Python-related code
Bug #634148 reported by
Jeff Johnson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
RPM |
Triaged
|
Low
|
Unassigned | ||
Gentoo Linux |
Fix Released
|
Medium
|
Bug Description
tracker
Changed in rpm: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in gentoo: | |
status: | Unknown → Confirmed |
Changed in gentoo: | |
importance: | Unknown → Medium |
Changed in gentoo: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
- If this package could support installation for multiple versions of Python, set_active_ version( ). bin/python' ), then you convert_ shebangs( ) to convert shebangs. generate_ wrapper_ scripts( ) do not
then please try to adjust the ebuilds to support it.
- Ensure that the ebuilds do not use deprecated functions or variables.
- Please check if Python 3 is supported by this package.
- If this package does not support Python 3:
- Specify dependency on Python 2.
You can use PYTHON_DEPEND helper variable, which should be set before
inheriting of python eclass.
- If this package cannot support installation for multiple versions of
Python, then set active version of Python using
python_
- Ensure that shebangs in installed scripts specify correct version of
Python. If shebangs are too generic (e.g. '#!/usr/
can use python_
(Wrapper scripts generated by python_
require any changes.)
Please see documentation [1] for more details. www.gentoo. org/proj/ en/Python/ developersguide .xml
[1] http://