py-respx: updated to 0.21.0

0.21.0 - 2024-03-19

Fixed

- Fix matching request data when files are provided, thanks @ziima for input

Added

- Add support for data\_\_contains lookup
- Add `files` pattern to support matching on uploads, thanks @ziima for input
- Add `SetCookie` utility for easier mocking of response cookie headers

Changed

- Enhance documentation on iterable side effects
- Enhance documentation on named routes and add tip about a catch-all route
This commit is contained in:
adam 2024-03-24 17:17:58 +00:00
parent 3775cd3ed0
commit fd21da49c4
3 changed files with 19 additions and 15 deletions

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.14 2023/07/24 18:53:11 adam Exp $
# $NetBSD: Makefile,v 1.15 2024/03/24 17:17:58 adam Exp $
DISTNAME= respx-0.20.2
DISTNAME= respx-0.21.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/respx/}
@ -10,11 +10,13 @@ HOMEPAGE= https://github.com/lundberg/respx
COMMENT= Utility for mocking out the Python HTTPX library
LICENSE= mit
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-httpx>=0.21.0:../../www/py-httpx
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,11 +1,10 @@
@comment $NetBSD: PLIST,v 1.2 2021/07/08 08:41:15 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
@comment $NetBSD: PLIST,v 1.3 2024/03/24 17:17:58 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.md
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/respx/__init__.py
${PYSITELIB}/respx/__init__.pyc
${PYSITELIB}/respx/__init__.pyo
@ -43,3 +42,6 @@ ${PYSITELIB}/respx/transports.pyo
${PYSITELIB}/respx/types.py
${PYSITELIB}/respx/types.pyc
${PYSITELIB}/respx/types.pyo
${PYSITELIB}/respx/utils.py
${PYSITELIB}/respx/utils.pyc
${PYSITELIB}/respx/utils.pyo

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.14 2023/07/24 18:53:11 adam Exp $
$NetBSD: distinfo,v 1.15 2024/03/24 17:17:58 adam Exp $
BLAKE2s (respx-0.20.2.tar.gz) = 11da460aa8e63ad261a4f10b532b452e675b53246660dad5eba78fdbafc51937
SHA512 (respx-0.20.2.tar.gz) = 20c831eaf51551188470f2553c9a3d93397d220563d1bd1d76f8ba24636cc0c4e2ee55f08fe5583e926a938b396b8b93c009e54cb8418ef8c10a313c6e258721
Size (respx-0.20.2.tar.gz) = 26080 bytes
BLAKE2s (respx-0.21.0.tar.gz) = 8cbfcd0a83bf7291b6c6c4b8f23dce050921dd1ec3c827cb19c81b140819d002
SHA512 (respx-0.21.0.tar.gz) = 3bafe34cf1ad674e0b565d0996d2656789b08c21a99f06d0bea395e5676e9be05ac3d517e1f2e01243c385783272687dacfcb6a29b3af42cbe66bb9678e76918
Size (respx-0.21.0.tar.gz) = 28133 bytes