diff options
author | wiz <wiz@pkgsrc.org> | 2022-03-28 21:57:36 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2022-03-28 21:57:36 +0000 |
commit | 1e9d2271d7690ffaa5d86073a0e055ceb1e952d3 (patch) | |
tree | f1e6dd80bafc2fbff756b7659b87610a7f5aaaf6 /sysutils | |
parent | 8cfbf5f77b27654752aafb3fa012caa0b21efefc (diff) | |
download | pkgsrc-1e9d2271d7690ffaa5d86073a0e055ceb1e952d3.tar.gz |
py-psutil: remove obsolete patch chunk
Ride PKGREVISION bump.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/py-psutil/distinfo | 4 | ||||
-rw-r--r-- | sysutils/py-psutil/patches/patch-psutil___psbsd.py | 14 |
2 files changed, 5 insertions, 13 deletions
diff --git a/sysutils/py-psutil/distinfo b/sysutils/py-psutil/distinfo index 79ef3ae3b44..f2b9eca0fc4 100644 --- a/sysutils/py-psutil/distinfo +++ b/sysutils/py-psutil/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.43 2022/03/28 21:50:42 wiz Exp $ +$NetBSD: distinfo,v 1.44 2022/03/28 21:57:36 wiz Exp $ BLAKE2s (psutil-5.9.0.tar.gz) = 501fc17925b848927fb19d596c1b70b89073846d8edbe4c8d820f2f2d8a8cdc5 SHA512 (psutil-5.9.0.tar.gz) = b521cfce51e90fdf87ba19bf8069877e3210aede92c17460ea0b00324a36e133168e4bff550462d07ab6d93c597c6560d68954340031ff43168d54a8e5d4c4e7 Size (psutil-5.9.0.tar.gz) = 478322 bytes -SHA1 (patch-psutil___psbsd.py) = 89b126422c58c119a09052cc886ef97d22d87d27 +SHA1 (patch-psutil___psbsd.py) = ae69cf5f7ce590c34ef4e770b2fb0386425f33b6 diff --git a/sysutils/py-psutil/patches/patch-psutil___psbsd.py b/sysutils/py-psutil/patches/patch-psutil___psbsd.py index 7d707384403..c21a16ae83f 100644 --- a/sysutils/py-psutil/patches/patch-psutil___psbsd.py +++ b/sysutils/py-psutil/patches/patch-psutil___psbsd.py @@ -1,18 +1,10 @@ -$NetBSD: patch-psutil___psbsd.py,v 1.6 2022/03/28 21:50:43 wiz Exp $ +$NetBSD: patch-psutil___psbsd.py,v 1.7 2022/03/28 21:57:36 wiz Exp $ -Stop using SDEAD as it is no longer available. +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 -@@ -61,7 +61,7 @@ elif OPENBSD: - # equivalent. Also it appears there's no equivalent of - # psutil.STATUS_DEAD. SDEAD really means STATUS_ZOMBIE. - # cext.SZOMB: _common.STATUS_ZOMBIE, -- cext.SDEAD: _common.STATUS_ZOMBIE, -+ # cext.SDEAD: _common.STATUS_ZOMBIE, - cext.SZOMB: _common.STATUS_ZOMBIE, - # From http://www.eecs.harvard.edu/~margo/cs161/videos/proc.h.txt - # OpenBSD has SRUN and SONPROC: SRUN indicates that a process @@ -189,6 +189,8 @@ def virtual_memory(): buffers = int(line.split()[1]) * 1024 elif line.startswith(b'MemShared:'): |