Accepting request 596551 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/596551 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=42
This commit is contained in:
commit
65b243d613
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e2467e9312c2fa191687b89ff4bc2ad8843be4af6fb4dc95a7cc5f7d7a327b18
|
||||
size 412550
|
3
psutil-5.4.5.tar.gz
Normal file
3
psutil-5.4.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ebe293be36bb24b95cdefc5131635496e88b17fabbcf1e4bc9b5c01f5e489cfe
|
||||
size 418003
|
@ -1,3 +1,57 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 14 17:18:54 UTC 2018 - arun@gmx.de
|
||||
|
||||
- update to version 5.4.5:
|
||||
* Bug fixes
|
||||
+ 1268: setup.py's extra_require parameter requires latest
|
||||
setuptools version, breaking quite a lot of installations.
|
||||
|
||||
- changes from version 5.4.4:
|
||||
* Enhancements
|
||||
+ 1239: [Linux] expose kernel "slab" memory for
|
||||
psutil.virtual_memory(). (patch by Maxime Mouial)
|
||||
* Bug fixes
|
||||
+ 694: [SunOS] cmdline() could be truncated at the 15th character
|
||||
when reading it from /proc. An extra effort is made by reading
|
||||
it from process address space first. (patch by Georg Sauthoff)
|
||||
+ 771: [Windows] cpu_count() (both logical and physical) return a
|
||||
wrong (smaller) number on systems using process groups (> 64
|
||||
cores).
|
||||
+ 771: [Windows] cpu_times(percpu=True) return fewer CPUs on
|
||||
systems using process groups (> 64 cores).
|
||||
+ 771: [Windows] cpu_stats() and cpu_freq() may return incorrect
|
||||
results on systems using process groups (> 64 cores).
|
||||
+ 1193: [SunOS] Return uid/gid from /proc/pid/psinfo if there
|
||||
aren't enough permissions for /proc/pid/cred. (patch by Georg
|
||||
Sauthoff)
|
||||
+ 1194: [SunOS] Return nice value from psinfo as getpriority()
|
||||
doesn't support real-time processes. (patch by Georg Sauthoff)
|
||||
+ 1194: [SunOS] Fix double free in psutil_proc_cpu_num(). (patch
|
||||
by Georg Sauthoff)
|
||||
+ 1194: [SunOS] Fix undefined behavior related to strict-aliasing
|
||||
rules and warnings. (patch by Georg Sauthoff)
|
||||
+ 1210: [Linux] cpu_percent() steal time may remain stuck at 100%
|
||||
due to Linux erroneously reporting a decreased steal time
|
||||
between calls. (patch by Arnon Yaari)
|
||||
+ 1216: fix compatibility with python 2.6 on Windows (patch by Dan
|
||||
Vinakovsky)
|
||||
+ 1222: [Linux] Process.memory_full_info() was erroneously summing
|
||||
"Swap:" and "SwapPss:". Same for "Pss:" and "SwapPss". Not
|
||||
anymore.
|
||||
+ 1224: [Windows] Process.wait() may erroneously raise
|
||||
TimeoutExpired.
|
||||
+ 1238: [Linux] sensors_battery() may return None in case battery
|
||||
is not listed as "BAT0" under /sys/class/power_supply.
|
||||
+ 1240: [Windows] cpu_times() float loses accuracy in a long
|
||||
running system. (patch by stswandering)
|
||||
+ 1245: [Linux] sensors_temperatures() may fail with IOError "no
|
||||
such file".
|
||||
+ 1255: [FreeBSD] swap_memory() stats were erroneously represented
|
||||
in KB. (patch by Denis Krienbühl)
|
||||
* Backward compatibility
|
||||
+ 771: [Windows] cpu_count(logical=False) on Windows XP and Vista
|
||||
is no longer supported and returns None.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 3 22:40:21 UTC 2018 - arun@gmx.de
|
||||
|
||||
|
@ -16,16 +16,15 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_with test
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_with test
|
||||
Name: python-psutil
|
||||
Version: 5.4.3
|
||||
Version: 5.4.5
|
||||
Release: 0
|
||||
Summary: A process utilities module for Python
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://pypi.python.org/pypi/psutil/
|
||||
URL: https://pypi.python.org/pypi/psutil/
|
||||
Source: https://files.pythonhosted.org/packages/source/p/psutil/psutil-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@ -33,7 +32,6 @@ BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: net-tools
|
||||
Requires: procps
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -52,8 +50,8 @@ sed -i "1s/#!.*//" psutil/{__init__.py,_compat.py,_psbsd.py,_pslinux.py,_psosx.p
|
||||
|
||||
%{python_expand mkdir -p %{buildroot}%{_docdir}/%{$python_prefix}-psutil
|
||||
cp -r scripts %{buildroot}%{_docdir}/%{$python_prefix}-psutil/
|
||||
find %{buildroot}%{_docdir}/%{$python_prefix}-psutil/scripts/ -type f -name "*.py" -exec sed -i "s|#!/usr/bin/env python|#!%__$python|" {} \;
|
||||
find %{buildroot}%{$python_sitearch}/psutil/tests/ -type f -name "*.py" -exec sed -i "s|#!/usr/bin/env python|#!%__$python|" {} \;
|
||||
find %{buildroot}%{_docdir}/%{$python_prefix}-psutil/scripts/ -type f -name "*.py" -exec sed -i "s|#!%{_bindir}/env python|#!%__$python|" {} \;
|
||||
find %{buildroot}%{$python_sitearch}/psutil/tests/ -type f -name "*.py" -exec sed -i "s|#!%{_bindir}/env python|#!%__$python|" {} \;
|
||||
chmod a+x %{buildroot}%{$python_sitearch}/psutil/tests/*.py
|
||||
chmod a-x %{buildroot}%{$python_sitearch}/psutil/tests/__init__.py
|
||||
$python -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/psutil/tests/
|
||||
@ -64,13 +62,13 @@ $python -O -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
make test
|
||||
make memtest
|
||||
make %{?_smp_mflags} test
|
||||
make %{?_smp_mflags} memtest
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CREDITS HISTORY.rst LICENSE README.rst
|
||||
%license LICENSE
|
||||
%doc CREDITS HISTORY.rst README.rst
|
||||
%{_docdir}/%{python_prefix}-psutil/scripts/
|
||||
%{python_sitearch}/psutil/
|
||||
%{python_sitearch}/psutil/_psutil_*.so
|
||||
|
Loading…
x
Reference in New Issue
Block a user