Summary: | sys-process/htop-1.0.3 can be compiled with Python 3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matt Ruffalo <matt.ruffalo> |
Component: | [OLD] Core system | Assignee: | Christian Ruppert (idl0r) <idl0r> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | chutzpah, matt.ruffalo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Matt Ruffalo
2015-03-02 20:22:44 UTC
I looked over the MakeHeader.py script, it is using print as a function without from __future__ import print_function. so at the very least it should drop py-2.6 support. Especially since it is no longer in the tree. I also did not see any python-2 specific code, so will likely work correctly. Matt, to test it properly, please make a copy of htop into a local overlay and change the PYTHON_COMPAT= to PYTHON_COMPAT=( python{2_7,3_3,3_4} ) then generate a new manifest for it by running the following in the same directory as the modified ebuild. repoman manifest Then re-emerge it and test. You probably want to add ${PYTHON_DEPS} to the DEPEND to make sure that one of the listed python implementations is installed at build time. *** This bug has been marked as a duplicate of bug 558108 *** |