Bug 255563 - misc/py-powerline-status: Add dependency for py37-psutil
Summary: misc/py-powerline-status: Add dependency for py37-psutil
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-03 06:17 UTC by stephan
Modified: 2021-05-10 16:57 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stephan 2021-05-03 06:17:46 UTC
When using powerline in tmux with standard configuration but without having py37-psutil installed manually, the following warning is constantly displayed (and uptime is missing from the status bar):

WARNING:tmux:uptime:Unable to get uptime. You should install psutil module

I use the out of the box configuration, .tmux.conf only contains one line:

source "/usr/local/lib/python3.7/site-packages/powerline/bindings/tmux/powerline.conf"

This warning goes away when manually installing py37-psutil.

I would therefore suggest to add py37-psutil as runtime port dependency.