summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-10-19 13:39:33 +0000
committerwiz <wiz@pkgsrc.org>2016-10-19 13:39:33 +0000
commit621e121c1275bf40485705401e1c2c2c9ee5b60a (patch)
treed76ac1762a366444c2ab85f812cbcbc21199851c /security
parent1b940b1cd743e40d653e0eedde639ec85825f4b9 (diff)
downloadpkgsrc-621e121c1275bf40485705401e1c2c2c9ee5b60a.tar.gz
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.
Diffstat (limited to 'security')
-rw-r--r--security/py-requests-oauthlib/Makefile7
-rw-r--r--security/py-requests-oauthlib/PLIST8
-rw-r--r--security/py-requests-oauthlib/distinfo10
3 files changed, 15 insertions, 10 deletions
diff --git a/security/py-requests-oauthlib/Makefile b/security/py-requests-oauthlib/Makefile
index ac4f9e2ce6a..0a734450152 100644
--- a/security/py-requests-oauthlib/Makefile
+++ b/security/py-requests-oauthlib/Makefile
@@ -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
diff --git a/security/py-requests-oauthlib/PLIST b/security/py-requests-oauthlib/PLIST
index ef59c2759ea..b1787877963 100644
--- a/security/py-requests-oauthlib/PLIST
+++ b/security/py-requests-oauthlib/PLIST
@@ -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/compliance_fixes/facebook.pyo
${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
diff --git a/security/py-requests-oauthlib/distinfo b/security/py-requests-oauthlib/distinfo
index f18833a676b..5808b7d95ce 100644
--- a/security/py-requests-oauthlib/distinfo
+++ b/security/py-requests-oauthlib/distinfo
@@ -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