Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558108 - sys-process/htop ebuild pulls in Python when it doesn't need it
Summary: sys-process/htop ebuild pulls in Python when it doesn't need it
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Ruppert (idl0r)
URL:
Whiteboard:
Keywords:
: 541948 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-08-18 21:52 UTC by Aaron Jones
Modified: 2015-09-10 08:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.