pkgsrc/net/py-responses/Makefile
adam 611c39ce58 py-responses: updated to 0.10.15
0.10.15
- Added `assert_call_count` to improve ergonomics around ensuring a mock was called.
- Fix incorrect handling of paths with query strings.
- Add Python 3.9 support to CI matrix.
2020-06-17 06:47:21 +00:00

33 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2020/06/17 06:47:21 adam Exp $
DISTNAME= responses-0.10.15
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}-six-[0-9]*:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-requests>=2.0:../../devel/py-requests
.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
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"