Sat Jul 3 21:02:54 2021 UTC ()
py-spake2: add do-test target

From Matthias Ferdinand.


(wiz)
diff -r1.1 -r1.2 pkgsrc/security/py-spake2/Makefile

cvs diff -r1.1 -r1.2 pkgsrc/security/py-spake2/Makefile (expand / switch to unified diff)

--- pkgsrc/security/py-spake2/Makefile 2021/06/23 21:07:29 1.1
+++ pkgsrc/security/py-spake2/Makefile 2021/07/03 21:02:54 1.2
@@ -1,19 +1,22 @@ @@ -1,19 +1,22 @@
1# $NetBSD: Makefile,v 1.1 2021/06/23 21:07:29 wiz Exp $ 1# $NetBSD: Makefile,v 1.2 2021/07/03 21:02:54 wiz Exp $
2 2
3DISTNAME= spake2-0.8 3DISTNAME= spake2-0.8
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= security python 5CATEGORIES= security python
6MASTER_SITES= ${MASTER_SITE_PYPI:=s/spake2/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=s/spake2/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/warner/python-spake2 9HOMEPAGE= https://github.com/warner/python-spake2
10COMMENT= Pure-Python SPAKE2 10COMMENT= Pure-Python SPAKE2
11LICENSE= mit 11LICENSE= mit
12 12
13PYTHON_VERSIONED_DEPENDENCIES= test:test 13PYTHON_VERSIONED_DEPENDENCIES= test:test
14 14
15DEPENDS+= ${PYPKGPREFIX}-hkdf-[0-9]*:../../security/py-hkdf 15DEPENDS+= ${PYPKGPREFIX}-hkdf-[0-9]*:../../security/py-hkdf
16 16
 17do-test:
 18 cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 19
17.include "../../lang/python/egg.mk" 20.include "../../lang/python/egg.mk"
18.include "../../lang/python/versioned_dependencies.mk" 21.include "../../lang/python/versioned_dependencies.mk"
19.include "../../mk/bsd.pkg.mk" 22.include "../../mk/bsd.pkg.mk"