Sat Jan 16 08:05:31 2021 UTC ()
py-psutil: updated to 5.8.0

5.8.0

Enhancements

1863: disk_partitions() exposes 2 extra fields: maxfile and maxpath, which are the maximum file name and path name length.
1872: [Windows] added support for PyPy 2.7.
1879: provide pre-compiled wheels for Linux and macOS (yey!).
1880: get rid of Travis and Cirrus CI services (they are no longer free). CI testing is now done by GitHub Actions on Linux, macOS and FreeBSD (yes). AppVeyor is still being used for Windows CI.

Bug fixes

1708: [Linux] get rid of sensors_temperatures() duplicates. (patch by Tim Schlueter).
1839: [Windows] always raise AccessDenied when failing to query 64 processes from 32 bit ones (NtWoW64 APIs).
1866: [Windows] process exe(), cmdline(), environ() may raise "invalid access to memory location" on Python 3.9.
1874: [Solaris] wrong swap output given when encrypted column is present.
1875: [Windows] process username() may raise ERROR_NONE_MAPPED if the SID has no corresponding account name. In this case AccessDenied is now raised.
1877: [Windows] OpenProcess may fail with ERROR_SUCCESS. Turn it into AccessDenied or NoSuchProcess depending on whether the PID is alive.
1886: [macOS] EIO error may be raised on cmdline() and environment(). Now it gets translated into AccessDenied.
1891: [macOS] get rid of deprecated getpagesize().


(adam)
diff -r1.38 -r1.39 pkgsrc/sysutils/py-psutil/Makefile
diff -r1.38 -r1.39 pkgsrc/sysutils/py-psutil/distinfo

cvs diff -r1.38 -r1.39 pkgsrc/sysutils/py-psutil/Makefile (expand / switch to unified diff)

--- pkgsrc/sysutils/py-psutil/Makefile 2020/11/30 20:31:58 1.38
+++ pkgsrc/sysutils/py-psutil/Makefile 2021/01/16 08:05:31 1.39
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.38 2020/11/30 20:31:58 adam Exp $ 1# $NetBSD: Makefile,v 1.39 2021/01/16 08:05:31 adam Exp $
2 2
3DISTNAME= psutil-5.7.3 3DISTNAME= psutil-5.8.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= sysutils python 5CATEGORIES= sysutils python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/psutil/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/psutil/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/giampaolo/psutil 9HOMEPAGE= https://github.com/giampaolo/psutil
10COMMENT= Cross-platform process and system utilities module for Python 10COMMENT= Cross-platform process and system utilities module for Python
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13.include "../../lang/python/pyversion.mk" 13.include "../../lang/python/pyversion.mk"
14.if ${_PYTHON_VERSION} == 27 14.if ${_PYTHON_VERSION} == 27
15DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34 15DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
16TEST_DEPENDS+= ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress 16TEST_DEPENDS+= ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress

cvs diff -r1.38 -r1.39 pkgsrc/sysutils/py-psutil/distinfo (expand / switch to unified diff)

--- pkgsrc/sysutils/py-psutil/distinfo 2020/11/30 20:31:58 1.38
+++ pkgsrc/sysutils/py-psutil/distinfo 2021/01/16 08:05:31 1.39
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.38 2020/11/30 20:31:58 adam Exp $ 1$NetBSD: distinfo,v 1.39 2021/01/16 08:05:31 adam Exp $
2 2
3SHA1 (psutil-5.7.3.tar.gz) = 0b093faed351cf89e930d1c3ba380831b068ebc1 3SHA1 (psutil-5.8.0.tar.gz) = 5ec533a478696eb37b97217f312b7a35bff3f63e
4RMD160 (psutil-5.7.3.tar.gz) = 4dd3214a5c2f77bbd1bd29f79f72bf2aa9a7659d 4RMD160 (psutil-5.8.0.tar.gz) = ac0a0c786848276d50cfac4c5dfc67254c1d4763
5SHA512 (psutil-5.7.3.tar.gz) = 8fcff56dd4e4c1b877c09023721e6f562424f7f84ae5304d518976a1e7f21dd026772f1abfc063bdd0857a375bc869f42febde090dc0b65918d1ebf44e3ad71d 5SHA512 (psutil-5.8.0.tar.gz) = b716bcbf33ceacdc30ddd0d0cf9bca0ab7751225b8f20dea664a82751dc88cb590720b098ae26056c8b3cdabcfe2fa198d618cea24c21465b1368a52ee182818
6Size (psutil-5.7.3.tar.gz) = 465556 bytes 6Size (psutil-5.8.0.tar.gz) = 470886 bytes
7SHA1 (patch-psutil___psbsd.py) = da61606aee2366181935c10873d0627d0cb80f3f 7SHA1 (patch-psutil___psbsd.py) = da61606aee2366181935c10873d0627d0cb80f3f