pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/py-psutil
Module Name: pkgsrc
Committed By: wiz
Date: Mon Sep 22 21:50:35 UTC 2025
Modified Files:
pkgsrc/sysutils/py-psutil: Makefile
Log Message:
py-psutil: improve test target
To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 pkgsrc/sysutils/py-psutil/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/py-psutil/Makefile
diff -u pkgsrc/sysutils/py-psutil/Makefile:1.60 pkgsrc/sysutils/py-psutil/Makefile:1.61
--- pkgsrc/sysutils/py-psutil/Makefile:1.60 Mon Apr 14 08:31:30 2025
+++ pkgsrc/sysutils/py-psutil/Makefile Mon Sep 22 21:50:35 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2025/04/14 08:31:30 adam Exp $
+# $NetBSD: Makefile,v 1.61 2025/09/22 21:50:35 wiz Exp $
DISTNAME= psutil-7.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -12,11 +12,21 @@ COMMENT= Cross-platform process and syst
LICENSE= modified-bsd
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
+TEST_DEPENDS+= ${PYPKGPREFIX}-pyperf>0:../../devel/py-pyperf
+TEST_DEPENDS+= ${PYPKGPREFIX}-requests>0:../../devel/py-requests
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>0:../../devel/py-test-xdist
+USE_TOOLS+= gmake
+
# https://github.com/giampaolo/psutil/issues/2465
#do-test:
# cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m psutil.tests
+# with this method, as of 7.0.0, after installation:
+# 6 failed, 306 passed, 272 skipped, 2 warnings, 1 error
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${GMAKE} test
+
.include "../../lang/python/wheel.mk"
+.include "../../lang/python/tool.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index