# $NetBSD: Makefile,v 1.26 2022/10/25 07:58:13 adam Exp $ DISTNAME= pytest-mock-3.10.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-mock/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://github.com/pytest-dev/pytest-mock COMMENT= Thin-wrapper around the mock package for easier use with py.test LICENSE= mit BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm DEPENDS+= ${PYPKGPREFIX}-test>=5.0:../../devel/py-test USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk"