pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/py-scikit-image



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Jul  3 19:10:55 UTC 2023

Modified Files:
        pkgsrc/math/py-scikit-image: Makefile

Log Message:
py-scikit-image: add test dependencies/target


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/math/py-scikit-image/Makefile

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

Modified files:

Index: pkgsrc/math/py-scikit-image/Makefile
diff -u pkgsrc/math/py-scikit-image/Makefile:1.16 pkgsrc/math/py-scikit-image/Makefile:1.17
--- pkgsrc/math/py-scikit-image/Makefile:1.16   Mon Jul  3 17:31:43 2023
+++ pkgsrc/math/py-scikit-image/Makefile        Mon Jul  3 19:10:55 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2023/07/03 17:31:43 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2023/07/03 19:10:55 wiz Exp $
 
 DISTNAME=      scikit-image-0.19.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -21,6 +21,7 @@ DEPENDS+=     ${PYPKGPREFIX}-tifffile>=2019.
 DEPENDS+=      ${PYPKGPREFIX}-pywavelets>=1.1.1:../../math/py-pywavelets
 # optional
 DEPENDS+=      ${PYPKGPREFIX}-matplotlib>=3.0.3:../../graphics/py-matplotlib
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=0:../../devel/py-test
 
 USE_LANGUAGES= c c++
 
@@ -35,6 +36,9 @@ post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} skivi skivi-${PYVERSSUFFIX} || ${TRUE}
 
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
 .include "../../devel/py-cython/buildlink3.mk"
 .include "../../math/py-pythran/buildlink3.mk"
 .include "../../lang/python/egg.mk"



Home | Main Index | Thread Index | Old Index