forked from pool/python-psutil
Accepting request 481785 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/481785 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=33
This commit is contained in:
commit
65a9ca8a2f
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5411e22c63168220f4b8cc42fd05ea96f5b5e65e08b93b675ca50653aea482f8
|
||||
size 374074
|
3
psutil-5.2.0.tar.gz
Normal file
3
psutil-5.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2fc91d068faa5613c093335f0e758673ef8c722ad4bfa4aded64c13ae69089eb
|
||||
size 345519
|
@ -1,3 +1,107 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 16 14:56:27 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- update for singlespec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 15 13:52:27 UTC 2017 - michael@stroeder.com
|
||||
|
||||
- update to version 5.2.0
|
||||
|
||||
**Enhancements**
|
||||
|
||||
- 971_: [Linux] Add psutil.sensors_fans() function. (patch by Nicolas Hennion)
|
||||
- 976_: [Windows] Process.io_counters() has 2 new fields: *other_count* and
|
||||
*other_bytes*.
|
||||
- 976_: [Linux] Process.io_counters() has 2 new fields: *read_chars* and
|
||||
*write_chars*.
|
||||
|
||||
**Bug fixes**
|
||||
|
||||
- 872_: [Linux] can now compile on Linux by using MUSL C library.
|
||||
- 985_: [Windows] Fix a crash in `Process.open_files` when the worker thread for `NtQueryObject` times out.
|
||||
- 986_: [Linux] Process.cwd() may raise NoSuchProcess instead of ZombieProcess.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 8 14:40:55 UTC 2017 - michael@stroeder.com
|
||||
|
||||
- update to version 5.1.3
|
||||
|
||||
5.1.3
|
||||
=====
|
||||
|
||||
**Bug fixes**
|
||||
- 971_: [Linux] sensors_temperatures() didn't work on CentOS 7.
|
||||
- 973_: cpu_percent() may raise ZeroDivisionError.
|
||||
|
||||
5.1.2
|
||||
=====
|
||||
|
||||
*2017-02-03*
|
||||
|
||||
**Bug fixes**
|
||||
- 966_: [Linux] sensors_battery().power_plugged may erroneously return None on
|
||||
Python 3.
|
||||
- 968_: [Linux] disk_io_counters() raises TypeError on python 3.
|
||||
- 970_: [Linux] sensors_battery()'s name and label fields on Python 3 are bytes
|
||||
instead of str.
|
||||
|
||||
5.1.1
|
||||
=====
|
||||
|
||||
*2017-02-03*
|
||||
|
||||
**Enhancements**
|
||||
- 966_: [Linux] sensors_battery().percent is a float and is more precise.
|
||||
|
||||
**Bug fixes**
|
||||
- 964_: [Windows] Process.username() and psutil.users() may return badly
|
||||
decoding character on Python 3.
|
||||
- 965_: [Linux] disk_io_counters() may miscalculate sector size and report the
|
||||
wrong number of bytes read and written.
|
||||
- 966_: [Linux] sensors_battery() may fail with "no such file error".
|
||||
- 966_: [Linux] sensors_battery().power_plugged may lie.
|
||||
|
||||
5.1.0
|
||||
=====
|
||||
|
||||
**Enhancements**
|
||||
- 357_: added psutil.Process.cpu_num() (what CPU a process is on).
|
||||
- 371_: added psutil.sensors_temperatures() (Linux only).
|
||||
- 941_: added psutil.cpu_freq() (CPU frequency).
|
||||
- 955_: added psutil.sensors_battery() (Linux, Windows, only).
|
||||
- 956_: cpu_affinity([]) can now be used as an alias to set affinity against
|
||||
all eligible CPUs.
|
||||
|
||||
**Bug fixes**
|
||||
- 687_: [Linux] pid_exists() no longer returns True if passed a process thread
|
||||
ID.
|
||||
- 948_: cannot install psutil with PYTHONOPTIMIZE=2.
|
||||
- 950_: [Windows] Process.cpu_percent() was calculated incorrectly and showed
|
||||
higher number than real usage.
|
||||
- 951_: [Windows] the uploaded wheels for Python 3.6 64 bit didn't work.
|
||||
- 959_: psutil exception objects could not be pickled.
|
||||
- 960_: Popen.wait() did not return the correct negative exit status if process
|
||||
is ``kill()``ed by a signal.
|
||||
- 961_: [Windows] WindowsService.description() may fail with
|
||||
ERROR_MUI_FILE_NOT_FOUND.
|
||||
|
||||
5.0.1
|
||||
=====
|
||||
|
||||
**Enhancements**
|
||||
- 939_: tar.gz distribution went from 1.8M to 258K.
|
||||
- 811_: [Windows] provide a more meaningful error message if trying to use
|
||||
psutil on unsupported Windows XP.
|
||||
|
||||
**Bug fixes**
|
||||
- 609_: [SunOS] psutil does not compile on Solaris 10.
|
||||
- 936_: [Windows] fix compilation error on VS 2013 (patch by Max Bélanger).
|
||||
- 940_: [Linux] cpu_percent() and cpu_times_percent() was calculated
|
||||
incorrectly as "iowait", "guest" and "guest_nice" times were not properly
|
||||
taken into account.
|
||||
- 944_: [OpenBSD] psutil.pids() was omitting PID 0.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 8 21:15:33 UTC 2016 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-psutil
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,23 +16,22 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-psutil
|
||||
Version: 5.0.0
|
||||
Version: 5.2.0
|
||||
Release: 0
|
||||
Summary: A process utilities module for Python
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://pypi.python.org/pypi/psutil/
|
||||
Source: https://pypi.io/packages/source/p/psutil/psutil-%{version}.zip
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: unzip
|
||||
Source: https://files.pythonhosted.org/packages/source/p/psutil/psutil-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: net-tools
|
||||
Requires: procps
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A graphical interface that lets you easily analyze and introspect unaltered running Python processes.
|
||||
@ -40,20 +39,20 @@ A graphical interface that lets you easily analyze and introspect unaltered runn
|
||||
%prep
|
||||
%setup -q -n psutil-%{version}
|
||||
# Remove shebangs
|
||||
sed -i "1d" psutil/{__init__.py,_compat.py,_psbsd.py,_pslinux.py,_psosx.py,_psposix.py,_pssunos.py,_pswindows.py}
|
||||
sed -i "1s/#!.*//" psutil/{__init__.py,_compat.py,_psbsd.py,_pslinux.py,_psosx.py,_psposix.py,_pssunos.py,_pswindows.py}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
|
||||
# not working due to lack of root priveleges
|
||||
# %check
|
||||
# make test
|
||||
# make memtest
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CREDITS scripts HISTORY.rst LICENSE README.rst
|
||||
%{python_sitearch}/psutil/
|
||||
|
Loading…
x
Reference in New Issue
Block a user