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