Hello community,

here is the log from the commit of package python-psutil for openSUSE:Factory 
checked in at 2017-03-24 02:22:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-psutil (Old)
 and      /work/SRC/openSUSE:Factory/.python-psutil.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-psutil"

Fri Mar 24 02:22:31 2017 rev:33 rq:481785 version:5.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-psutil/python-psutil.changes      
2016-11-20 18:18:41.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-psutil.new/python-psutil.changes 
2017-03-24 02:22:31.816630124 +0100
@@ -1,0 +2,104 @@
+Thu Mar 16 14:56:27 UTC 2017 - jmate...@suse.com
+
+- update for singlespec
+
+-------------------------------------------------------------------
+Wed Mar 15 13:52:27 UTC 2017 - mich...@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 - mich...@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.
+
+-------------------------------------------------------------------

Old:
----
  psutil-5.0.0.zip

New:
----
  psutil-5.2.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-psutil.spec ++++++
--- /var/tmp/diff_new_pack.XRhUXQ/_old  2017-03-24 02:22:32.388549200 +0100
+++ /var/tmp/diff_new_pack.XRhUXQ/_new  2017-03-24 02:22:32.392548634 +0100
@@ -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 @@
 %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/


Reply via email to