Ai
1 Star 0 Fork 22

infra-team/python-psutil

forked from src-openEuler/python-psutil
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-psutil.spec 2.88 KB
一键复制 编辑 原始数据 按行查看 历史
infra-team 提交于 2025-05-13 16:30 +08:00 . update python-psutil to 6.1.0
Name: python-psutil
Version: 6.1.0
Release: 1
Summary: A library for retrieving information on running processes and system utilization in Python
License: BSD
URL: https://github.com/giampaolo/psutil
Source0: https://github.com/giampaolo/psutil/archive/refs/tags/release-%{version}.tar.gz
BuildRequires: gcc python3-devel procps-ng python3-mock
%description
psutil (process and system utilities) is a cross-platform library for retrieving information
on running processes and system utilization (CPU, memory, disks, network, sensors) in Python.
It is useful mainly for system monitoring, profiling and limiting process resources and
management of running processes.It implements many functionalities offered by classic UNIX
command line tools such as ps, top, iotop, lsof, netstat, ifconfig, free and others.
%package -n python3-psutil
Summary: A library for retrieving information on running processes and system utilization in Python3
%{?python_provide:%python_provide python3-psutil}
%description -n python3-psutil
psutil (process and system utilities) is a cross-platform library for retrieving information
on running processes and system utilization (CPU, memory, disks, network, sensors) in Python3.
It is useful mainly for system monitoring, profiling and limiting process resources and
management of running processes.It implements many functionalities offered by classic UNIX
command line tools such as ps, top, iotop, lsof, netstat, ifconfig, free and others.
%prep
%autosetup -n psutil-release-%{version} -p1
find psutil -name \*.py | while read file; do
sed -i.orig -e '1{/^#!/d}' $file && \
touch -r $file.orig $file && \
rm $file.orig
done
%build
%py3_build
%install
%py3_install
%files -n python3-psutil
%license LICENSE
%doc CREDITS HISTORY.rst README.rst
%{python3_sitearch}/psutil/
%{python3_sitearch}/*.egg-info
%changelog
* Tue May 13 2025 openeuler_bot <infra@openeuler.sh> - 6.1.0-1
- update python-psutil to 6.1.0
* Fri Sep 13 2024 lixiaoyong <lixiaoyong@kylinos.cn> - 6.0.0-1
- Update version to 6.0.0
- ``maxfile`` and ``maxpath`` fields were removed from the namedtuple returned by `disk_partitions()`_.
- offline cpus raise NotImplementedError in cpu_freq() (patch by Shade Gladden)
* Fri Jun 07 2024 liuzhilin <liuzhilin@kylinos.cn> - 5.9.8-1
- Update version to 5.9.8
- Fix build on NetBSD due to missing .h include.
- Fix some C compilation warnings
* Wed Jun 07 2023 zjyabsa <jyzhangcf@isoftstone.com@openeuler.org> - 5.9.5-1
- Update version to 5.9.5
* Mon Jun 13 2022 OpenStack_SIG <openstack@openeuler.org> - 5.9.0-1
- Update version to 5.9.0
* Thu Jul 15 2021 OpenStack_SIG <openstack@openeuler.org> - 5.8.0-1
- Update version to 5.8.0
* Wed Aug 05 2020 lingsheng <lingsheng@huawei.com> - 5.4.3-8
- Remove python2-psutil subpackage
* Sat Nov 23 2019 zhouyihang <zhouyihang1@huawei.com> - 5.4.3-7
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/infrastructure-teams/python-psutil.git
git@gitee.com:infrastructure-teams/python-psutil.git
infrastructure-teams
python-psutil
python-psutil
master

搜索帮助