aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/py-psutil/Makefile
blob: 6f96a4a8de1a92d54f9e53b48971dfcb242be0ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Ju Pengfei <jupengfei@gmail.com>
# $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 <bsd.port.pre.mk>

.if ${PYTHON_REL} < 3000
TEST_DEPENDS+=  ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR}
.endif

.include <bsd.port.post.mk>