pkgsrc/net/py-responses/Makefile
adam ae8ca92033 py-responses: updated to 0.10.12
0.10.12
- Fixed incorrect content-type in `add_callback()` when headers are provided as a list of tuples.
2020-03-03 05:59:30 +00:00

31 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2020/03/03 05:59:30 adam Exp $
DISTNAME= responses-0.10.12
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-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-localserver-[0-9]*:../../devel/py-test-localserver
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"