pkgsrc/devel/py-testtools/Makefile
adam 501c363e9d py-testtools: updated to 2.4.0
2.4.0:
Improvements
* Add support for Python 3.7, 3.8 and PyPy3.
* Drop support for Python 3.4 (EOL).
* Avoid using eval().
* PyCharm IDE unittest detection compatibility fix.
* Drop support for Python 3.3 (EOL).
* Spelling fixes.
* Python 3.6 invalid escape sequence deprecation fixes.
2020-04-11 07:34:00 +00:00

31 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.20 2020/04/11 07:34:00 adam Exp $
DISTNAME= testtools-2.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/testtools/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/testing-cabal/testtools
COMMENT= Extensions to the Python standard library unit testing framework
LICENSE= mit AND python-software-foundation
DEPENDS+= ${PYPKGPREFIX}-extras>=1.0.0:../../devel/py-extras
DEPENDS+= ${PYPKGPREFIX}-fixtures>=1.3.0:../../devel/py-fixtures
DEPENDS+= ${PYPKGPREFIX}-python-mimeparse-[0-9]*:../../www/py-python-mimeparse
DEPENDS+= ${PYPKGPREFIX}-unittest2>=0.8.0:../../devel/py-unittest2
# 2 failures as of 2.3.0
# https://github.com/testing-cabal/testtools/issues/253
# circular test dependency
# https://github.com/testing-cabal/testscenarios/issues/4
#TEST_DEPENDS+= ${PYPKGPREFIX}-testresources-[0-9]*:../../devel/py-testresources
#TEST_DEPENDS+= ${PYPKGPREFIX}-testscenarios-[0-9]*:../../devel/py-testscenarios
USE_LANGUAGES= # none
do-test:
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"