1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

Update to 5.7.0

Changes:	https://github.com/giampaolo/psutil/blob/master/HISTORY.rst
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-02-21 18:57:16 +00:00
parent 114cf51e15
commit d767f11c8b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=526661
3 changed files with 4 additions and 28 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= psutil
PORTVERSION= 5.6.7
PORTREVISION= 1
PORTVERSION= 5.7.0
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1575908040
SHA256 (psutil-5.6.7.tar.gz) = ffad8eb2ac614518bbe3c0b8eb9dffdb3a8d2e3a7d5da51c5b974fb723a5c5aa
SIZE (psutil-5.6.7.tar.gz) = 448321
TIMESTAMP = 1582222968
SHA256 (psutil-5.7.0.tar.gz) = 685ec16ca14d079455892f25bd124df26ff9137664af445563c1bd36629b5e0e
SIZE (psutil-5.7.0.tar.gz) = 449628

View File

@ -1,23 +0,0 @@
--- psutil/_psutil_bsd.c.orig 2019-11-20 08:39:49 UTC
+++ psutil/_psutil_bsd.c
@@ -271,7 +271,11 @@ psutil_proc_oneshot_info(PyObject *self, PyObject *arg
// Return a single big tuple with all process info.
py_retlist = Py_BuildValue(
+#if defined(__FreeBSD_version) && __FreeBSD_version >= 1200031
+ "(lillllllLdllllddddlllllbO)",
+#else
"(lillllllidllllddddlllllbO)",
+#endif
#ifdef PSUTIL_FREEBSD
//
(long)kp.ki_ppid, // (long) ppid
@@ -285,7 +289,7 @@ psutil_proc_oneshot_info(PyObject *self, PyObject *arg
(long)kp.ki_groups[0], // (long) effective gid
(long)kp.ki_svuid, // (long) saved gid
//
- kp.ki_tdev, // (int) tty nr
+ kp.ki_tdev, // (int or long long) tty nr
PSUTIL_TV2DOUBLE(kp.ki_start), // (double) create time
// ctx switches
kp.ki_rusage.ru_nvcsw, // (long) ctx switches (voluntary)