commit f7c3f210990a1014312c13be55c8f7ff17f0e92f
Author: Jan Palus <[email protected]>
Date:   Thu Jul 8 17:04:12 2021 +0200

    up to 5.8.0
    
    - linux patch no longer needed

 python-psutil-linux.patch | 10 ----------
 python-psutil.spec        |  8 +++-----
 2 files changed, 3 insertions(+), 15 deletions(-)
---
diff --git a/python-psutil.spec b/python-psutil.spec
index 401245a..470a141 100644
--- a/python-psutil.spec
+++ b/python-psutil.spec
@@ -11,14 +11,13 @@
 Summary:       A cross-platform process and system utilities module for Python
 Summary(pl.UTF-8):     Wieloplatformowe narzędzia do procesów i systemu dla 
Pythona
 Name:          python-%{module}
-Version:       5.6.7
-Release:       2
+Version:       5.8.0
+Release:       1
 License:       BSD
 Group:         Development/Languages/Python
 #Source0Download: https://pypi.org/simple/psutil/
 Source0:       
https://github.com/giampaolo/psutil/archive/release-%{version}/%{module}-%{version}.tar.gz
-# Source0-md5: 5cc1fca56cf433a68a729a8c524f7b0e
-Patch0:                %{name}-linux.patch
+# Source0-md5: cd7fdc361dfeae7553c649b0b9329e5b
 URL:           https://github.com/giampaolo/psutil
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.714
@@ -82,7 +81,6 @@ Dokumentacja API modułu Pythona psutil.
 
 %prep
 %setup -q -n %{module}-release-%{version}
-%patch0 -p1
 
 %if %{with tests}
 # prepare subdir to run tests from
diff --git a/python-psutil-linux.patch b/python-psutil-linux.patch
deleted file mode 100644
index ed53210..0000000
--- a/python-psutil-linux.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- psutil-release-5.6.7/psutil/_pslinux.py.orig       2019-11-26 
08:25:07.000000000 +0100
-+++ psutil-release-5.6.7/psutil/_pslinux.py    2019-12-30 19:25:22.441270337 
+0100
-@@ -1107,6 +1107,7 @@
-                 with open_text(os.path.join(root, 'stat')) as f:
-                     fields = f.read().strip().split()
-                 name = os.path.basename(root)
-+                del fields[11:] # newer kernels give more values
-                 (reads, reads_merged, rbytes, rtime, writes, writes_merged,
-                     wbytes, wtime, _, busy_time, _) = map(int, fields)
-                 yield (name, reads, writes, rbytes, wbytes, rtime,
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-psutil.git/commitdiff/f7c3f210990a1014312c13be55c8f7ff17f0e92f

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to