pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/py-psutil py-psutil: Stop using SDEAD on NetBSD
details: https://anonhg.NetBSD.org/pkgsrc/rev/630c8900118f
branches: trunk
changeset: 415686:630c8900118f
user: kamil <kamil%pkgsrc.org@localhost>
date: Fri Oct 11 20:01:50 2019 +0000
description:
py-psutil: Stop using SDEAD on NetBSD
Fixes usage on recent NetBSD.
diffstat:
sysutils/py-psutil/Makefile | 4 ++--
sysutils/py-psutil/distinfo | 4 ++--
sysutils/py-psutil/patches/patch-psutil___psbsd.py | 13 ++++++++++++-
3 files changed, 16 insertions(+), 5 deletions(-)
diffs (55 lines):
diff -r a805c6e13151 -r 630c8900118f sysutils/py-psutil/Makefile
--- a/sysutils/py-psutil/Makefile Fri Oct 11 18:54:27 2019 +0000
+++ b/sysutils/py-psutil/Makefile Fri Oct 11 20:01:50 2019 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.32 2019/06/29 18:00:49 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2019/10/11 20:01:50 kamil Exp $
DISTNAME= psutil-5.6.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= sysutils python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/psutil/}
diff -r a805c6e13151 -r 630c8900118f sysutils/py-psutil/distinfo
--- a/sysutils/py-psutil/distinfo Fri Oct 11 18:54:27 2019 +0000
+++ b/sysutils/py-psutil/distinfo Fri Oct 11 20:01:50 2019 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.32 2019/06/29 18:00:49 wiz Exp $
+$NetBSD: distinfo,v 1.33 2019/10/11 20:01:50 kamil Exp $
SHA1 (psutil-5.6.3.tar.gz) = dc596577226eba6f5382a3ed9816d6d340837068
RMD160 (psutil-5.6.3.tar.gz) = bf7bdc047d8ca5e912602152bb3bd890869789b2
SHA512 (psutil-5.6.3.tar.gz) = 62cf120c9391705bd393d6554afa32d672470b61ebb3c0e7458bad26134b784175ba64d3eff119ace6def2aebc97df73cd0c9d213776176ce39c3d47da3f3d9c
Size (psutil-5.6.3.tar.gz) = 435374 bytes
-SHA1 (patch-psutil___psbsd.py) = f8888b8f386a1928446c7d588a7a46f2674c69f6
+SHA1 (patch-psutil___psbsd.py) = 204349da5b07d817e546184757b058fa4dff5d3e
SHA1 (patch-psutil___psutil__bsd.c) = cb98d2c4a734e4ccaa82d9d741167540f5708afc
SHA1 (patch-psutil_arch_netbsd_specific.c) = b44e3aca5a221cd38482a16b013edb170818905a
SHA1 (patch-psutil_arch_netbsd_specific.h) = 4d6b3c96eefeec4908e1006b96ab175d64714dd2
diff -r a805c6e13151 -r 630c8900118f sysutils/py-psutil/patches/patch-psutil___psbsd.py
--- a/sysutils/py-psutil/patches/patch-psutil___psbsd.py Fri Oct 11 18:54:27 2019 +0000
+++ b/sysutils/py-psutil/patches/patch-psutil___psbsd.py Fri Oct 11 20:01:50 2019 +0000
@@ -1,9 +1,20 @@
-$NetBSD: patch-psutil___psbsd.py,v 1.3 2019/06/01 01:11:57 kamil Exp $
+$NetBSD: patch-psutil___psbsd.py,v 1.4 2019/10/11 20:01:51 kamil Exp $
Use proc_cwd on NetBSD >= 8.99.42.
+Stop using SDEAD as it is no longer available.
+
--- psutil/_psbsd.py.orig 2019-04-11 21:10:12.000000000 +0000
+++ psutil/_psbsd.py
+@@ -57,7 +57,7 @@ elif OPENBSD or NETBSD:
+ # 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
@@ -105,6 +105,7 @@ HAS_PER_CPU_TIMES = hasattr(cext, "per_c
HAS_PROC_NUM_THREADS = hasattr(cext, "proc_num_threads")
HAS_PROC_OPEN_FILES = hasattr(cext, 'proc_open_files')
Home |
Main Index |
Thread Index |
Old Index