]>
Commit | Line | Data |
---|---|---|
63fbddb7 MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = python3-psutil | |
7 | version = 5.9.4 | |
8 | release = 1 | |
9 | thisapp = psutil-release-%{version} | |
10 | ||
11 | groups = System/Libraries | |
12 | url = https://github.com/giampaolo/psutil | |
13 | license = BSD | |
14 | summary = Cross-platform lib for process and system monitoring in Python | |
15 | ||
16 | description | |
17 | psutil (process and system utilities) is a cross-platform library for | |
18 | retrieving information on running processes and system utilization | |
19 | (CPU, memory, disks, network, sensors) in Python. | |
20 | It is useful mainly for system monitoring, profiling and limiting | |
21 | process resources and management of running processes. | |
22 | It implements many functionalities offered by classic UNIX command | |
23 | line tools such as ps, top, iotop, lsof, netstat, ifconfig, free | |
24 | and others. | |
25 | end | |
26 | ||
27 | source_dl = https://github.com/giampaolo/psutil/archive/refs/tags/release-%{version}.tar.gz#/ | |
28 | ||
29 | build | |
30 | requires | |
31 | python3-devel | |
32 | python3-setuptools | |
33 | end | |
34 | ||
35 | build | |
36 | %{python3} setup.py build | |
37 | end | |
38 | ||
39 | install | |
40 | %{python3} setup.py install --root=%{BUILDROOT} | |
41 | end | |
42 | end | |
43 | ||
44 | packages | |
45 | package %{name} | |
46 | ||
47 | package %{name}-debuginfo | |
48 | template DEBUGINFO | |
49 | end | |
50 | end |