Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 558108

Summary: sys-process/htop ebuild pulls in Python when it doesn't need it
Product: Gentoo Linux Reporter: Aaron Jones <me>
Component: Current packagesAssignee: Christian Ruppert (idl0r) <idl0r>
Status: RESOLVED FIXED    
Severity: normal CC: matt.ruffalo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Aaron Jones 2015-08-18 21:52:01 UTC
This is related to bug 541948

The ebuild for sys-process/htop-1.0.3 pulls in Python 2 when it doesn't need it, and it also builds successfully if you change the .ebuild to depend on Python 3.4.

It turns out that the only Python-related file in the distribution is the MakeHeader.py script (as mentioned in the aforementioned bug); however, the files that it generates are also included in the tarball, and so the script is never called.

It seems silly to force people to install Python 2 when htop doesn't need it. Furthermore, it should only be a build-time dependency if you're going to keep it.
Comment 1 Aaron Jones 2015-08-18 21:56:21 UTC
Ignore the last sentence; it already is build time.
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2015-09-10 08:37:01 UTC
*** Bug 541948 has been marked as a duplicate of this bug. ***
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2015-09-10 08:39:39 UTC
Thanks! It's indeed unneeded. I removed the python foo from 1.0.3-r1.