# Created by: Ju Pengfei # $FreeBSD$ PORTNAME= psutil PORTVERSION= 5.5.1 CATEGORIES= sysutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Process utilities module for Python LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PY_ENUM34} TEST_DEPENDS= ${PY_IPADDRESS} CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}psutil121 USES= python USE_PYTHON= autoplist concurrent distutils post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/psutil/_psutil_bsd.so ${STAGEDIR}${PYTHON_SITELIBDIR}/psutil/_psutil_posix.so .include .if ${PYTHON_REL} < 3000 TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} .endif .include