freebsd-ports/sysutils/py-psutil/Makefile
Torsten Blum 030111b816
sysutils/py-psutil: Fix failing __FreeBSD_version check
- Bump PORTREVISION for package change

psutil 5.9.1 does not include <sys/param.h> in arch/freebsd/mem.c, causing the
__FreeBSD_version check there not not work properly and thus breaking the port
on systems without COMPAT_FREEBSD7.

PR:		264807
Reference:	https://github.com/giampaolo/psutil/issues/2113
2022-06-22 04:58:58 +08:00

26 lines
588 B
Makefile

# Created by: Ju Pengfei <jupengfei@gmail.com>
PORTNAME= psutil
PORTVERSION= 5.9.1
PORTREVISION= 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
USES= cpe python:3.6+
USE_PYTHON= autoplist concurrent distutils
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}psutil121
CPE_VENDOR= psutil_project
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>