pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/py-psutil/patches py-psutil: also remove unus...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c3180d702b91
branches: trunk
changeset: 384795:c3180d702b91
user: adam <adam%pkgsrc.org@localhost>
date: Mon Sep 05 08:31:56 2022 +0000
description:
py-psutil: also remove unused patch
diffstat:
sysutils/py-psutil/patches/patch-psutil___psbsd.py | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
diffs (20 lines):
diff -r 12f1c62cc78f -r c3180d702b91 sysutils/py-psutil/patches/patch-psutil___psbsd.py
--- a/sysutils/py-psutil/patches/patch-psutil___psbsd.py Mon Sep 05 08:31:14 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-psutil___psbsd.py,v 1.7 2022/03/28 21:57:36 wiz Exp $
-
-Fix reporting of cached memory on NetBSD.
-https://github.com/giampaolo/psutil/pull/2088
-
---- psutil/_psbsd.py.orig 2021-12-15 09:34:00.000000000 +0000
-+++ psutil/_psbsd.py
-@@ -189,6 +189,8 @@ def virtual_memory():
- buffers = int(line.split()[1]) * 1024
- elif line.startswith(b'MemShared:'):
- shared = int(line.split()[1]) * 1024
-+ elif line.startswith(b'Cached:'):
-+ cached = int(line.split()[1]) * 1024
- avail = inactive + cached + free
- used = active + wired + cached
- percent = usage_percent((total - avail), total, round_=1)
Home |
Main Index |
Thread Index |
Old Index