pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-testtools
Module Name: pkgsrc
Committed By: wiz
Date: Fri Jun 14 08:13:14 UTC 2019
Modified Files:
pkgsrc/devel/py-testtools: Makefile
Log Message:
py-testtools: Improve test target. Update bug reports.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/py-testtools/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-testtools/Makefile
diff -u pkgsrc/devel/py-testtools/Makefile:1.18 pkgsrc/devel/py-testtools/Makefile:1.19
--- pkgsrc/devel/py-testtools/Makefile:1.18 Mon Dec 18 08:48:26 2017
+++ pkgsrc/devel/py-testtools/Makefile Fri Jun 14 08:13:14 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2017/12/18 08:48:26 adam Exp $
+# $NetBSD: Makefile,v 1.19 2019/06/14 08:13:14 wiz Exp $
DISTNAME= testtools-2.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -15,16 +15,16 @@ DEPENDS+= ${PYPKGPREFIX}-fixtures>=1.3.0
DEPENDS+= ${PYPKGPREFIX}-python-mimeparse-[0-9]*:../../www/py-python-mimeparse
DEPENDS+= ${PYPKGPREFIX}-unittest2>=0.8.0:../../devel/py-unittest2
-# 38 failures as of 2.2.0
+# 2 failures as of 2.3.0
# https://github.com/testing-cabal/testtools/issues/253
-# TEST_DEPENDS
-BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-BUILD_DEPENDS+= ${PYPKGPREFIX}-testscenarios-[0-9]*:../../devel/py-testscenarios
+# circular test dependency
+# https://github.com/testing-cabal/testscenarios/issues/4
+#TEST_DEPENDS+= ${PYPKGPREFIX}-testscenarios-[0-9]*:../../devel/py-testscenarios
USE_LANGUAGES= # none
do-test:
- cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} PYTHONPATH=${PWD} ${PYTHONBIN} -m testtools.run testtools.tests.test_suite
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index