4c83655e78
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.
23 lines
775 B
Makefile
23 lines
775 B
Makefile
# $NetBSD: Makefile,v 1.5 2015/11/06 11:01:38 wiz Exp $
|
|
|
|
DISTNAME= requests-oauthlib-0.5.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= security
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests-oauthlib/}
|
|
|
|
MAINTAINER= imil@NetBSD.org
|
|
HOMEPAGE= https://github.com/requests/requests-oauthlib
|
|
COMMENT= OAuthlib support for Python-Requests
|
|
LICENSE= mit
|
|
|
|
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+= ${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"
|