summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2017-01-01 08:27:18 +0000
committerryoon <ryoon@pkgsrc.org>2017-01-01 08:27:18 +0000
commit73f907eef23751cf7a44c40615d391bf7deabac8 (patch)
tree32ea24abe81dde626e1fd9166134e8a543113153 /sysutils
parent40c2f33b248da3d9cb0d381af8e67653db91f089 (diff)
downloadpkgsrc-73f907eef23751cf7a44c40615d391bf7deabac8.tar.gz
Update to 5.0.1
Changelog: 5.0.1 ===== *2016-12-21* **Enhancements** - 939_: tar.gz distribution went from 1.8M to 258K. - 811_: [Windows] provide a more meaningful error message if trying to use psutil on unsupported Windows XP. **Bug fixes** - 609_: [SunOS] psutil does not compile on Solaris 10. - 936_: [Windows] fix compilation error on VS 2013 (patch by Max BĂ©langer). - 940_: [Linux] cpu_percent() and cpu_times_percent() was calculated incorrectly as "iowait", "guest" and "guest_nice" times were not properly taken into account. - 944_: [OpenBSD] psutil.pids() was omitting PID 0. 5.0.0 ===== *2016-11-06* **Enhncements** - 799_: new Process.oneshot() context manager making Process methods around +2x faster in general and from +2x to +6x faster on Windows. - 943_: better error message in case of version conflict on import. **Bug fixes** - 932_: [NetBSD] net_connections() and Process.connections() may fail without raising an exception. - 933_: [Windows] memory leak in cpu_stats() and WindowsService.description(). 4.4.2 ===== *2016-10-26* **Bug fixes** - 931_: psutil no longer compiles on Solaris. 4.4.1 ===== *2016-10-25* **Bug fixes** - 927_: ``Popen.__del__`` may cause maximum recursion depth error. 4.4.0 ===== *2016-10-23* **Enhancements** - 874_: [Windows] net_if_addrs() returns also the netmask. - 887_: [Linux] virtual_memory()'s 'available' and 'used' values are more precise and match "free" cmdline utility. "available" also takes into account LCX containers preventing "available" to overflow "total". - 891_: procinfo.py script has been updated and provides a lot more info. **Bug fixes** - 514_: [OSX] possibly fix Process.memory_maps() segfault (critical!). - 783_: [OSX] Process.status() may erroneously return "running" for zombie processes. - 798_: [Windows] Process.open_files() returns and empty list on Windows 10. - 825_: [Linux] cpu_affinity; fix possible double close and use of unopened socket. - 880_: [Windows] Handle race condition inside psutil_net_connections. - 885_: ValueError is raised if a negative integer is passed to cpu_percent() functions. - 892_: [Linux] Process.cpu_affinity([-1]) raise SystemError with no error set; now ValueError is raised. - 906_: [BSD] disk_partitions(all=False) returned an empty list. Now the argument is ignored and all partitions are always returned. - 907_: [FreeBSD] Process.exe() may fail with OSError(ENOENT). - 908_: [OSX, BSD] different process methods could errounesuly mask the real error for high-privileged PIDs and raise NoSuchProcess and AccessDenied instead of OSError and RuntimeError. - 909_: [OSX] Process open_files() and connections() methods may raise OSError with no exception set if process is gone. - 916_: [OSX] fix many compilation warnings. 4.3.1 ===== *2016-09-01* **Enhancements** - 881_: "make install" now works also when using a virtual env. **Bug fixes** - 854_: Process.as_dict() raises ValueError if passed an erroneous attrs name. - 857_: [SunOS] Process cpu_times(), cpu_percent(), threads() amd memory_maps() may raise RuntimeError if attempting to query a 64bit process with a 32bit python. "Null" values are returned as a fallback. - 858_: Process.as_dict() should not return memory_info_ex() because it's deprecated. - 863_: [Windows] memory_map truncates addresses above 32 bits - 866_: [Windows] win_service_iter() and services in general are not able to handle unicode service names / descriptions. - 869_: [Windows] Process.wait() may raise TimeoutExpired with wrong timeout unit (ms instead of sec). - 870_: [Windows] Handle leak inside psutil_get_process_data. 4.3.0 ===== *2016-06-18* **Enhancements** - 819_: [Linux] different speedup improvements: Process.ppid() is 20% faster Process.status() is 28% faster Process.name() is 25% faster Process.num_threads is 20% faster on Python 3 **Bug fixes** - 810_: [Windows] Windows wheels are incompatible with pip 7.1.2. - 812_: [NetBSD] fix compilation on NetBSD-5.x. - 823_: [NetBSD] virtual_memory() raises TypeError on Python 3. - 829_: [UNIX] psutil.disk_usage() percent field takes root reserved space into account. - 816_: [Windows] fixed net_io_counter() values wrapping after 4.3GB in Windows Vista (NT 6.0) and above using 64bit values from newer win APIs. 4.2.0 ===== *2016-05-14* **Enhancements** - 795_: [Windows] new APIs to deal with Windows services: win_service_iter() and win_service_get(). - 800_: [Linux] psutil.virtual_memory() returns a new "shared" memory field. - 819_: [Linux] speedup /proc parsing: - Process.ppid() is 20% faster - Process.status() is 28% faster - Process.name() is 25% faster - Process.num_threads is 20% faster on Python 3 **Bug fixes** - 797_: [Linux] net_if_stats() may raise OSError for certain NIC cards. - 813_: Process.as_dict() should ignore extraneous attribute names which gets attached to the Process instance.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/py-psutil/Makefile4
-rw-r--r--sysutils/py-psutil/distinfo12
-rw-r--r--sysutils/py-psutil/patches/patch-psutil___psutil__bsd.c29
-rw-r--r--sysutils/py-psutil/patches/patch-psutil_arch_bsd_netbsd.c16
4 files changed, 7 insertions, 54 deletions
diff --git a/sysutils/py-psutil/Makefile b/sysutils/py-psutil/Makefile
index b2f49c88832..c032f6fab1a 100644
--- a/sysutils/py-psutil/Makefile
+++ b/sysutils/py-psutil/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2016/04/29 15:33:57 prlw1 Exp $
+# $NetBSD: Makefile,v 1.19 2017/01/01 08:27:18 ryoon Exp $
-DISTNAME= psutil-release-4.1.0
+DISTNAME= psutil-release-5.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-release//}
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=giampaolo/}
diff --git a/sysutils/py-psutil/distinfo b/sysutils/py-psutil/distinfo
index e0bc501a5e8..abcfe621063 100644
--- a/sysutils/py-psutil/distinfo
+++ b/sysutils/py-psutil/distinfo
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.16 2016/04/29 15:33:57 prlw1 Exp $
+$NetBSD: distinfo,v 1.17 2017/01/01 08:27:18 ryoon Exp $
-SHA1 (psutil-release-4.1.0.tar.gz) = 3f1c5f9c75fcaad72ce9f3465e77d7b9e191c732
-RMD160 (psutil-release-4.1.0.tar.gz) = c092eaff3d575c5e4f73206026d2f2087c2f025d
-SHA512 (psutil-release-4.1.0.tar.gz) = 98becc6d150de8580699ea348396f843f552f50a95acdebb42ff30c6a9d968a3b69b2e0162404fcb2e27a3573feaa1f03a12d1715899c0759c5aeb03f5635c43
-Size (psutil-release-4.1.0.tar.gz) = 292325 bytes
-SHA1 (patch-psutil___psutil__bsd.c) = 20665e0e5cf13280a61064a29a8b77eeb38a3ad4
-SHA1 (patch-psutil_arch_bsd_netbsd.c) = fbbabddd7a548e8ff1e8e958298f543c3fd1a4cd
+SHA1 (psutil-release-5.0.1.tar.gz) = 0cfc35492185bc6ebe768c70ed86a4eb32e25e4f
+RMD160 (psutil-release-5.0.1.tar.gz) = 21d6b30480c6f5cf6d3c7c4921f6982f8f2a3920
+SHA512 (psutil-release-5.0.1.tar.gz) = 2cd6a5ce307e46b395f0cb2c9ac1b849485430798a306f105ad7d4e324abce3e21f36de47b84b243134728c5d34d78816c8a96f2c7b0394eb57633ddd3236d5a
+Size (psutil-release-5.0.1.tar.gz) = 1833258 bytes
diff --git a/sysutils/py-psutil/patches/patch-psutil___psutil__bsd.c b/sysutils/py-psutil/patches/patch-psutil___psutil__bsd.c
deleted file mode 100644
index 0a8ce2b0c60..00000000000
--- a/sysutils/py-psutil/patches/patch-psutil___psutil__bsd.c
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD: patch-psutil___psutil__bsd.c,v 1.6 2016/04/29 15:33:57 prlw1 Exp $
-
-MNT_RELATIME and MNT_EXTATTR are not available on NetBSD-5.
-
-https://github.com/giampaolo/psutil/pull/812
-
---- psutil/_psutil_bsd.c.orig 2016-03-12 17:12:23.000000000 +0000
-+++ psutil/_psutil_bsd.c
-@@ -712,16 +712,20 @@ psutil_disk_partitions(PyObject *self, P
- strlcat(opts, ",union", sizeof(opts));
- if (flags & MNT_NOCOREDUMP)
- strlcat(opts, ",nocoredump", sizeof(opts));
-+#if defined(MNT_RELATIME)
- if (flags & MNT_RELATIME)
- strlcat(opts, ",relatime", sizeof(opts));
-+#endif
- if (flags & MNT_IGNORE)
- strlcat(opts, ",ignore", sizeof(opts));
- #if defined(MNT_DISCARD)
- if (flags & MNT_DISCARD)
- strlcat(opts, ",discard", sizeof(opts));
- #endif
-+#if defined(MNT_EXTATTR)
- if (flags & MNT_EXTATTR)
- strlcat(opts, ",extattr", sizeof(opts));
-+#endif
- if (flags & MNT_LOG)
- strlcat(opts, ",log", sizeof(opts));
- if (flags & MNT_SYMPERM)
diff --git a/sysutils/py-psutil/patches/patch-psutil_arch_bsd_netbsd.c b/sysutils/py-psutil/patches/patch-psutil_arch_bsd_netbsd.c
deleted file mode 100644
index bd1fee78d3c..00000000000
--- a/sysutils/py-psutil/patches/patch-psutil_arch_bsd_netbsd.c
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-psutil_arch_bsd_netbsd.c,v 1.4 2016/04/29 15:33:57 prlw1 Exp $
-
-Declare warn().
-
-https://github.com/giampaolo/psutil/pull/812
-
---- psutil/arch/bsd/netbsd.c.orig 2016-03-12 17:12:23.000000000 +0000
-+++ psutil/arch/bsd/netbsd.c
-@@ -13,6 +13,7 @@
-
- #include <Python.h>
- #include <assert.h>
-+#include <err.h>
- #include <errno.h>
- #include <stdlib.h>
- #include <stdio.h>