pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-spake2



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Jul  3 21:02:54 UTC 2021

Modified Files:
        pkgsrc/security/py-spake2: Makefile

Log Message:
py-spake2: add do-test target

>From Matthias Ferdinand.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/py-spake2/Makefile

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

Modified files:

Index: pkgsrc/security/py-spake2/Makefile
diff -u pkgsrc/security/py-spake2/Makefile:1.1 pkgsrc/security/py-spake2/Makefile:1.2
--- pkgsrc/security/py-spake2/Makefile:1.1      Wed Jun 23 21:07:29 2021
+++ pkgsrc/security/py-spake2/Makefile  Sat Jul  3 21:02:54 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2021/06/23 21:07:29 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2021/07/03 21:02:54 wiz Exp $
 
 DISTNAME=      spake2-0.8
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -14,6 +14,9 @@ PYTHON_VERSIONED_DEPENDENCIES=        test:test
 
 DEPENDS+=      ${PYPKGPREFIX}-hkdf-[0-9]*:../../security/py-hkdf
 
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
 .include "../../lang/python/egg.mk"
 .include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index