pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-wcwidth
Module Name: pkgsrc
Committed By: wiz
Date: Tue Oct 27 18:19:57 UTC 2026
Modified Files:
pkgsrc/devel/py-wcwidth: Makefile
Log Message:
py-wcwidth: provide working test target
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/devel/py-wcwidth/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-wcwidth/Makefile
diff -u pkgsrc/devel/py-wcwidth/Makefile:1.35 pkgsrc/devel/py-wcwidth/Makefile:1.36
--- pkgsrc/devel/py-wcwidth/Makefile:1.35 Sun Oct 25 17:49:53 2026
+++ pkgsrc/devel/py-wcwidth/Makefile Tue Oct 27 18:19:57 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2026/10/25 17:49:53 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2026/10/27 18:19:57 wiz Exp $
DISTNAME= wcwidth-0.9.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -14,9 +14,15 @@ LICENSE= mit
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=84.2:../../devel/py-setuptools
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=0:../../devel/py-test-cov
-# as of 0.8.3
-# 1 failed, 1363 passed, 10 skipped
-# after installation, no errors
+# as of 0.9.4
+# 1800 passed, 11 skipped
+
+# Follow upstream (see tox.ini) and provide the extension in-place for testing.
+do-test:
+ cd ${WRKSRC} && \
+ ${SETENV} ${TEST_ENV} ${PYTHONBIN} setup.py build_ext --inplace
+ cd ${WRKSRC} && \
+ ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index