blob: b4b7ae0dcda9f8ad15c9a94c875fbba2efc9dc18 (
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
|
PORTNAME= psutil
PORTVERSION= 5.9.1
PORTREVISION= 2
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
USES= cpe python:3.6+
USE_PYTHON= autoplist concurrent distutils
LDFLAGS+= -lutil # fix of: site-packages/psutil/_psutil_bsd.cpython-39.so: Undefined symbol "kinfo_getfile"
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}psutil121
CPE_VENDOR= psutil_project
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>
|