summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-01-16 09:39:40 +0000
committeradam <adam@pkgsrc.org>2019-01-16 09:39:40 +0000
commit3f7e7ed9946dc1996dac7a41f2947167b0d4c5e5 (patch)
tree708d4a6439ad4c6ca1f9b3f39c508fab4e9a987a
parentcae1b823dafbc9f8937f1e049f0fe0a327d7ebb1 (diff)
downloadpkgsrc-3f7e7ed9946dc1996dac7a41f2947167b0d4c5e5.tar.gz
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.
-rw-r--r--security/py-requests-oauthlib/Makefile17
-rw-r--r--security/py-requests-oauthlib/distinfo10
2 files changed, 13 insertions, 14 deletions
diff --git a/security/py-requests-oauthlib/Makefile b/security/py-requests-oauthlib/Makefile
index a30b06841d1..8695081bd4a 100644
--- a/security/py-requests-oauthlib/Makefile
+++ b/security/py-requests-oauthlib/Makefile
@@ -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
@@ -10,13 +10,12 @@ HOMEPAGE= https://github.com/requests/requests-oauthlib
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"
diff --git a/security/py-requests-oauthlib/distinfo b/security/py-requests-oauthlib/distinfo
index 8ff41058ab1..a16fc3ca03f 100644
--- a/security/py-requests-oauthlib/distinfo
+++ b/security/py-requests-oauthlib/distinfo
@@ -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