# $NetBSD: Makefile,v 1.10 2022/10/25 07:06:14 adam Exp $ DISTNAME= pytest-localserver-0.7.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-localserver/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://github.com/pytest-dev/pytest-localserver COMMENT= Py.test plugin to test server connections locally LICENSE= mit BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_scm DEPENDS+= ${PYPKGPREFIX}-werkzeug>=0.10:../../www/py-werkzeug TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test PYTHON_VERSIONS_INCOMPATIBLE= 27 USE_LANGUAGES= # none do-test: cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk"