pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-flask-wtf



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Nov 24 10:33:28 UTC 2021

Modified Files:
        pkgsrc/www/py-flask-wtf: Makefile
Removed Files:
        pkgsrc/www/py-flask-wtf: options.mk

Log Message:
py-flask-wtf: simplify, update test dependencies


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/www/py-flask-wtf/Makefile
cvs rdiff -u -r1.2 -r0 pkgsrc/www/py-flask-wtf/options.mk

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

Modified files:

Index: pkgsrc/www/py-flask-wtf/Makefile
diff -u pkgsrc/www/py-flask-wtf/Makefile:1.23 pkgsrc/www/py-flask-wtf/Makefile:1.24
--- pkgsrc/www/py-flask-wtf/Makefile:1.23       Mon May 11 09:29:11 2020
+++ pkgsrc/www/py-flask-wtf/Makefile    Wed Nov 24 10:33:28 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2020/05/11 09:29:11 kleink Exp $
+# $NetBSD: Makefile,v 1.24 2021/11/24 10:33:28 wiz Exp $
 
 DISTNAME=      Flask-WTF-0.14.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -12,11 +12,16 @@ LICENSE=    modified-bsd
 
 USE_LANGUAGES= # empty
 
-.include "options.mk"
+DEPENDS+=              ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
+DEPENDS+=              ${PYPKGPREFIX}-wtforms>=1.0.5:../../www/py-wtforms
+TEST_DEPENDS+=         ${PYPKGPREFIX}-flask-babel-[0-9]*:../../www/py-flask-babel
+TEST_DEPENDS+=         ${PYPKGPREFIX}-flask-babelex-[0-9]*:../../www/py-flask-babelex
+TEST_DEPENDS+=         ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
-DEPENDS+=      ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
-DEPENDS+=      ${PYPKGPREFIX}-wtforms>=1.0.5:../../www/py-wtforms
-TEST_DEPENDS+= ${PYPKGPREFIX}-flask-babelex-[0-9]*:../../www/py-flask-babelex
+TEST_ENV+=             PYTHONPATH=${WRKSRC}/build/lib
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index