pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/py-spake2 py-spake2: add do-test target
details: https://anonhg.NetBSD.org/pkgsrc/rev/4a827ac3e11f
branches: trunk
changeset: 455346:4a827ac3e11f
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Jul 03 21:02:54 2021 +0000
description:
py-spake2: add do-test target
>From Matthias Ferdinand.
diffstat:
security/py-spake2/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 99c5503c4cf1 -r 4a827ac3e11f security/py-spake2/Makefile
--- a/security/py-spake2/Makefile Sat Jul 03 21:02:45 2021 +0000
+++ b/security/py-spake2/Makefile Sat Jul 03 21:02:54 2021 +0000
@@ -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 @@
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