97d4d74bba
5.7.0 Enhancements * [SunOS] add partial support for old SunOS 5.10 Update 0 to 3. * [Linux] sensors_temperatures() looks into an additional /sys/device/ directory for additional data. * [Windows] dropped support for Windows XP and Windows Server 2003. Minimum supported Windows version now is Windows Vista. * [FreeBSD] add CI testing/service for FreeBSD (Cirrus CI). * [Windows] process exe() will succeed for all process PIDs (instead of raising AccessDenied). * [Windows] net_connections() and Process.connections() are 10% faster. * [PyPy] added CI / test integration for PyPy via Travis. * [Windows] added support for PyPy on Windows. * [Windows] boot_time(), Process.create_time() and users()'s login time now have 1 micro second precision (before the precision was of 1 second). Bug fixes * [NetBSD] process cwd() may return ENOENT instead of NoSuchProcess. * [Linux] Process.memory_maps() can raise KeyError. * [SunOS] querying basic info for PID 0 results in FileNotFoundError. * [FreeBSD] many Process methods may cause a segfault on FreeBSD 12.0 due to a backward incompatible change in a C type introduced in 12.0. * [Windows] Process.memory_full_info() raises AccessDenied even for the current user and os.getpid(). * [Windows] Process.open_files() complete rewrite + check of errors. * [Windows] process exe() may raise WinError 0. * [Linux] disk_io_counters() does not take into account extra fields added to recent kernels. * use the right C type when dealing with PIDs (int or long). Thus far (long) was almost always assumed, which is wrong on most platforms. * [OpenBSD] Process connections(), num_fds() and threads() returned improper exception if process is gone. * [SunOS] disk_partitions() may raise OSError. * [Linux] disk_io_counters() may raise ValueError on systems not having /proc/diskstats. * [Linux] could not compile on kernels <= 2.6.13 due to PSUTIL_HAVE_IOPRIO not being defined.
32 lines
919 B
Makefile
32 lines
919 B
Makefile
# $NetBSD: Makefile,v 1.36 2020/04/19 10:04:54 adam Exp $
|
|
|
|
DISTNAME= psutil-5.7.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= sysutils python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/psutil/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/giampaolo/psutil
|
|
COMMENT= Cross-platform process and system utilities module for Python
|
|
LICENSE= modified-bsd
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
.if ${_PYTHON_VERSION} == 27
|
|
DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
|
|
.endif
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# facilitate PLIST processing
|
|
.if ${OPSYS} == "Darwin"
|
|
PLIST_SUBST+= SYSTEM=osx
|
|
.elif !empty(OPSYS:M*BSD)
|
|
PLIST_SUBST+= SYSTEM=bsd
|
|
.else
|
|
PLIST_SUBST+= SYSTEM=${OPSYS:tl}
|
|
.endif
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|