pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-oauthlib



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jun 25 21:00:13 UTC 2021

Modified Files:
        pkgsrc/security/py-oauthlib: Makefile PLIST distinfo

Log Message:
py-oauthlib: updated to 3.1.1

3.1.1 (2021-05-31)
------------------
OAuth2.0 Provider - Bugfixes

  * Fix acceptance of valid IPv6 addresses in URI validation

OAuth2.0 Client - Bugfixes

  * Base OAuth2 Client now has a consistent way of managing the `scope`: it consistently
    relies on the `scope` provided in the constructor if any, except if overridden temporarily
    in a method call. Note that in particular providing a non-None `scope` in
    `prepare_authorization_request` or `prepare_refresh_token` does not override anymore
    `self.scope` forever, it is just used temporarily.
  * MobileApplicationClient.prepare_request_uri and MobileApplicationClient.parse_request_uri_response,
    ServiceApplicationClient.prepare_request_body,
    and WebApplicationClient.prepare_request_uri now correctly use the default `scope` provided in
    constructor.
  * LegacyApplicationClient.prepare_request_body now correctly uses the default `scope` provided in constructor

OAuth2.0 Provider - Bugfixes
  * client_credentials grant: fix log message
  * OpenID Connect Hybrid - fix nonce not passed to add_id_token
  * Different prompt values are now handled according to spec (e.g. prompt=none)
  * OpenID Connect - fix Authorization: Basic parsing

General
  * improved skeleton validator for public vs private client
  * replace mock library with standard unittest.mock
  * build isort integration
  * python2 code removal
  * add python3.8 support
  * bump minimum versions of pyjwt and cryptography


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/security/py-oauthlib/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/security/py-oauthlib/PLIST
cvs rdiff -u -r1.18 -r1.19 pkgsrc/security/py-oauthlib/distinfo

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

Modified files:

Index: pkgsrc/security/py-oauthlib/Makefile
diff -u pkgsrc/security/py-oauthlib/Makefile:1.20 pkgsrc/security/py-oauthlib/Makefile:1.21
--- pkgsrc/security/py-oauthlib/Makefile:1.20   Sun Mar  7 17:16:19 2021
+++ pkgsrc/security/py-oauthlib/Makefile        Fri Jun 25 21:00:12 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2021/03/07 17:16:19 adam Exp $
+# $NetBSD: Makefile,v 1.21 2021/06/25 21:00:12 adam Exp $
 
-DISTNAME=      oauthlib-3.1.0
+DISTNAME=      oauthlib-3.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=o/oauthlib/}
@@ -10,15 +10,13 @@ HOMEPAGE=   https://github.com/oauthlib/oa
 COMMENT=       Generic implementation of the OAuth request-signing logic
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-JWT>=1.0.0:../../textproc/py-JWT
+DEPENDS+=      ${PYPKGPREFIX}-JWT>=2.0.0:../../textproc/py-JWT
 DEPENDS+=      ${PYPKGPREFIX}-blinker-[0-9]*:../../devel/py-blinker
 DEPENDS+=      ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
-TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-JWT
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/security/py-oauthlib/PLIST
diff -u pkgsrc/security/py-oauthlib/PLIST:1.7 pkgsrc/security/py-oauthlib/PLIST:1.8
--- pkgsrc/security/py-oauthlib/PLIST:1.7       Mon Aug 12 07:45:23 2019
+++ pkgsrc/security/py-oauthlib/PLIST   Fri Jun 25 21:00:12 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2019/08/12 07:45:23 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2021/06/25 21:00:12 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -178,9 +178,6 @@ ${PYSITELIB}/oauthlib/openid/connect/cor
 ${PYSITELIB}/oauthlib/openid/connect/core/grant_types/dispatchers.py
 ${PYSITELIB}/oauthlib/openid/connect/core/grant_types/dispatchers.pyc
 ${PYSITELIB}/oauthlib/openid/connect/core/grant_types/dispatchers.pyo
-${PYSITELIB}/oauthlib/openid/connect/core/grant_types/exceptions.py
-${PYSITELIB}/oauthlib/openid/connect/core/grant_types/exceptions.pyc
-${PYSITELIB}/oauthlib/openid/connect/core/grant_types/exceptions.pyo
 ${PYSITELIB}/oauthlib/openid/connect/core/grant_types/hybrid.py
 ${PYSITELIB}/oauthlib/openid/connect/core/grant_types/hybrid.pyc
 ${PYSITELIB}/oauthlib/openid/connect/core/grant_types/hybrid.pyo

Index: pkgsrc/security/py-oauthlib/distinfo
diff -u pkgsrc/security/py-oauthlib/distinfo:1.18 pkgsrc/security/py-oauthlib/distinfo:1.19
--- pkgsrc/security/py-oauthlib/distinfo:1.18   Mon Aug 12 07:45:23 2019
+++ pkgsrc/security/py-oauthlib/distinfo        Fri Jun 25 21:00:12 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.18 2019/08/12 07:45:23 adam Exp $
+$NetBSD: distinfo,v 1.19 2021/06/25 21:00:12 adam Exp $
 
-SHA1 (oauthlib-3.1.0.tar.gz) = a61703d89f11dd35ec76dd8097aa8ce3a5373e00
-RMD160 (oauthlib-3.1.0.tar.gz) = 9f860862bed7fda84d53f2882cef33dc15133dc8
-SHA512 (oauthlib-3.1.0.tar.gz) = c295de232e0215532c501d8f0803bd501a15fe89a746179ba4facca878e4927c8c05f07825f483c4a846922fb49d6d89f559a8b49bb72b19903f902d772b790e
-Size (oauthlib-3.1.0.tar.gz) = 155362 bytes
+SHA1 (oauthlib-3.1.1.tar.gz) = f6efa66f6106b069b5c0e0cf8cc677e4e96c91ca
+RMD160 (oauthlib-3.1.1.tar.gz) = 1ee81d217311e971298be031730cc72a5dc4bafd
+SHA512 (oauthlib-3.1.1.tar.gz) = 1c18f265a6017a6f2bf77507f5de095b439be36f309316993b547ded0f306461b058dcb85dc245bf26f65a9c77be44ca38f9053f3300a9b5cb92332b61a7f307
+Size (oauthlib-3.1.1.tar.gz) = 161395 bytes



Home | Main Index | Thread Index | Old Index