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: updated to 5.7.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c74c2ed54d5d
branches:  trunk
changeset: 442802:c74c2ed54d5d
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Nov 30 20:31:58 2020 +0000

description:
py-psutil: updated to 5.7.3

5.7.3
=====

2020-10-23

**Enhancements**

- 809_: [FreeBSD] add support for `Process.rlimit()`.
- 893_: [BSD] add support for `Process.environ()` (patch by Armin Gruner)
- 1830_: [UNIX] `net_if_stats()`'s `isup` also checks whether the NIC is
  running (meaning Wi-Fi or ethernet cable is connected).  (patch by Chris Burger)
- 1837_: [Linux] improved battery detection and charge "secsleft" calculation
  (patch by aristocratos)

**Bug fixes**

- 1620_: [Linux] physical cpu_count() result is incorrect on systems with more
  than one CPU socket.  (patch by Vincent A. Arcila)
- 1738_: [macOS] Process.exe() may raise FileNotFoundError if process is still
  alive but the exe file which launched it got deleted.
- 1791_: [macOS] fix missing include for getpagesize().
- 1823_: [Windows] Process.open_files() may cause a segfault due to a NULL
  pointer.
- 1838_: [Linux] sensors_battery(): if `percent` can be determined but not
  the remaining values, still return a result instead of None.
  (patch by aristocratos)

diffstat:

 sysutils/py-psutil/Makefile                             |   4 ++--
 sysutils/py-psutil/distinfo                             |  11 +++++------
 sysutils/py-psutil/patches/patch-psutil___psutil__bsd.c |  16 ----------------
 3 files changed, 7 insertions(+), 24 deletions(-)

diffs (49 lines):

diff -r 761bca3e5fd2 -r c74c2ed54d5d sysutils/py-psutil/Makefile
--- a/sysutils/py-psutil/Makefile       Mon Nov 30 20:23:38 2020 +0000
+++ b/sysutils/py-psutil/Makefile       Mon Nov 30 20:31:58 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.37 2020/07/16 11:16:21 adam Exp $
+# $NetBSD: Makefile,v 1.38 2020/11/30 20:31:58 adam Exp $
 
-DISTNAME=      psutil-5.7.2
+DISTNAME=      psutil-5.7.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    sysutils python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/psutil/}
diff -r 761bca3e5fd2 -r c74c2ed54d5d sysutils/py-psutil/distinfo
--- a/sysutils/py-psutil/distinfo       Mon Nov 30 20:23:38 2020 +0000
+++ b/sysutils/py-psutil/distinfo       Mon Nov 30 20:31:58 2020 +0000
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.37 2020/07/16 11:16:21 adam Exp $
+$NetBSD: distinfo,v 1.38 2020/11/30 20:31:58 adam Exp $
 
-SHA1 (psutil-5.7.2.tar.gz) = 96b2286d1b06b6093aa0b5cb192bce7eb60c831a
-RMD160 (psutil-5.7.2.tar.gz) = 81e2a15776e0dea9f460f735f1f0ca5a1a421a79
-SHA512 (psutil-5.7.2.tar.gz) = b0c9b6bceffc031b230d656f76eca555e5cd481d8dc70de1c6068ec31f1ffd74314aa35c8e11903901f58c326152128749ff9525064ecca117df258311d27320
-Size (psutil-5.7.2.tar.gz) = 460198 bytes
+SHA1 (psutil-5.7.3.tar.gz) = 0b093faed351cf89e930d1c3ba380831b068ebc1
+RMD160 (psutil-5.7.3.tar.gz) = 4dd3214a5c2f77bbd1bd29f79f72bf2aa9a7659d
+SHA512 (psutil-5.7.3.tar.gz) = 8fcff56dd4e4c1b877c09023721e6f562424f7f84ae5304d518976a1e7f21dd026772f1abfc063bdd0857a375bc869f42febde090dc0b65918d1ebf44e3ad71d
+Size (psutil-5.7.3.tar.gz) = 465556 bytes
 SHA1 (patch-psutil___psbsd.py) = da61606aee2366181935c10873d0627d0cb80f3f
-SHA1 (patch-psutil___psutil__bsd.c) = a94b2c5a11338f3fffcbdde4339391c9519cf6d6
diff -r 761bca3e5fd2 -r c74c2ed54d5d sysutils/py-psutil/patches/patch-psutil___psutil__bsd.c
--- a/sysutils/py-psutil/patches/patch-psutil___psutil__bsd.c   Mon Nov 30 20:23:38 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-psutil___psutil__bsd.c,v 1.12 2019/11/06 15:48:23 adam Exp $
-
-Optionally use SDEAD.
-
---- psutil/_psutil_bsd.c.orig  2019-10-21 06:43:32.000000000 +0000
-+++ psutil/_psutil_bsd.c
-@@ -1049,7 +1051,9 @@ static PyMethodDef mod_methods[] = {
-     if (PyModule_AddIntConstant(mod, "SSLEEP", LSSLEEP)) INITERR;
-     if (PyModule_AddIntConstant(mod, "SSTOP", LSSTOP)) INITERR;
-     if (PyModule_AddIntConstant(mod, "SZOMB", LSZOMB)) INITERR;
-+#if defined(LSDEAD)
-     if (PyModule_AddIntConstant(mod, "SDEAD", LSDEAD)) INITERR;
-+#endif
-     if (PyModule_AddIntConstant(mod, "SONPROC", LSONPROC)) INITERR;
-     // unique to NetBSD
-     if (PyModule_AddIntConstant(mod, "SSUSPENDED", LSSUSPENDED)) INITERR;



Home | Main Index | Thread Index | Old Index