diff options
author | imil <imil@pkgsrc.org> | 2014-05-08 15:18:10 +0000 |
---|---|---|
committer | imil <imil@pkgsrc.org> | 2014-05-08 15:18:10 +0000 |
commit | 121ac82c50936c36627d122d26d7aadc59bbbf34 (patch) | |
tree | 0b7cffd3cafb405089db85c34c06559f8fb57162 /security | |
parent | 766a19aea2ac7d6574fbe359be93983dccbf6793 (diff) | |
download | pkgsrc-121ac82c50936c36627d122d26d7aadc59bbbf34.tar.gz |
Initial import of py-oauthlib, version 0.6.1, into the NetBSD Packages
Collection.
OAuth often seems complicated and difficult-to-implement. There are several
prominent libraries for handling OAuth requests, but they all suffer from one
or both of the following:
* They predate the OAuth 1.0 spec, AKA RFC 5849.
* They predate the OAuth 2.0 spec, AKA RFC 6749.
* They assume the usage of a specific HTTP request library.
OAuthLib is a generic utility which implements the logic of OAuth without
assuming a specific HTTP request object or web framework. Use it to graft OAuth
client support onto your favorite HTTP library, or provider support onto your
favourite web framework. If you're a maintainer of such a library, write a thin
veneer on top of OAuthLib and get OAuth support for very little effort.
Diffstat (limited to 'security')
-rw-r--r-- | security/py-oauthlib/DESCR | 13 | ||||
-rw-r--r-- | security/py-oauthlib/Makefile | 16 | ||||
-rw-r--r-- | security/py-oauthlib/PLIST | 138 | ||||
-rw-r--r-- | security/py-oauthlib/distinfo | 5 |
4 files changed, 172 insertions, 0 deletions
diff --git a/security/py-oauthlib/DESCR b/security/py-oauthlib/DESCR new file mode 100644 index 00000000000..3e0beb05d48 --- /dev/null +++ b/security/py-oauthlib/DESCR @@ -0,0 +1,13 @@ +OAuth often seems complicated and difficult-to-implement. There are several +prominent libraries for handling OAuth requests, but they all suffer from one +or both of the following: + + * They predate the OAuth 1.0 spec, AKA RFC 5849. + * They predate the OAuth 2.0 spec, AKA RFC 6749. + * They assume the usage of a specific HTTP request library. + +OAuthLib is a generic utility which implements the logic of OAuth without +assuming a specific HTTP request object or web framework. Use it to graft OAuth +client support onto your favorite HTTP library, or provider support onto your +favourite web framework. If you're a maintainer of such a library, write a thin +veneer on top of OAuthLib and get OAuth support for very little effort. diff --git a/security/py-oauthlib/Makefile b/security/py-oauthlib/Makefile new file mode 100644 index 00000000000..d50f7c571ed --- /dev/null +++ b/security/py-oauthlib/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1 2014/05/08 15:18:10 imil Exp $ + +DISTNAME= oauthlib-0.6.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= security +MASTER_SITES= https://pypi.python.org/packages/source/o/oauthlib/ + +MAINTAINER= imil@NetBSD.org +HOMEPAGE= https://pypi.python.org/pypi/oauthlib +COMMENT= Generic implementation of the OAuth request-signing logic +LICENSE= original-bsd + +USE_LANGUAGES= # none + +.include "../../lang/python/distutils.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/py-oauthlib/PLIST b/security/py-oauthlib/PLIST new file mode 100644 index 00000000000..044d09d49b1 --- /dev/null +++ b/security/py-oauthlib/PLIST @@ -0,0 +1,138 @@ +@comment $NetBSD: PLIST,v 1.1 2014/05/08 15:18:10 imil Exp $ +${PYSITELIB}/${EGG_FILE}/PKG-INFO +${PYSITELIB}/${EGG_FILE}/SOURCES.txt +${PYSITELIB}/${EGG_FILE}/dependency_links.txt +${PYSITELIB}/${EGG_FILE}/requires.txt +${PYSITELIB}/${EGG_FILE}/top_level.txt +${PYSITELIB}/oauthlib/__init__.py +${PYSITELIB}/oauthlib/__init__.pyc +${PYSITELIB}/oauthlib/__init__.pyo +${PYSITELIB}/oauthlib/common.pyc +${PYSITELIB}/oauthlib/common.pyo +${PYSITELIB}/oauthlib/uri_validate.pyc +${PYSITELIB}/oauthlib/uri_validate.pyo +${PYSITELIB}/oauthlib/common.py +${PYSITELIB}/oauthlib/oauth1/__init__.py +${PYSITELIB}/oauthlib/oauth1/__init__.pyc +${PYSITELIB}/oauthlib/oauth1/__init__.pyo +${PYSITELIB}/oauthlib/oauth1/rfc5849/__init__.py +${PYSITELIB}/oauthlib/oauth1/rfc5849/__init__.pyc +${PYSITELIB}/oauthlib/oauth1/rfc5849/__init__.pyo +${PYSITELIB}/oauthlib/oauth1/rfc5849/errors.pyc +${PYSITELIB}/oauthlib/oauth1/rfc5849/errors.pyo +${PYSITELIB}/oauthlib/oauth1/rfc5849/parameters.pyc +${PYSITELIB}/oauthlib/oauth1/rfc5849/parameters.pyo +${PYSITELIB}/oauthlib/oauth1/rfc5849/request_validator.pyc +${PYSITELIB}/oauthlib/oauth1/rfc5849/request_validator.pyo +${PYSITELIB}/oauthlib/oauth1/rfc5849/signature.pyc +${PYSITELIB}/oauthlib/oauth1/rfc5849/signature.pyo +${PYSITELIB}/oauthlib/oauth1/rfc5849/utils.pyc +${PYSITELIB}/oauthlib/oauth1/rfc5849/utils.pyo +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/__init__.py +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/__init__.pyc +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/__init__.pyo +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/access_token.pyc +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/access_token.pyo +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/authorization.pyc +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/authorization.pyo +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/base.pyc +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/base.pyo +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/pre_configured.pyc +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/pre_configured.pyo +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/request_token.pyc +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/request_token.pyo +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/resource.pyc +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/resource.pyo +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/access_token.py +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/authorization.py +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/base.py +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/pre_configured.py +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/request_token.py +${PYSITELIB}/oauthlib/oauth1/rfc5849/endpoints/resource.py +${PYSITELIB}/oauthlib/oauth1/rfc5849/errors.py +${PYSITELIB}/oauthlib/oauth1/rfc5849/parameters.py +${PYSITELIB}/oauthlib/oauth1/rfc5849/request_validator.py +${PYSITELIB}/oauthlib/oauth1/rfc5849/signature.py +${PYSITELIB}/oauthlib/oauth1/rfc5849/utils.py +${PYSITELIB}/oauthlib/oauth2/__init__.py +${PYSITELIB}/oauthlib/oauth2/__init__.pyc +${PYSITELIB}/oauthlib/oauth2/__init__.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/__init__.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/__init__.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/__init__.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/errors.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/errors.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/parameters.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/parameters.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/request_validator.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/request_validator.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/tokens.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/tokens.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/utils.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/utils.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/clients/__init__.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/clients/__init__.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/clients/__init__.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/clients/backend_application.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/clients/backend_application.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/clients/base.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/clients/base.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/clients/legacy_application.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/clients/legacy_application.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/clients/mobile_application.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/clients/mobile_application.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/clients/web_application.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/clients/web_application.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/clients/backend_application.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/clients/base.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/clients/legacy_application.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/clients/mobile_application.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/clients/web_application.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/__init__.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/__init__.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/__init__.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/authorization.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/authorization.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/base.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/base.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/pre_configured.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/pre_configured.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/resource.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/resource.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/revocation.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/revocation.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/token.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/token.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/authorization.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/base.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/pre_configured.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/resource.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/revocation.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/token.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/errors.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/__init__.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/__init__.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/__init__.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/authorization_code.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/authorization_code.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/base.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/base.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/client_credentials.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/client_credentials.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/implicit.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/implicit.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/refresh_token.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/refresh_token.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/resource_owner_password_credentials.pyc +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/resource_owner_password_credentials.pyo +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/base.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/implicit.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/refresh_token.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/resource_owner_password_credentials.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/parameters.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/request_validator.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/tokens.py +${PYSITELIB}/oauthlib/oauth2/rfc6749/utils.py +${PYSITELIB}/oauthlib/uri_validate.py diff --git a/security/py-oauthlib/distinfo b/security/py-oauthlib/distinfo new file mode 100644 index 00000000000..e154a51351a --- /dev/null +++ b/security/py-oauthlib/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/05/08 15:18:10 imil Exp $ + +SHA1 (oauthlib-0.6.1.tar.gz) = be0412f3c9ee3ceb67ee065a71e9c9c734a839c1 +RMD160 (oauthlib-0.6.1.tar.gz) = 8dfcf16a212a78f78654417484d6c21e84f8ad8f +Size (oauthlib-0.6.1.tar.gz) = 96405 bytes |