Fri Apr 5 10:57:33 2024 UTC (51d)
py-requests-oauthlib: update to 2.0.0.

v2.0.0 (22 March 2024)
++++++++++++++++++++++++

Full set of changes are in [github](https://github.com/requests/requests-oauthlib/milestone/4?closed=1).

Additions & changes:

- ``OAuth2Session`` now correctly uses the ``self.verify`` value if ``verify``
  is not overridden in ``fetch_token`` and ``refresh_token``. Fixes `#404
  <https://github.com/requests/requests-oauthlib/issues/404>`_.
- ``OAuth2Session`` constructor now uses its ``client.scope`` when a ``client``
  is provided and ``scope`` is not overridden. Fixes `#408
  <https://github.com/requests/requests-oauthlib/issues/408>`_
- Add ``refresh_token_request`` and ``access_token_request`` compliance hooks
- Add PKCE support and Auth0 example
- Add support for Python 3.8-3.12
- Remove support of Python 2.x, <3.7
- Migrated to Github Action
- Updated dependencies
- Cleanup some docs and examples


(wiz)
diff -r1.15 -r1.16 pkgsrc/security/py-requests-oauthlib/Makefile
diff -r1.12 -r1.13 pkgsrc/security/py-requests-oauthlib/distinfo

cvs diff -r1.15 -r1.16 pkgsrc/security/py-requests-oauthlib/Makefile (expand / switch to unified diff)

--- pkgsrc/security/py-requests-oauthlib/Makefile 2024/03/17 14:08:17 1.15
+++ pkgsrc/security/py-requests-oauthlib/Makefile 2024/04/05 10:57:33 1.16
@@ -1,25 +1,25 @@ @@ -1,25 +1,25 @@
1# $NetBSD: Makefile,v 1.15 2024/03/17 14:08:17 wiz Exp $ 1# $NetBSD: Makefile,v 1.16 2024/04/05 10:57:33 wiz Exp $
2 2
3DISTNAME= requests-oauthlib-1.4.0 3DISTNAME= requests-oauthlib-2.0.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= security python 5CATEGORIES= security python
6MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests-oauthlib/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests-oauthlib/}
7 7
8MAINTAINER= imil@NetBSD.org 8MAINTAINER= imil@NetBSD.org
9HOMEPAGE= https://github.com/requests/requests-oauthlib 9HOMEPAGE= https://github.com/requests/requests-oauthlib
10COMMENT= OAuthlib support for Python-Requests 10COMMENT= OAuthlib support for Python-Requests
11LICENSE= mit 11LICENSE= mit
12 12
13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools 13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
14TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel 14TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
15DEPENDS+= ${PYPKGPREFIX}-oauthlib>=3.0.0:../../security/py-oauthlib 15DEPENDS+= ${PYPKGPREFIX}-oauthlib>=3.0.0:../../security/py-oauthlib
16DEPENDS+= ${PYPKGPREFIX}-requests>=2.2.0:../../devel/py-requests 16DEPENDS+= ${PYPKGPREFIX}-requests>=2.2.0:../../devel/py-requests
17TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock 17TEST_DEPENDS+= ${PYPKGPREFIX}-selenium-[0-9]*:../../www/py-selenium
18TEST_DEPENDS+= ${PYPKGPREFIX}-requests-mock-[0-9]*:../../devel/py-requests-mock 18TEST_DEPENDS+= ${PYPKGPREFIX}-requests-mock-[0-9]*:../../devel/py-requests-mock
19 19
20USE_LANGUAGES= # none 20USE_LANGUAGES= # none
21 21
22PYTHON_VERSIONS_INCOMPATIBLE= 27 38 22PYTHON_VERSIONS_INCOMPATIBLE= 27 38
23 23
24.include "../../lang/python/wheel.mk" 24.include "../../lang/python/wheel.mk"
25.include "../../mk/bsd.pkg.mk" 25.include "../../mk/bsd.pkg.mk"

cvs diff -r1.12 -r1.13 pkgsrc/security/py-requests-oauthlib/distinfo (expand / switch to unified diff)

--- pkgsrc/security/py-requests-oauthlib/distinfo 2024/03/17 14:08:17 1.12
+++ pkgsrc/security/py-requests-oauthlib/distinfo 2024/04/05 10:57:33 1.13
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.12 2024/03/17 14:08:17 wiz Exp $ 1$NetBSD: distinfo,v 1.13 2024/04/05 10:57:33 wiz Exp $
2 2
3BLAKE2s (requests-oauthlib-1.4.0.tar.gz) = d521e95465c4216e13ff26ffcb0d9804c155e55c7905cb62b253d1a83c5aed1c 3BLAKE2s (requests-oauthlib-2.0.0.tar.gz) = 551edcbfa9e8b84dfff57da10eec331479e09e199bc9a50b3f4fb6ab0d22f56f
4SHA512 (requests-oauthlib-1.4.0.tar.gz) = 20a0e097de1c7c895725d551efcb614cc6fa3acf26798e2282f1ed7dc577fa54496d6d0e45f14d4fefa967e4545cc62c20a07eacdb367bbb06ac822518d0c383 4SHA512 (requests-oauthlib-2.0.0.tar.gz) = f15851aa27a19053c1bd6ccc7e1fcbc24b5c9e3e4ced736754e34ff8121a3d9be9f4f9ff878cbd2a75ca5803e25522807b4ace19cb0f64a88844158fdf7d098f
5Size (requests-oauthlib-1.4.0.tar.gz) = 55616 bytes 5Size (requests-oauthlib-2.0.0.tar.gz) = 55650 bytes