]> git.pld-linux.org Git - packages/python-psutil.git/commitdiff
up to 5.8.0 auto/th/python-psutil-5.8.0-1
authorJan Palus <atler@pld-linux.org>
Thu, 8 Jul 2021 15:04:12 +0000 (17:04 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 8 Jul 2021 15:05:00 +0000 (17:05 +0200)
- linux patch no longer needed

python-psutil-linux.patch [deleted file]
python-psutil.spec

diff --git a/python-psutil-linux.patch b/python-psutil-linux.patch
deleted file mode 100644 (file)
index ed53210..0000000
+++ /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,
index 401245a8d00799a59365dd67665564ae31bd94be..470a1416abcc679289a9fae1d7d1992eb6916130 100644 (file)
 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
This page took 0.238044 seconds and 4 git commands to generate.