# $NetBSD: Makefile,v 1.34 2022/12/12 10:09:32 adam Exp $ DISTNAME= pytest-xdist-3.1.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-xdist/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://github.com/pytest-dev/pytest-xdist COMMENT= Plugin for distributed testing and loop-on-failing modes LICENSE= mit TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel DEPENDS+= ${PYPKGPREFIX}-execnet>=1.1:../../devel/py-execnet DEPENDS+= ${PYPKGPREFIX}-test>=6.2.0:../../devel/py-test TEST_DEPENDS+= ${PYPKGPREFIX}-filelock-[0-9]*:../../devel/py-filelock USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 # needs to be installed for testing, this setting is not enough TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} testing .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk"