# $NetBSD: Makefile,v 1.24 2021/11/02 10:17:06 adam Exp $ DISTNAME= responses-0.15.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_PYPI:=r/responses/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://github.com/getsentry/responses COMMENT= Utility library for mocking out the requests Python library LICENSE= apache-2.0 DEPENDS+= ${PYPKGPREFIX}-requests>=2.0:../../devel/py-requests DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six DEPENDS+= ${PYPKGPREFIX}-urllib3>=1.25.10:../../www/py-urllib3 .include "../../lang/python/pyversion.mk" .if ${_PYTHON_VERSION} == 27 DEPENDS+= ${PYPKGPREFIX}-cookies-[0-9]*:../../www/py-cookies DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock .endif TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=3.7.1:../../devel/py-coverage TEST_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov TEST_DEPENDS+= ${PYPKGPREFIX}-test-localserver-[0-9]*:../../devel/py-test-localserver PYTHON_VERSIONED_DEPENDENCIES= test:test USE_LANGUAGES= # none PYSETUPTESTTARGET= pytest .include "../../lang/python/egg.mk" .include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk"