pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/py-psutil
Module Name: pkgsrc
Committed By: minskim
Date: Tue May 15 22:22:01 UTC 2018
Modified Files:
pkgsrc/sysutils/py-psutil: Makefile PLIST distinfo
Added Files:
pkgsrc/sysutils/py-psutil/patches: patch-psutil_arch_netbsd_specific.c
Removed Files:
pkgsrc/sysutils/py-psutil/patches: patch-psutil_arch_bsd_netbsd.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/sysutils/py-psutil/Makefile \
pkgsrc/sysutils/py-psutil/distinfo
cvs rdiff -u -r1.9 -r1.10 pkgsrc/sysutils/py-psutil/PLIST
cvs rdiff -u -r1.7 -r0 \
pkgsrc/sysutils/py-psutil/patches/patch-psutil_arch_bsd_netbsd.c
cvs rdiff -u -r0 -r1.1 \
pkgsrc/sysutils/py-psutil/patches/patch-psutil_arch_netbsd_specific.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/py-psutil/Makefile
diff -u pkgsrc/sysutils/py-psutil/Makefile:1.20 pkgsrc/sysutils/py-psutil/Makefile:1.21
--- pkgsrc/sysutils/py-psutil/Makefile:1.20 Mon May 29 16:02:40 2017
+++ pkgsrc/sysutils/py-psutil/Makefile Tue May 15 22:22:01 2018
@@ -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/}
Index: pkgsrc/sysutils/py-psutil/distinfo
diff -u pkgsrc/sysutils/py-psutil/distinfo:1.20 pkgsrc/sysutils/py-psutil/distinfo:1.21
--- pkgsrc/sysutils/py-psutil/distinfo:1.20 Sat Jun 24 08:03:35 2017
+++ pkgsrc/sysutils/py-psutil/distinfo Tue May 15 22:22:01 2018
@@ -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
Index: pkgsrc/sysutils/py-psutil/PLIST
diff -u pkgsrc/sysutils/py-psutil/PLIST:1.9 pkgsrc/sysutils/py-psutil/PLIST:1.10
--- pkgsrc/sysutils/py-psutil/PLIST:1.9 Mon May 29 16:02:40 2017
+++ pkgsrc/sysutils/py-psutil/PLIST Tue May 15 22:22:01 2018
@@ -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
Added files:
Index: pkgsrc/sysutils/py-psutil/patches/patch-psutil_arch_netbsd_specific.c
diff -u /dev/null pkgsrc/sysutils/py-psutil/patches/patch-psutil_arch_netbsd_specific.c:1.1
--- /dev/null Tue May 15 22:22:01 2018
+++ pkgsrc/sysutils/py-psutil/patches/patch-psutil_arch_netbsd_specific.c Tue May 15 22:22:01 2018
@@ -0,0 +1,15 @@
+$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/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>
+ #include <sys/sysctl.h>
+-#include <sys/user.h>
++#include <sys/iostat.h>
+ #include <sys/proc.h>
+ #include <sys/swap.h> // for swap_mem
+ #include <signal.h>
Home |
Main Index |
Thread Index |
Old Index