mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 10:31:20 +02:00
xxx
This commit is contained in:
@@ -1,31 +1,21 @@
|
||||
# Created by: Ju Pengfei <jupengfei@gmail.com>
|
||||
# $FreeBSD: head/sysutils/py-psutil/Makefile 526661 2020-02-21 18:57:16Z sunpoet $
|
||||
|
||||
PORTNAME= psutil
|
||||
PORTVERSION= 5.7.0
|
||||
PORTVERSION= 5.9.4
|
||||
CATEGORIES= sysutils python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Process utilities module for Python
|
||||
WWW= https://github.com/giampaolo/psutil
|
||||
|
||||
#RUN_DEPENDS= ${PY_ENUM34}
|
||||
#TEST_DEPENDS= ${PY_IPADDRESS}
|
||||
USES= cpe python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
LDFLAGS+= -lutil
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}psutil121
|
||||
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/psutil/_psutil_bsd.so \
|
||||
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/psutil/_psutil_posix.so
|
||||
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
#.if ${PYTHON_REL} < 3000
|
||||
#TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>=0:python/py-mock@${PY_FLAVOR}
|
||||
#.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1582222968
|
||||
SHA256 (psutil-5.7.0.tar.gz) = 685ec16ca14d079455892f25bd124df26ff9137664af445563c1bd36629b5e0e
|
||||
SIZE (psutil-5.7.0.tar.gz) = 449628
|
||||
TIMESTAMP = 1669057961
|
||||
SHA256 (psutil-5.9.4.tar.gz) = 3d7f9739eb435d4b1338944abe23f49584bde5395f27487d2ee25ad9a8774a62
|
||||
SIZE (psutil-5.9.4.tar.gz) = 485825
|
||||
|
||||
11
python/py-psutil/files/patch-clang15
Normal file
11
python/py-psutil/files/patch-clang15
Normal file
@@ -0,0 +1,11 @@
|
||||
--- psutil/arch/freebsd/sys_socks.c.orig 2022-09-02 10:06:38 UTC
|
||||
+++ psutil/arch/freebsd/sys_socks.c
|
||||
@@ -62,7 +62,7 @@ struct xfile *
|
||||
|
||||
|
||||
struct xfile *
|
||||
-psutil_get_file_from_sock(void *sock) {
|
||||
+psutil_get_file_from_sock(kvaddr_t sock) {
|
||||
struct xfile *xf;
|
||||
int n;
|
||||
|
||||
@@ -2,6 +2,3 @@ psutil is a module providing an interface for retrieving information on running
|
||||
processes and system utilization (CPU, memory) in a portable way by using
|
||||
Python, implementing many functionalities offered by tools like ps, top and
|
||||
Windows task manager.
|
||||
|
||||
WWW: https://pypi.org/project/psutil/
|
||||
WWW: https://github.com/giampaolo/psutil
|
||||
|
||||
Reference in New Issue
Block a user