pkgsrc/devel/py-testtools24/Makefile
wiz 378361461c devel/py-testtools24: import py27-testtools-2.4.0nb1
testtools is a set of extensions to the Python standard library's unit testing
framework. These extensions have been derived from many years of experience
with unit testing in Python and come from many different sources. testtools
also ports recent unittest changes all the way back to Python 2.4.

This package contains the last version support python 2.x.
2022-01-27 10:50:14 +00:00

31 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.1 2022/01/27 10:50:14 wiz Exp $
DISTNAME= testtools-2.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
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 (python 2.x)
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
PYTHON_VERSIONS_ACCEPTED= 27
# 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} && ${SETENV} ${MAKE_ENV} PYTHONPATH=${PWD} ${PYTHONBIN} -m testtools.run testtools.tests.test_suite
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"