pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-requests-oauthlib



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Mar 17 14:08:17 UTC 2024

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

Log Message:
py-requests-oauthlib: update to 1.4.0.

v1.4.0 (27 Feb 2024)
++++++++++++++++++++++++

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


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/security/py-requests-oauthlib/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/security/py-requests-oauthlib/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/security/py-requests-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-requests-oauthlib/Makefile
diff -u pkgsrc/security/py-requests-oauthlib/Makefile:1.14 pkgsrc/security/py-requests-oauthlib/Makefile:1.15
--- pkgsrc/security/py-requests-oauthlib/Makefile:1.14  Tue Nov  7 22:38:03 2023
+++ pkgsrc/security/py-requests-oauthlib/Makefile       Sun Mar 17 14:08:17 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2023/11/07 22:38:03 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2024/03/17 14:08:17 wiz Exp $
 
-DISTNAME=      requests-oauthlib-1.3.1
+DISTNAME=      requests-oauthlib-1.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/requests-oauthlib/}
@@ -10,6 +10,8 @@ HOMEPAGE=     https://github.com/requests/re
 COMMENT=       OAuthlib support for Python-Requests
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-oauthlib>=3.0.0:../../security/py-oauthlib
 DEPENDS+=      ${PYPKGPREFIX}-requests>=2.2.0:../../devel/py-requests
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
@@ -19,5 +21,5 @@ USE_LANGUAGES=        # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27 38
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/security/py-requests-oauthlib/PLIST
diff -u pkgsrc/security/py-requests-oauthlib/PLIST:1.8 pkgsrc/security/py-requests-oauthlib/PLIST:1.9
--- pkgsrc/security/py-requests-oauthlib/PLIST:1.8      Sun Feb  6 19:04:17 2022
+++ pkgsrc/security/py-requests-oauthlib/PLIST  Sun Mar 17 14:08:17 2024
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.8 2022/02/06 19:04:17 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.9 2024/03/17 14:08:17 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/requests_oauthlib/__init__.py
 ${PYSITELIB}/requests_oauthlib/__init__.pyc
 ${PYSITELIB}/requests_oauthlib/__init__.pyo

Index: pkgsrc/security/py-requests-oauthlib/distinfo
diff -u pkgsrc/security/py-requests-oauthlib/distinfo:1.11 pkgsrc/security/py-requests-oauthlib/distinfo:1.12
--- pkgsrc/security/py-requests-oauthlib/distinfo:1.11  Sun Feb  6 19:04:17 2022
+++ pkgsrc/security/py-requests-oauthlib/distinfo       Sun Mar 17 14:08:17 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2022/02/06 19:04:17 adam Exp $
+$NetBSD: distinfo,v 1.12 2024/03/17 14:08:17 wiz Exp $
 
-BLAKE2s (requests-oauthlib-1.3.1.tar.gz) = 430230dfa462afb14901f2040b19bc1121f090c0189c2addf25e101947ee3762
-SHA512 (requests-oauthlib-1.3.1.tar.gz) = fb4b52edf5f3e4f82f9bedc13b4bc4032e629fd17fef62e72c9eeb734d1963c08c081c9a96db464539637c678e1f5b7f4bf9bb618a8bc1b6aa2024c7b5c620ea
-Size (requests-oauthlib-1.3.1.tar.gz) = 52027 bytes
+BLAKE2s (requests-oauthlib-1.4.0.tar.gz) = d521e95465c4216e13ff26ffcb0d9804c155e55c7905cb62b253d1a83c5aed1c
+SHA512 (requests-oauthlib-1.4.0.tar.gz) = 20a0e097de1c7c895725d551efcb614cc6fa3acf26798e2282f1ed7dc577fa54496d6d0e45f14d4fefa967e4545cc62c20a07eacdb367bbb06ac822518d0c383
+Size (requests-oauthlib-1.4.0.tar.gz) = 55616 bytes



Home | Main Index | Thread Index | Old Index