Fri Jun 14 08:13:14 2019 UTC ()
py-testtools: Improve test target. Update bug reports.


(wiz)
diff -r1.18 -r1.19 pkgsrc/devel/py-testtools/Makefile

cvs diff -r1.18 -r1.19 pkgsrc/devel/py-testtools/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-testtools/Makefile 2017/12/18 08:48:26 1.18
+++ pkgsrc/devel/py-testtools/Makefile 2019/06/14 08:13:14 1.19
@@ -1,30 +1,30 @@ @@ -1,30 +1,30 @@
1# $NetBSD: Makefile,v 1.18 2017/12/18 08:48:26 adam Exp $ 1# $NetBSD: Makefile,v 1.19 2019/06/14 08:13:14 wiz Exp $
2 2
3DISTNAME= testtools-2.3.0 3DISTNAME= testtools-2.3.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=t/testtools/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=t/testtools/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/testing-cabal/testtools 9HOMEPAGE= https://github.com/testing-cabal/testtools
10COMMENT= Extensions to the Python standard library unit testing framework 10COMMENT= Extensions to the Python standard library unit testing framework
11LICENSE= mit AND python-software-foundation 11LICENSE= mit AND python-software-foundation
12 12
13DEPENDS+= ${PYPKGPREFIX}-extras>=1.0.0:../../devel/py-extras 13DEPENDS+= ${PYPKGPREFIX}-extras>=1.0.0:../../devel/py-extras
14DEPENDS+= ${PYPKGPREFIX}-fixtures>=1.3.0:../../devel/py-fixtures 14DEPENDS+= ${PYPKGPREFIX}-fixtures>=1.3.0:../../devel/py-fixtures
15DEPENDS+= ${PYPKGPREFIX}-python-mimeparse-[0-9]*:../../www/py-python-mimeparse 15DEPENDS+= ${PYPKGPREFIX}-python-mimeparse-[0-9]*:../../www/py-python-mimeparse
16DEPENDS+= ${PYPKGPREFIX}-unittest2>=0.8.0:../../devel/py-unittest2 16DEPENDS+= ${PYPKGPREFIX}-unittest2>=0.8.0:../../devel/py-unittest2
17 17
18# 38 failures as of 2.2.0 18# 2 failures as of 2.3.0
19# https://github.com/testing-cabal/testtools/issues/253 19# https://github.com/testing-cabal/testtools/issues/253
20# TEST_DEPENDS 20# circular test dependency
21BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test 21# https://github.com/testing-cabal/testscenarios/issues/4
22BUILD_DEPENDS+= ${PYPKGPREFIX}-testscenarios-[0-9]*:../../devel/py-testscenarios 22#TEST_DEPENDS+= ${PYPKGPREFIX}-testscenarios-[0-9]*:../../devel/py-testscenarios
23 23
24USE_LANGUAGES= # none 24USE_LANGUAGES= # none
25 25
26do-test: 26do-test:
27 cd ${WRKSRC} && py.test-${PYVERSSUFFIX} 27 cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} PYTHONPATH=${PWD} ${PYTHONBIN} -m testtools.run testtools.tests.test_suite
28 28
29.include "../../lang/python/egg.mk" 29.include "../../lang/python/egg.mk"
30.include "../../mk/bsd.pkg.mk" 30.include "../../mk/bsd.pkg.mk"