pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/py-responses



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jul 27 06:53:53 UTC 2023

Modified Files:
        pkgsrc/net/py-responses: Makefile distinfo

Log Message:
py-responses: updated to 0.23.2

0.23.2
------
> This release is the last to support Python 3.7

* Updated dependency to urllib3>=2 and requests>=2.30.0.
* Fixed issue when custom adapters were sending only positional args.
* Expose `unbound_on_send` method in `RequestsMock` class. This method returns new function
  that is called by `RequestsMock` instead of original `send` method defined by any adapter.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/net/py-responses/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/net/py-responses/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/py-responses/Makefile
diff -u pkgsrc/net/py-responses/Makefile:1.31 pkgsrc/net/py-responses/Makefile:1.32
--- pkgsrc/net/py-responses/Makefile:1.31       Wed May 17 07:15:04 2023
+++ pkgsrc/net/py-responses/Makefile    Thu Jul 27 06:53:53 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2023/05/17 07:15:04 adam Exp $
+# $NetBSD: Makefile,v 1.32 2023/07/27 06:53:53 adam Exp $
 
-DISTNAME=      responses-0.23.1
-PKGREVISION=   1
+DISTNAME=      responses-0.23.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/responses/}
@@ -11,8 +10,8 @@ HOMEPAGE=     https://github.com/getsentry/r
 COMMENT=       Utility library for mocking out the requests Python library
 LICENSE=       apache-2.0
 
-DEPENDS+=      ${PYPKGPREFIX}-requests>=2.22.0:../../devel/py-requests
-DEPENDS+=      ${PYPKGPREFIX}-urllib3>=1.25.10:../../www/py-urllib3
+DEPENDS+=      ${PYPKGPREFIX}-requests>=2.30.0:../../devel/py-requests
+DEPENDS+=      ${PYPKGPREFIX}-urllib3>=2.0.0:../../www/py-urllib3
 DEPENDS+=      ${PYPKGPREFIX}-types-yaml-[0-9]*:../../textproc/py-types-yaml
 DEPENDS+=      ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
 TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=6.0.0:../../devel/py-coverage
@@ -21,12 +20,14 @@ TEST_DEPENDS+=      ${PYPKGPREFIX}-test>=7.0.
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio-[0-9]*:../../devel/py-test-asyncio
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-httpserver-[0-9]*:../../devel/py-test-httpserver
+TEST_DEPENDS+= ${PYPKGPREFIX}-tomli_w-[0-9]*:../../textproc/py-tomli_w
 
 USE_LANGUAGES= # none
 
-PYSETUPTESTTARGET=     pytest
-
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} responses/tests
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/py-responses/distinfo
diff -u pkgsrc/net/py-responses/distinfo:1.28 pkgsrc/net/py-responses/distinfo:1.29
--- pkgsrc/net/py-responses/distinfo:1.28       Mon May  8 07:15:56 2023
+++ pkgsrc/net/py-responses/distinfo    Thu Jul 27 06:53:53 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.28 2023/05/08 07:15:56 adam Exp $
+$NetBSD: distinfo,v 1.29 2023/07/27 06:53:53 adam Exp $
 
-BLAKE2s (responses-0.23.1.tar.gz) = cd2a53b485f21ea67bba2cee5420f14878fe89c118a7ce841c9ad48b9c785168
-SHA512 (responses-0.23.1.tar.gz) = 2c05ac5c4ccca351940d3821b0830cee366cd7c9637f1e4c1e6b40c72ed2168a1036de634f03bfaaa2f7270e3825f6d9e8d31fc7a16f321f1de1cc64255454a1
-Size (responses-0.23.1.tar.gz) = 72966 bytes
+BLAKE2s (responses-0.23.2.tar.gz) = 7aea976133a2b10a981eb5f15629f42e36733b85382edd3d53730b962a6fd2bb
+SHA512 (responses-0.23.2.tar.gz) = f18f7b747871a4bffba59787b2c84d26799bed2f949c0e977fbd2ef6341425957bb27cc2beb067f75892a4b9a5af3d40f28083482950a4a6e29144fc1d529cff
+Size (responses-0.23.2.tar.gz) = 73678 bytes



Home | Main Index | Thread Index | Old Index