9c61427d1e
0.14.0 ------ * Added `responses.matchers`. * Moved `responses.json_params_matcher` to `responses.matchers.json_params_matcher` * Moved `responses.urlencoded_params_matcher` to `responses.matchers.urlencoded_params_matcher` * Added `responses.matchers.query_param_matcher`. This matcher allows you to match query strings with a dictionary. * Added `auto_calculate_content_length` option to `responses.add()`. When enabled, this option will generate a `Content-Length` header based on the number of bytes in the response body.
36 lines
1.2 KiB
Makefile
36 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.23 2021/09/19 10:45:51 adam Exp $
|
|
|
|
DISTNAME= responses-0.14.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"
|