summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-11-06 11:01:38 +0000
committerwiz <wiz@pkgsrc.org>2015-11-06 11:01:38 +0000
commit985d7c0618123b0eb34f22f7bbe4793ffdab5854 (patch)
treed0948384b52d9a8e706255b0526e0e4d884133fa /security
parent1ee46c45208c7137fe47f632648a9b48ffff5fc5 (diff)
downloadpkgsrc-985d7c0618123b0eb34f22f7bbe4793ffdab5854.tar.gz
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.
Diffstat (limited to 'security')
-rw-r--r--security/py-requests-oauthlib/Makefile11
-rw-r--r--security/py-requests-oauthlib/PLIST11
-rw-r--r--security/py-requests-oauthlib/distinfo10
3 files changed, 18 insertions, 14 deletions
diff --git a/security/py-requests-oauthlib/Makefile b/security/py-requests-oauthlib/Makefile
index b35a2e2c08c..ac4f9e2ce6a 100644
--- a/security/py-requests-oauthlib/Makefile
+++ b/security/py-requests-oauthlib/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2015/11/06 10:56:30 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2015/11/06 11:01:38 wiz Exp $
-DISTNAME= requests-oauthlib-0.4.0
+DISTNAME= requests-oauthlib-0.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests-oauthlib/}
@@ -14,9 +14,10 @@ USE_LANGUAGES= # none
DEPENDS+= ${PYPKGPREFIX}-requests>=2.2.0:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-oauthlib>=0.6.1:../../security/py-oauthlib
-# ImportError: No module named 'tests'
-#BUILD_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-#BUILD_DEPENDS+= ${PYPKGPREFIX}-pbr>=0.11:../../devel/py-pbr
+# one test failure:
+# https://github.com/requests/requests-oauthlib/issues/203
+BUILD_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+BUILD_DEPENDS+= ${PYPKGPREFIX}-pbr>=0.11:../../devel/py-pbr
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/py-requests-oauthlib/PLIST b/security/py-requests-oauthlib/PLIST
index bfd432bca1c..ef59c2759ea 100644
--- a/security/py-requests-oauthlib/PLIST
+++ b/security/py-requests-oauthlib/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2014/05/13 17:08:45 joerg Exp $
+@comment $NetBSD: PLIST,v 1.3 2015/11/06 11:01:38 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -11,12 +11,18 @@ ${PYSITELIB}/requests_oauthlib/__init__.pyo
${PYSITELIB}/requests_oauthlib/compliance_fixes/__init__.py
${PYSITELIB}/requests_oauthlib/compliance_fixes/__init__.pyc
${PYSITELIB}/requests_oauthlib/compliance_fixes/__init__.pyo
+${PYSITELIB}/requests_oauthlib/compliance_fixes/douban.py
+${PYSITELIB}/requests_oauthlib/compliance_fixes/douban.pyc
+${PYSITELIB}/requests_oauthlib/compliance_fixes/douban.pyo
${PYSITELIB}/requests_oauthlib/compliance_fixes/facebook.py
${PYSITELIB}/requests_oauthlib/compliance_fixes/facebook.pyc
${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/weibo.py
+${PYSITELIB}/requests_oauthlib/compliance_fixes/weibo.pyc
+${PYSITELIB}/requests_oauthlib/compliance_fixes/weibo.pyo
${PYSITELIB}/requests_oauthlib/oauth1_auth.py
${PYSITELIB}/requests_oauthlib/oauth1_auth.pyc
${PYSITELIB}/requests_oauthlib/oauth1_auth.pyo
@@ -29,6 +35,3 @@ ${PYSITELIB}/requests_oauthlib/oauth2_auth.pyo
${PYSITELIB}/requests_oauthlib/oauth2_session.py
${PYSITELIB}/requests_oauthlib/oauth2_session.pyc
${PYSITELIB}/requests_oauthlib/oauth2_session.pyo
-${PYSITELIB}/requests_oauthlib/utils.py
-${PYSITELIB}/requests_oauthlib/utils.pyc
-${PYSITELIB}/requests_oauthlib/utils.pyo
diff --git a/security/py-requests-oauthlib/distinfo b/security/py-requests-oauthlib/distinfo
index 3f2f81836e8..f18833a676b 100644
--- a/security/py-requests-oauthlib/distinfo
+++ b/security/py-requests-oauthlib/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/04 01:18:05 agc Exp $
+$NetBSD: distinfo,v 1.3 2015/11/06 11:01:38 wiz Exp $
-SHA1 (requests-oauthlib-0.4.0.tar.gz) = c86bcc7f5773dede54ee1eb6f606313296ee1ad9
-RMD160 (requests-oauthlib-0.4.0.tar.gz) = 52a276daac9f2f66bc5f96bdcee78fd317bf0858
-SHA512 (requests-oauthlib-0.4.0.tar.gz) = a241b1cbd8435c14fa360710f48f8810bd2f96565ee31e0f613c01e591b41bc4a16ad097a0dd7fbcc232e58ef745b35ae84db36d9caa5e020fb35cb86817b58a
-Size (requests-oauthlib-0.4.0.tar.gz) = 12104 bytes
+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