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:           Wed Oct 19 13:39:33 UTC 2016

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

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/security/py-requests-oauthlib/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/security/py-requests-oauthlib/PLIST \
    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.5 pkgsrc/security/py-requests-oauthlib/Makefile:1.6
--- pkgsrc/security/py-requests-oauthlib/Makefile:1.5   Fri Nov  6 11:01:38 2015
+++ pkgsrc/security/py-requests-oauthlib/Makefile       Wed Oct 19 13:39:33 2016
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2015/11/06 11:01:38 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2016/10/19 13:39:33 wiz Exp $
 
-DISTNAME=      requests-oauthlib-0.5.0
+DISTNAME=      requests-oauthlib-0.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/requests-oauthlib/}
@@ -14,8 +14,7 @@ USE_LANGUAGES=        # none
 
 DEPENDS+=      ${PYPKGPREFIX}-requests>=2.2.0:../../devel/py-requests
 DEPENDS+=      ${PYPKGPREFIX}-oauthlib>=0.6.1:../../security/py-oauthlib
-# one test failure:
-# https://github.com/requests/requests-oauthlib/issues/203
+# BUILD_DEPENDS+=requests-mock
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-pbr>=0.11:../../devel/py-pbr
 

Index: pkgsrc/security/py-requests-oauthlib/PLIST
diff -u pkgsrc/security/py-requests-oauthlib/PLIST:1.3 pkgsrc/security/py-requests-oauthlib/PLIST:1.4
--- pkgsrc/security/py-requests-oauthlib/PLIST:1.3      Fri Nov  6 11:01:38 2015
+++ pkgsrc/security/py-requests-oauthlib/PLIST  Wed Oct 19 13:39:33 2016
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2015/11/06 11:01:38 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2016/10/19 13:39:33 wiz Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -20,6 +20,12 @@ ${PYSITELIB}/requests_oauthlib/complianc
 ${PYSITELIB}/requests_oauthlib/compliance_fixes/linkedin.py
 ${PYSITELIB}/requests_oauthlib/compliance_fixes/linkedin.pyc
 ${PYSITELIB}/requests_oauthlib/compliance_fixes/linkedin.pyo
+${PYSITELIB}/requests_oauthlib/compliance_fixes/mailchimp.py
+${PYSITELIB}/requests_oauthlib/compliance_fixes/mailchimp.pyc
+${PYSITELIB}/requests_oauthlib/compliance_fixes/mailchimp.pyo
+${PYSITELIB}/requests_oauthlib/compliance_fixes/slack.py
+${PYSITELIB}/requests_oauthlib/compliance_fixes/slack.pyc
+${PYSITELIB}/requests_oauthlib/compliance_fixes/slack.pyo
 ${PYSITELIB}/requests_oauthlib/compliance_fixes/weibo.py
 ${PYSITELIB}/requests_oauthlib/compliance_fixes/weibo.pyc
 ${PYSITELIB}/requests_oauthlib/compliance_fixes/weibo.pyo
Index: pkgsrc/security/py-requests-oauthlib/distinfo
diff -u pkgsrc/security/py-requests-oauthlib/distinfo:1.3 pkgsrc/security/py-requests-oauthlib/distinfo:1.4
--- pkgsrc/security/py-requests-oauthlib/distinfo:1.3   Fri Nov  6 11:01:38 2015
+++ pkgsrc/security/py-requests-oauthlib/distinfo       Wed Oct 19 13:39:33 2016
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/06 11:01:38 wiz Exp $
+$NetBSD: distinfo,v 1.4 2016/10/19 13:39:33 wiz Exp $
 
-SHA1 (requests-oauthlib-0.5.0.tar.gz) = 78cc412d77c46fc52a817a8c777df715b7017637
-RMD160 (requests-oauthlib-0.5.0.tar.gz) = 53561904e81e2a8fb167c0a969d0e0e524b3e034
-SHA512 (requests-oauthlib-0.5.0.tar.gz) = 3e68a721df07a2aa21c9a730683473d2e48709a3c8dce794c8c15547017288c88fa2450a534b464d19407eccfca1a7d534211c14ee4f3d49d5ba4c3339510aec
-Size (requests-oauthlib-0.5.0.tar.gz) = 54024 bytes
+SHA1 (requests-oauthlib-0.7.0.tar.gz) = 7bef0dfed117982efeb258c97d5f644481ca5f02
+RMD160 (requests-oauthlib-0.7.0.tar.gz) = 530a12769b6ed4ab9e187a9bde68a858447921b8
+SHA512 (requests-oauthlib-0.7.0.tar.gz) = 97734dddcb1ffef5dbe8e1748489fdad2e097a9f167193be513ce33535fe094b37e74a4fbd6a625b0e0e447ca115749e7ed56a37d856c232afd07d6b60e86c03
+Size (requests-oauthlib-0.7.0.tar.gz) = 82847 bytes



Home | Main Index | Thread Index | Old Index