pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-hmmlearn: Fix numpy dep, test command



Module Name:	pkgsrc-wip
Committed By:	Jason W. Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Fri Dec 22 10:17:03 2023 -0600
Changeset:	3642e2a44c6ff30e36c8084b6adb0baed14f6903

Modified Files:
	py-hmmlearn/Makefile

Log Message:
py-hmmlearn: Fix numpy dep, test command

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3642e2a44c6ff30e36c8084b6adb0baed14f6903

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-hmmlearn/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diffs:
diff --git a/py-hmmlearn/Makefile b/py-hmmlearn/Makefile
index bf88869fc5..4ac689c20c 100644
--- a/py-hmmlearn/Makefile
+++ b/py-hmmlearn/Makefile
@@ -12,16 +12,16 @@ LICENSE=	modified-bsd
 
 TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
 TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
-DEPENDS+=	${PYPKGPREFIX}-numpy>=1.21.5:../../math/py-numpy
-DEPENDS+=	${PYPKGPREFIX}-scipy>0:../../math/py-scipy
 DEPENDS+=	${PYPKGPREFIX}-sklearn-pandas>0:../../math/py-sklearn-pandas
+DEPENDS+=	${PYPKGPREFIX}-scipy>0:../../math/py-scipy
 TEST_DEPENDS+=	${PYPKGPREFIX}-test>=5.4.1:../../devel/py-test
 
 USE_LANGUAGES=	c c++
 
 do-test:
-	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m pytest -s
+	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} --capture=no
 
 .include "../../devel/py-pybind11/buildlink3.mk"
 .include "../../lang/python/wheel.mk"
+.include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index