head 1.15; access; symbols pkgsrc-2023Q4:1.14.0.2 pkgsrc-2023Q4-base:1.14 pkgsrc-2023Q3:1.13.0.14 pkgsrc-2023Q3-base:1.13 pkgsrc-2023Q2:1.13.0.12 pkgsrc-2023Q2-base:1.13 pkgsrc-2023Q1:1.13.0.10 pkgsrc-2023Q1-base:1.13 pkgsrc-2022Q4:1.13.0.8 pkgsrc-2022Q4-base:1.13 pkgsrc-2022Q3:1.13.0.6 pkgsrc-2022Q3-base:1.13 pkgsrc-2022Q2:1.13.0.4 pkgsrc-2022Q2-base:1.13 pkgsrc-2022Q1:1.13.0.2 pkgsrc-2022Q1-base:1.13 pkgsrc-2021Q4:1.11.0.8 pkgsrc-2021Q4-base:1.11 pkgsrc-2021Q3:1.11.0.6 pkgsrc-2021Q3-base:1.11 pkgsrc-2021Q2:1.11.0.4 pkgsrc-2021Q2-base:1.11 pkgsrc-2021Q1:1.11.0.2 pkgsrc-2021Q1-base:1.11 pkgsrc-2020Q4:1.10.0.10 pkgsrc-2020Q4-base:1.10 pkgsrc-2020Q3:1.10.0.8 pkgsrc-2020Q3-base:1.10 pkgsrc-2020Q2:1.10.0.6 pkgsrc-2020Q2-base:1.10 pkgsrc-2020Q1:1.10.0.2 pkgsrc-2020Q1-base:1.10 pkgsrc-2019Q4:1.10.0.4 pkgsrc-2019Q4-base:1.10 pkgsrc-2019Q3:1.9.0.6 pkgsrc-2019Q3-base:1.9 pkgsrc-2019Q2:1.9.0.4 pkgsrc-2019Q2-base:1.9 pkgsrc-2019Q1:1.9.0.2 pkgsrc-2019Q1-base:1.9 pkgsrc-2018Q4:1.8.0.6 pkgsrc-2018Q4-base:1.8 pkgsrc-2018Q3:1.8.0.4 pkgsrc-2018Q3-base:1.8 pkgsrc-2018Q2:1.8.0.2 pkgsrc-2018Q2-base:1.8 pkgsrc-2018Q1:1.7.0.12 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.10 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.8 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.4 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.2 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.6.0.2 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.5.0.8 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.6 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.4 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.2 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.3.0.6 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.4 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.2 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.2.0.6 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.4 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.2 pkgsrc-2014Q2-base:1.2; locks; strict; comment @# @; 1.15 date 2024.03.17.14.08.17; author wiz; state Exp; branches; next 1.14; commitid vbknjusm0TAzhw2F; 1.14 date 2023.11.07.22.38.03; author wiz; state Exp; branches; next 1.13; commitid 0SUcCzviRXnrjJLE; 1.13 date 2022.02.06.19.04.17; author adam; state Exp; branches; next 1.12; commitid LFKTi4M2jNKAFArD; 1.12 date 2022.01.04.20.54.44; author wiz; state Exp; branches; next 1.11; commitid CYyhdK9qtoffkmnD; 1.11 date 2021.03.07.17.16.51; author adam; state Exp; branches; next 1.10; commitid GnIr1TuV5sfqSoKC; 1.10 date 2019.11.07.13.34.36; author adam; state Exp; branches; next 1.9; commitid GEAzU6UZul8CgVJB; 1.9 date 2019.01.16.09.39.40; author adam; state Exp; branches; next 1.8; commitid xREA4MUvwopVrZ7B; 1.8 date 2018.06.17.08.39.43; author wiz; state Exp; branches; next 1.7; commitid U6RAL5gNjCJVXBGA; 1.7 date 2017.02.20.10.00.08; author wiz; state Exp; branches; next 1.6; commitid dy5XHW7WV4a5UFGz; 1.6 date 2016.10.19.13.39.33; author wiz; state Exp; branches; next 1.5; commitid gjU74a2EEO8u6Lqz; 1.5 date 2015.11.06.11.01.38; author wiz; state Exp; branches; next 1.4; commitid mAc50YnqfbwNp1Iy; 1.4 date 2015.11.06.10.56.30; author wiz; state Exp; branches; next 1.3; commitid 2oEJlMuRkrf3o1Iy; 1.3 date 2014.12.31.13.57.29; author wiz; state Exp; branches; next 1.2; commitid ybQxkgXABHSTlc4y; 1.2 date 2014.05.13.17.08.45; author joerg; state Exp; branches; next 1.1; commitid GvX7naEQL9iTRoAx; 1.1 date 2014.05.08.15.25.54; author imil; state Exp; branches; next ; commitid GtX4L3hlyqHosKzx; desc @@ 1.15 log @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 `_. - ``OAuth2Session`` constructor now uses its ``client.scope`` when a ``client`` is provided and ``scope`` is not overridden. Fixes `#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 @ text @# $NetBSD: Makefile,v 1.14 2023/11/07 22:38:03 wiz Exp $ DISTNAME= requests-oauthlib-1.4.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= security python MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests-oauthlib/} MAINTAINER= imil@@NetBSD.org HOMEPAGE= https://github.com/requests/requests-oauthlib 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 TEST_DEPENDS+= ${PYPKGPREFIX}-requests-mock-[0-9]*:../../devel/py-requests-mock USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 38 .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.14 log @*: latest py-sphinx only support Python 3.9+ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2022/02/06 19:04:17 adam Exp $ d3 1 a3 1 DISTNAME= requests-oauthlib-1.3.1 d13 2 d24 1 a24 1 .include "../../lang/python/egg.mk" @ 1.13 log @py-requests-oauthlib: updated to 1.3.1 v1.3.1 (21 January 2022) - Add initial support for OAuth Mutual TLS (draft-ietf-oauth-mtls) - Add eBay compliance fix - Add Spotify OAuth 2 Tutorial - Add support for python 3.8, 3.9 - Fixed LinkedIn Compliance Fixes - Fixed ReadTheDocs Documentation and sphinx errors - Moved pipeline to GitHub Actions @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2022/01/04 20:54:44 wiz Exp $ d20 1 a20 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-JWT @ 1.12 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2021/03/07 17:16:51 adam Exp $ d3 1 a3 1 DISTNAME= requests-oauthlib-1.3.0 a4 1 PKGREVISION= 1 @ 1.11 log @py-requests-oauthlib: mark as incompatible with Python 2.7 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2019/11/07 13:34:36 adam Exp $ d5 1 @ 1.10 log @py-requests-oauthlib: updated to 1.3.0 1.3.0: - Instagram compliance fix - Added ``force_querystring`` argument to fetch_token() method on OAuth2Session @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2019/01/16 09:39:40 adam Exp $ d20 2 @ 1.9 log @py-requests-oauthlib: updated to 1.2.0 v1.2.0: This project now depends on OAuthlib 3.0.0 and above. It does not support versions of OAuthlib before 3.0.0. Updated oauth2 tests to use 'sess' for an OAuth2Session instance instead of auth because OAuth2Session objects and methods acceept an auth paramether which is typically an instance of requests.auth.HTTPBasicAuth OAuth2Session.fetch_token previously tried to guess how and where to provide "client" and "user" credentials incorrectly. This was incompatible with some OAuth servers and incompatible with breaking changes in oauthlib that seek to correctly provide the client_id. The older implementation also did not raise the correct exceptions when username and password are not present on Legacy clients. Avoid automatic netrc authentication for OAuth2Session. v1.1.0: Adjusted version specifier for oauthlib dependency: this project is not yet compatible with oauthlib 3.0.0. Dropped dependency on nose. Minor changes to clean up the code and make it more readable/maintainable. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2018/06/17 08:39:43 wiz Exp $ d3 1 a3 1 DISTNAME= requests-oauthlib-1.2.0 @ 1.8 log @py-requests-oauthlib: update to 1.0.0. v1.0.0 (4 June 2018) ++++++++++++++++++++ - **Removed support for Python 2.6 and Python 3.3.** This project now supports Python 2.7, and Python 3.4 and above. - Added several examples to the documentation. - Added plentymarkets compliance fix. - Added a ``token`` property to OAuth1Session, to match the corresponding ``token`` property on OAuth2Session. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2017/02/20 10:00:08 wiz Exp $ d3 1 a3 1 DISTNAME= requests-oauthlib-1.0.0 d5 1 a5 1 CATEGORIES= security d13 5 a19 6 DEPENDS+= ${PYPKGPREFIX}-requests>=2.2.0:../../devel/py-requests DEPENDS+= ${PYPKGPREFIX}-oauthlib>=0.6.1:../../security/py-oauthlib BUILD_DEPENDS+= ${PYPKGPREFIX}-requests-mock-[0-9]*:../../devel/py-requests-mock BUILD_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock BUILD_DEPENDS+= ${PYPKGPREFIX}-pbr>=0.11:../../devel/py-pbr @ 1.7 log @Updated py-requests-oauthlib to 0.8.0. v0.8.0 (14 February 2017) +++++++++++++++++++++++++ - Added Fitbit compliance fix. - Fixed an issue where newlines in the response body for the access token request would cause errors when trying to extract the token. - Fixed an issue introduced in v0.7.0 where users passing ``auth`` to several methods would encounter conflicts with the ``client_id`` and ``client_secret``-derived auth. The user-supplied ``auth`` argument is now used in preference to those options. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2016/10/19 13:39:33 wiz Exp $ d3 1 a3 1 DISTNAME= requests-oauthlib-0.8.0 d17 1 a17 1 # BUILD_DEPENDS+=requests-mock @ 1.6 log @Updated py-requests-oauthlib to 0.7.0. v0.7.0 (22 September 2016) ++++++++++++++++++++++++++ - Allowed ``OAuth2Session.request`` to take the ``client_id`` and ``client_secret`` parameters for the purposes of automatic token refresh, which may need them. v0.6.2 (12 July 2016) +++++++++++++++++++++ - Use ``client_id`` and ``client_secret`` for the Authorization header if provided. - Allow explicit bypass of the Authorization header by setting ``auth=False``. - Pass through the ``proxies`` kwarg when refreshing tokens. - Miscellaneous cleanups. v0.6.1 (19 February 2016) +++++++++++++++++++++++++ - Fixed a bug when sending authorization in headers with no username and password present. - Make sure we clear the session token before obtaining a new one. - Some improvements to the Slack compliance fix. - Avoid timing problems around token refresh. - Allow passing arbitrary arguments to requests when calling ``fetch_request_token`` and ``fetch_access_token``. v0.6.0 (14 December 2015) +++++++++++++++++++++++++ - Add compliance fix for Slack. - Add compliance fix for Mailchimp. - ``TokenRequestDenied`` exceptions now carry the entire response, not just the status code. - Pass through keyword arguments when refreshing tokens automatically. - Send authorization in headers, not just body, to maximize compatibility. - More getters/setters available for OAuth2 session client values. - Allow sending custom headers when refreshing tokens, and set some defaults. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2015/11/06 11:01:38 wiz Exp $ d3 1 a3 1 DISTNAME= requests-oauthlib-0.7.0 @ 1.5 log @Updated py-requests-oauthlib to 0.5.0: v0.5.0 (4 May 2015) +++++++++++++++++++ - Fix ``TypeError`` being raised instead of ``TokenMissing`` error. - Raise requests exceptions on 4XX and 5XX responses in the OAuth2 flow. - Avoid ``AttributeError`` when initializing the ``OAuth2Session`` class without complete client information. v0.4.2 ++++++ - New ``authorized`` property on OAuth1Session and OAuth2Session, which allows you to easily determine if the session is already authorized with OAuth tokens or not. - New ``TokenMissing`` and ``VerifierMissing`` exception classes for OAuth1Session: this will make it easier to catch and identify these exceptions. v0.4.1 (6 June 2014) ++++++++++++++++++++ - New install target ``[rsa]`` for people using OAuth1 RSA-SHA1 signature method. - Fixed bug in OAuth2 where supplied state param was not used in auth url. - OAuth2 HTTPS checking can be disabled by setting environment variable ``OAUTHLIB_INSECURE_TRANSPORT``. - OAuth1 now re-authorize upon redirects. - OAuth1 token fetching now raise a detailed error message when the response body is incorrectly encoded or the request was denied. - Added support for custom OAuth1 clients. - OAuth2 compliance fix for Sina Weibo. - Multiple fixes to facebook compliance fix. - Compliance fixes now re-encode body properly as bytes in Python 3. - Logging now properly done under ``requests_oauthlib`` namespace instead of piggybacking on oauthlib namespace. - Logging introduced for OAuth1 auth and session. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2015/11/06 10:56:30 wiz Exp $ d3 1 a3 1 DISTNAME= requests-oauthlib-0.5.0 d17 1 a17 2 # one test failure: # https://github.com/requests/requests-oauthlib/issues/203 @ 1.4 log @pkglint cleanup. Add commented out test dependencies. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2014/12/31 13:57:29 wiz Exp $ d3 1 a3 1 DISTNAME= requests-oauthlib-0.4.0 d17 4 a20 3 # ImportError: No module named 'tests' #BUILD_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock #BUILD_DEPENDS+= ${PYPKGPREFIX}-pbr>=0.11:../../devel/py-pbr @ 1.3 log @Improve EGG_NAME default to work for packages with '-' in their name. Remove now unnecessary overrides in various packages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2014/05/13 17:08:45 joerg Exp $ d6 1 a6 1 MASTER_SITES= https://pypi.python.org/packages/source/r/requests-oauthlib/ d17 3 @ 1.2 log @Correctly build as Python Egg. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2014/05/08 15:25:54 imil Exp $ a4 1 EGG_NAME= ${DISTNAME:S,-,_,} @ 1.1 log @Initial import of py-requests-oauthlib, version 0.4.0, into the NetBSD Packages Collection. This project provides first-class OAuth library support for Python Requests. @ text @d1 1 a1 1 # $NetBSD$ d5 1 d19 1 a19 1 .include "../../lang/python/distutils.mk" @