pkgsrc/devel/py-test-subtests/Makefile
adam 72487a5e16 py-test-subtests: updated to 0.8.0
0.8.0
* Now passing subtests are shown in the test run summary at the end (for example: ``10 failed, 1 passed, 10 subtests passed in 0.10s``)
2022-07-05 18:02:19 +00:00

26 lines
815 B
Makefile

# $NetBSD: Makefile,v 1.2 2022/07/05 18:02:19 adam Exp $
DISTNAME= pytest-subtests-0.8.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-subtests/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/pytest-dev/pytest-subtests
COMMENT= Unittest subTest() support and subtests fixture
LICENSE= mit
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
DEPENDS+= ${PYPKGPREFIX}-test>=7.0:../../devel/py-test
PYTHON_VERSIONS_INCOMPATIBLE= 27
#TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
# needs to be installed for testing
# as of 0.7.0
# 15 passed, 6 skipped, 5 xfailed
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"