summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2018-05-15 22:22:01 +0000
committerminskim <minskim@pkgsrc.org>2018-05-15 22:22:01 +0000
commit6ada2d84adaa8471c27c2c8db866501d03b020b0 (patch)
tree11fa5e3ffbb7a9105803bbdd3cf3569acc30df01 /sysutils
parent255c85f614b69090331008936c0cca9ccdd127d4 (diff)
downloadpkgsrc-6ada2d84adaa8471c27c2c8db866501d03b020b0.tar.gz
sysutils/py-psutil: Update to 5.4.5
Enhancements since 5.2.2: - disk_io_counters() and net_io_counters() numbers no longer wrap (restart from 0). Introduced a new "nowrap" argument. - psutil.net_connections() and psutil.Process.connections() "laddr" and "raddr" are now named tuples. - swap_memory() now relies on /proc/meminfo instead of sysinfo() syscall so that it can be used in conjunction with PROCFS_PATH in order to retrieve memory info about Linux containers such as Docker and Heroku. - psutil.users() provides a new "pid" field. - process_iter() accepts two new parameters in order to invoke Process.as_dict(): "attrs" and "ad_value". With this you can iterate over all processes in one shot without needing to catch NoSuchProcess and do list/dict comprehensions. - implemented full unicode support. - disk_usage() on Python 3 is now able to accept bytes. - test suite now enables all warnings by default. - source distribution is dynamically generated so that it only includes relevant files. - introduced PSUTIL_DEBUG environment variable which can be set in order to print useful debug messages on stderr (useful in case of nasty errors). - added support for sensors_battery() on OSX. - Process.children() is 2x faster on UNIX and 2.4x faster on Linux. - deprecated method Process.memory_info_ex() now warns by using FutureWarning instead of DeprecationWarning.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/py-psutil/Makefile4
-rw-r--r--sysutils/py-psutil/PLIST29
-rw-r--r--sysutils/py-psutil/distinfo12
-rw-r--r--sysutils/py-psutil/patches/patch-psutil_arch_netbsd_specific.c (renamed from sysutils/py-psutil/patches/patch-psutil_arch_bsd_netbsd.c)6
4 files changed, 35 insertions, 16 deletions
diff --git a/sysutils/py-psutil/Makefile b/sysutils/py-psutil/Makefile
index 0f478315fb0..5ce1ca000a6 100644
--- a/sysutils/py-psutil/Makefile
+++ b/sysutils/py-psutil/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2017/05/29 16:02:40 adam Exp $
+# $NetBSD: Makefile,v 1.21 2018/05/15 22:22:01 minskim Exp $
-DISTNAME= psutil-5.2.2
+DISTNAME= psutil-5.4.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_PYPI:=p/psutil/}
diff --git a/sysutils/py-psutil/PLIST b/sysutils/py-psutil/PLIST
index e20ddbe559c..7e4c944895e 100644
--- a/sysutils/py-psutil/PLIST
+++ b/sysutils/py-psutil/PLIST
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.9 2017/05/29 16:02:40 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2018/05/15 22:22:01 minskim Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/psutil/__init__.py
${PYSITELIB}/psutil/__init__.pyc
@@ -13,6 +14,12 @@ ${PYSITELIB}/psutil/_common.pyo
${PYSITELIB}/psutil/_compat.py
${PYSITELIB}/psutil/_compat.pyc
${PYSITELIB}/psutil/_compat.pyo
+${PYSITELIB}/psutil/_exceptions.py
+${PYSITELIB}/psutil/_exceptions.pyc
+${PYSITELIB}/psutil/_exceptions.pyo
+${PYSITELIB}/psutil/_psaix.py
+${PYSITELIB}/psutil/_psaix.pyc
+${PYSITELIB}/psutil/_psaix.pyo
${PYSITELIB}/psutil/_psbsd.py
${PYSITELIB}/psutil/_psbsd.pyc
${PYSITELIB}/psutil/_psbsd.pyo
@@ -28,7 +35,7 @@ ${PYSITELIB}/psutil/_psposix.pyo
${PYSITELIB}/psutil/_pssunos.py
${PYSITELIB}/psutil/_pssunos.pyc
${PYSITELIB}/psutil/_pssunos.pyo
-${PYSITELIB}/psutil/_psutil_${SYSTEM}.so
+${PYSITELIB}/psutil/_psutil_osx.so
${PYSITELIB}/psutil/_psutil_posix.so
${PYSITELIB}/psutil/_pswindows.py
${PYSITELIB}/psutil/_pswindows.pyc
@@ -36,12 +43,21 @@ ${PYSITELIB}/psutil/_pswindows.pyo
${PYSITELIB}/psutil/tests/__init__.py
${PYSITELIB}/psutil/tests/__init__.pyc
${PYSITELIB}/psutil/tests/__init__.pyo
-${PYSITELIB}/psutil/tests/runner.py
-${PYSITELIB}/psutil/tests/runner.pyc
-${PYSITELIB}/psutil/tests/runner.pyo
+${PYSITELIB}/psutil/tests/__main__.py
+${PYSITELIB}/psutil/tests/__main__.pyc
+${PYSITELIB}/psutil/tests/__main__.pyo
+${PYSITELIB}/psutil/tests/test_aix.py
+${PYSITELIB}/psutil/tests/test_aix.pyc
+${PYSITELIB}/psutil/tests/test_aix.pyo
${PYSITELIB}/psutil/tests/test_bsd.py
${PYSITELIB}/psutil/tests/test_bsd.pyc
${PYSITELIB}/psutil/tests/test_bsd.pyo
+${PYSITELIB}/psutil/tests/test_connections.py
+${PYSITELIB}/psutil/tests/test_connections.pyc
+${PYSITELIB}/psutil/tests/test_connections.pyo
+${PYSITELIB}/psutil/tests/test_contracts.py
+${PYSITELIB}/psutil/tests/test_contracts.pyc
+${PYSITELIB}/psutil/tests/test_contracts.pyo
${PYSITELIB}/psutil/tests/test_linux.py
${PYSITELIB}/psutil/tests/test_linux.pyc
${PYSITELIB}/psutil/tests/test_linux.pyo
@@ -66,6 +82,9 @@ ${PYSITELIB}/psutil/tests/test_sunos.pyo
${PYSITELIB}/psutil/tests/test_system.py
${PYSITELIB}/psutil/tests/test_system.pyc
${PYSITELIB}/psutil/tests/test_system.pyo
+${PYSITELIB}/psutil/tests/test_unicode.py
+${PYSITELIB}/psutil/tests/test_unicode.pyc
+${PYSITELIB}/psutil/tests/test_unicode.pyo
${PYSITELIB}/psutil/tests/test_windows.py
${PYSITELIB}/psutil/tests/test_windows.pyc
${PYSITELIB}/psutil/tests/test_windows.pyo
diff --git a/sysutils/py-psutil/distinfo b/sysutils/py-psutil/distinfo
index 03ae525cf45..03dfa075bc3 100644
--- a/sysutils/py-psutil/distinfo
+++ b/sysutils/py-psutil/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.20 2017/06/24 08:03:35 adam Exp $
+$NetBSD: distinfo,v 1.21 2018/05/15 22:22:01 minskim Exp $
-SHA1 (psutil-5.2.2.tar.gz) = e22e2f6abdff051d438626f9a59a8782ace1a63e
-RMD160 (psutil-5.2.2.tar.gz) = bdf3d28e5072b936b86056d8da28524b43de734d
-SHA512 (psutil-5.2.2.tar.gz) = df4878d03a6ff98beb611969edd5a4d704ac269d38dc286d84def3ca271936e03367241470f2a192e0d71d0f64fe1f252223b0d67e964918146334a807d1a997
-Size (psutil-5.2.2.tar.gz) = 348413 bytes
+SHA1 (psutil-5.4.5.tar.gz) = e0324660aaadce4cf6b0e6ccdfc9c4381cabd26b
+RMD160 (psutil-5.4.5.tar.gz) = 99c5240616c97eef2a0782ea56b74df962dc61ef
+SHA512 (psutil-5.4.5.tar.gz) = 3ed5c4cb650161923092c742a16459159bf0989ff669a968b1307852080603a6a1fad834c9b14f38d652e0b1fc9927906c51f7a937d8d2505f110207fd408e7a
+Size (psutil-5.4.5.tar.gz) = 418003 bytes
SHA1 (patch-psutil___psutil__bsd.c) = 3d1166abdd74e3f3b4bec3098b03e7d05a67df04
-SHA1 (patch-psutil_arch_bsd_netbsd.c) = 7631030f445980b895904735ff087859bd1c0906
+SHA1 (patch-psutil_arch_netbsd_specific.c) = bc38af6ba1c360a12fb3d7112026425ca0cf4a92
diff --git a/sysutils/py-psutil/patches/patch-psutil_arch_bsd_netbsd.c b/sysutils/py-psutil/patches/patch-psutil_arch_netbsd_specific.c
index eb5cb94ea76..b8e9e8c6855 100644
--- a/sysutils/py-psutil/patches/patch-psutil_arch_bsd_netbsd.c
+++ b/sysutils/py-psutil/patches/patch-psutil_arch_netbsd_specific.c
@@ -1,9 +1,9 @@
-$NetBSD: patch-psutil_arch_bsd_netbsd.c,v 1.7 2017/06/24 08:03:35 adam Exp $
+$NetBSD: patch-psutil_arch_netbsd_specific.c,v 1.1 2018/05/15 22:22:01 minskim Exp $
Don't include <sys/user.h> on NetBSD. Include <sys/iostat.h> instead.
---- psutil/arch/bsd/netbsd.c.orig 2017-03-26 08:09:27.000000000 +0000
-+++ psutil/arch/bsd/netbsd.c
+--- psutil/arch/netbsd/specific.c.orig 2018-04-12 08:37:17.000000000 +0000
++++ psutil/arch/netbsd/specific.c
@@ -22,7 +22,7 @@
#include <sys/types.h>
#include <sys/param.h>