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:   adam
Date:           Wed Jan 16 09:39:40 UTC 2019

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/security/py-requests-oauthlib/Makefile
cvs rdiff -u -r1.6 -r1.7 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.8 pkgsrc/security/py-requests-oauthlib/Makefile:1.9
--- pkgsrc/security/py-requests-oauthlib/Makefile:1.8   Sun Jun 17 08:39:43 2018
+++ pkgsrc/security/py-requests-oauthlib/Makefile       Wed Jan 16 09:39:40 2019
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2018/06/17 08:39:43 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2019/01/16 09:39:40 adam Exp $
 
-DISTNAME=      requests-oauthlib-1.0.0
+DISTNAME=      requests-oauthlib-1.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    security
+CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/requests-oauthlib/}
 
 MAINTAINER=    imil%NetBSD.org@localhost
@@ -10,13 +10,12 @@ HOMEPAGE=   https://github.com/requests/re
 COMMENT=       OAuthlib support for Python-Requests
 LICENSE=       mit
 
-USE_LANGUAGES= # none
-
+DEPENDS+=      ${PYPKGPREFIX}-oauthlib>=3.0.0:../../security/py-oauthlib
 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
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-requests-mock-[0-9]*:../../devel/py-requests-mock
+
+USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/security/py-requests-oauthlib/distinfo
diff -u pkgsrc/security/py-requests-oauthlib/distinfo:1.6 pkgsrc/security/py-requests-oauthlib/distinfo:1.7
--- pkgsrc/security/py-requests-oauthlib/distinfo:1.6   Sun Jun 17 08:39:43 2018
+++ pkgsrc/security/py-requests-oauthlib/distinfo       Wed Jan 16 09:39:40 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2018/06/17 08:39:43 wiz Exp $
+$NetBSD: distinfo,v 1.7 2019/01/16 09:39:40 adam Exp $
 
-SHA1 (requests-oauthlib-1.0.0.tar.gz) = 4f653efdaa4b1a9683dad4eb676e538cb827b18a
-RMD160 (requests-oauthlib-1.0.0.tar.gz) = 3c2548511c905a2263e8d749bb93ab0eb7ca7b15
-SHA512 (requests-oauthlib-1.0.0.tar.gz) = b1036ca0533383dc5d6297de0cf65c9c705bbdc01b367adba94735424ac262f8e01cc2975da294af31af12c347d4a93b06ac3e18e159a45b3544aa051b2c59c8
-Size (requests-oauthlib-1.0.0.tar.gz) = 74092 bytes
+SHA1 (requests-oauthlib-1.2.0.tar.gz) = 4ee5733f95ba21c7e7ad545584553eee21e7ccf7
+RMD160 (requests-oauthlib-1.2.0.tar.gz) = 2047c81e2ba3c596fa0ce79602d602ff53ce83a9
+SHA512 (requests-oauthlib-1.2.0.tar.gz) = 531cbea898b692864134b83479b3a32b0455def8bbd0b808a118bd63d377c4056e8df9a4943fa4048e5b27e2628641d8818d3bbc71dde91522a3be163da1e719
+Size (requests-oauthlib-1.2.0.tar.gz) = 83381 bytes



Home | Main Index | Thread Index | Old Index