Bug 281484 - x11-wm/xfce4-panel-profiles: missing dependency on py311-psutil
Summary: x11-wm/xfce4-panel-profiles: missing dependency on py311-psutil
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-xfce (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-13 15:18 UTC by Henryk Paluch
Modified: 2024-09-13 15:18 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (xfce)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henryk Paluch 2024-09-13 15:18:22 UTC
When I install just xfce4-panel-profiles package in Xfce it will fail with error:

$ xfce4-panel-profiles --help

Traceback (most recent call last):
  File "/usr/local/share/xfce4-panel-profiles/xfce4-panel-profiles/xfce4-panel-profiles.py", line 44, in <module>
    from panelconfig import PanelConfig
  File "/usr/local/share/xfce4-panel-profiles/xfce4-panel-profiles/panelconfig.py", line 19, in <module>
    import psutil
ModuleNotFoundError: No module named 'psutil'

I have to install manually missing dependency:

$ doas pkg install py311-psutil

Then program works without problems.

More details on environment and package:

$ freebsd-version

14.1-RELEASE-p4

$ pkg info -E xfce4-panel-profiles

xfce4-panel-profiles-1.0.14_2

$ pkg info -d xfce4-panel-profiles

xfce4-panel-profiles-1.0.14_2:
    libxfce4util-4.18.2
    libxfce4menu-4.18.6
    xfce4-panel-4.18.6
    pango-1.52.2_1
    gtk3-3.24.43
    harfbuzz-9.0.0
    python311-3.11.9
    gdk-pixbuf2-2.42.10_3
    cairo-1.17.4_2,3
    glib-2.80.5,2
    gettext-runtime-0.22.5
    at-spi2-core-2.52.0

Solution: I suggest to add py311-psutil as dependency of package xfce4-panel-profiles