pkgsrc/sysutils/py-psutil/Makefile
adam 528333cd73 py-psutil: updated to 5.6.7
5.6.7
**Bug fixes**
- 1630_: [Windows] can't compile source distribution due to C syntax error.

5.6.6
**Bug fixes**
- 1179_: [Linux] Process cmdline() now takes into account misbehaving processes
  renaming the command line and using inappropriate chars to separate args.
- 1616_: use of Py_DECREF instead of Py_CLEAR will result in double free and
  segfault (CVE).
- 1619_: [OpenBSD] compilation fails due to C syntax error.
2019-12-13 09:48:26 +00:00

35 lines
989 B
Makefile

# $NetBSD: Makefile,v 1.35 2019/12/13 09:48:26 adam Exp $
DISTNAME= psutil-5.6.7
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
TEST_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
do-test:
cd ${WRKSRC} && ${PYTHONBIN} psutil/tests/__main__.py
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"