From 075456f697028fe5c48efcfccf1a26bce29f17eb Mon Sep 17 00:00:00 2001 From: sthen Date: Mon, 28 Mar 2022 09:43:20 +0000 Subject: [PATCH] update to py3-oauthlib-3.2.0, from Johan Huldtgren (maintainer) --- security/py-oauthlib/Makefile | 2 +- security/py-oauthlib/distinfo | 4 +-- ..._rfc6749_endpoints_test_error_responses_py | 29 ------------------- security/py-oauthlib/pkg/PLIST | 12 ++++++++ 4 files changed, 15 insertions(+), 32 deletions(-) delete mode 100644 security/py-oauthlib/patches/patch-tests_oauth2_rfc6749_endpoints_test_error_responses_py diff --git a/security/py-oauthlib/Makefile b/security/py-oauthlib/Makefile index c61cd5de7ee..dd8d9b17647 100644 --- a/security/py-oauthlib/Makefile +++ b/security/py-oauthlib/Makefile @@ -1,6 +1,6 @@ COMMENT = Python library for OAuth -MODPY_EGG_VERSION = 3.1.1 +MODPY_EGG_VERSION = 3.2.0 GH_ACCOUNT = idan GH_PROJECT = oauthlib diff --git a/security/py-oauthlib/distinfo b/security/py-oauthlib/distinfo index 9da9394d261..dd111a72b61 100644 --- a/security/py-oauthlib/distinfo +++ b/security/py-oauthlib/distinfo @@ -1,2 +1,2 @@ -SHA256 (oauthlib-3.1.1.tar.gz) = i8NcolvHSZqB8XAazkF/yHs5HwM6sQmReydhBC1iASs= -SIZE (oauthlib-3.1.1.tar.gz) = 664049 +SHA256 (oauthlib-3.2.0.tar.gz) = GJ5+QDQ/u8+yHDj437cDBPNSUju+59QwrQF0NIvosaI= +SIZE (oauthlib-3.2.0.tar.gz) = 670230 diff --git a/security/py-oauthlib/patches/patch-tests_oauth2_rfc6749_endpoints_test_error_responses_py b/security/py-oauthlib/patches/patch-tests_oauth2_rfc6749_endpoints_test_error_responses_py deleted file mode 100644 index 1f02bd2e6bd..00000000000 --- a/security/py-oauthlib/patches/patch-tests_oauth2_rfc6749_endpoints_test_error_responses_py +++ /dev/null @@ -1,29 +0,0 @@ -Index: tests/oauth2/rfc6749/endpoints/test_error_responses.py ---- tests/oauth2/rfc6749/endpoints/test_error_responses.py.orig -+++ tests/oauth2/rfc6749/endpoints/test_error_responses.py -@@ -179,21 +179,21 @@ class ErrorResponseTest(TestCase): - description = 'Duplicate client_id parameter.' - - # Authorization code -- self.assertRaisesRegexp(errors.InvalidRequestFatalError, -+ self.assertRaisesRegex(errors.InvalidRequestFatalError, - description, - self.web.validate_authorization_request, - uri.format('code')) -- self.assertRaisesRegexp(errors.InvalidRequestFatalError, -+ self.assertRaisesRegex(errors.InvalidRequestFatalError, - description, - self.web.create_authorization_response, - uri.format('code'), scopes=['foo']) - - # Implicit grant -- self.assertRaisesRegexp(errors.InvalidRequestFatalError, -+ self.assertRaisesRegex(errors.InvalidRequestFatalError, - description, - self.mobile.validate_authorization_request, - uri.format('token')) -- self.assertRaisesRegexp(errors.InvalidRequestFatalError, -+ self.assertRaisesRegex(errors.InvalidRequestFatalError, - description, - self.mobile.create_authorization_response, - uri.format('token'), scopes=['foo']) diff --git a/security/py-oauthlib/pkg/PLIST b/security/py-oauthlib/pkg/PLIST index 4543bfa85db..e628e6c7f63 100644 --- a/security/py-oauthlib/pkg/PLIST +++ b/security/py-oauthlib/pkg/PLIST @@ -120,6 +120,16 @@ lib/python${MODPY_VERSION}/site-packages/oauthlib/oauth2/rfc6749/parameters.py lib/python${MODPY_VERSION}/site-packages/oauthlib/oauth2/rfc6749/request_validator.py lib/python${MODPY_VERSION}/site-packages/oauthlib/oauth2/rfc6749/tokens.py lib/python${MODPY_VERSION}/site-packages/oauthlib/oauth2/rfc6749/utils.py +lib/python${MODPY_VERSION}/site-packages/oauthlib/oauth2/rfc8628/ +lib/python${MODPY_VERSION}/site-packages/oauthlib/oauth2/rfc8628/__init__.py +${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/oauthlib/oauth2/rfc8628/${MODPY_PYCACHE}/ +lib/python${MODPY_VERSION}/site-packages/oauthlib/oauth2/rfc8628/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/oauthlib/oauth2/rfc8628/clients/ +lib/python${MODPY_VERSION}/site-packages/oauthlib/oauth2/rfc8628/clients/__init__.py +${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/oauthlib/oauth2/rfc8628/clients/${MODPY_PYCACHE}/ +lib/python${MODPY_VERSION}/site-packages/oauthlib/oauth2/rfc8628/clients/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/oauthlib/oauth2/rfc8628/clients/${MODPY_PYCACHE}device.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/oauthlib/oauth2/rfc8628/clients/device.py lib/python${MODPY_VERSION}/site-packages/oauthlib/openid/ lib/python${MODPY_VERSION}/site-packages/oauthlib/openid/__init__.py ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/oauthlib/openid/${MODPY_PYCACHE}/ @@ -153,11 +163,13 @@ lib/python${MODPY_VERSION}/site-packages/oauthlib/openid/connect/core/grant_type lib/python${MODPY_VERSION}/site-packages/oauthlib/openid/connect/core/grant_types/${MODPY_PYCACHE}dispatchers.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/oauthlib/openid/connect/core/grant_types/${MODPY_PYCACHE}hybrid.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/oauthlib/openid/connect/core/grant_types/${MODPY_PYCACHE}implicit.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/oauthlib/openid/connect/core/grant_types/${MODPY_PYCACHE}refresh_token.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/oauthlib/openid/connect/core/grant_types/authorization_code.py lib/python${MODPY_VERSION}/site-packages/oauthlib/openid/connect/core/grant_types/base.py lib/python${MODPY_VERSION}/site-packages/oauthlib/openid/connect/core/grant_types/dispatchers.py lib/python${MODPY_VERSION}/site-packages/oauthlib/openid/connect/core/grant_types/hybrid.py lib/python${MODPY_VERSION}/site-packages/oauthlib/openid/connect/core/grant_types/implicit.py +lib/python${MODPY_VERSION}/site-packages/oauthlib/openid/connect/core/grant_types/refresh_token.py lib/python${MODPY_VERSION}/site-packages/oauthlib/openid/connect/core/request_validator.py lib/python${MODPY_VERSION}/site-packages/oauthlib/openid/connect/core/tokens.py lib/python${MODPY_VERSION}/site-packages/oauthlib/signals.py