diff options
author | tj <tj@FreeBSD.org> | 2012-06-14 08:36:22 +0800 |
---|---|---|
committer | tj <tj@FreeBSD.org> | 2012-06-14 08:36:22 +0800 |
commit | a1e454c4a64fafb2d396f2c3f1d83f6f2f0a9759 (patch) | |
tree | 8a77fc608d7a4d495a1a73d0c37e9616cbf545a0 /security/py-oauthlib | |
parent | 271af5e9f0a864117a5e09d376f6901b438029d0 (diff) | |
download | freebsd-ports-gnome-a1e454c4a64fafb2d396f2c3f1d83f6f2f0a9759.tar.gz freebsd-ports-gnome-a1e454c4a64fafb2d396f2c3f1d83f6f2f0a9759.tar.zst freebsd-ports-gnome-a1e454c4a64fafb2d396f2c3f1d83f6f2f0a9759.zip |
OAuthLib is a generic Python module which implements the logic of
OAuth without assuming a specific HTTP request object. Use it to graft
OAuth support onto your favorite HTTP library.
WWW: https://github.com/idangazit/oauthlib
PR: ports/168460
Submitted by: koobs <koobs.freebsd@gmail.com>
Approved by: eadler (mentor)
Diffstat (limited to 'security/py-oauthlib')
-rw-r--r-- | security/py-oauthlib/Makefile | 30 | ||||
-rw-r--r-- | security/py-oauthlib/distinfo | 2 | ||||
-rw-r--r-- | security/py-oauthlib/pkg-descr | 5 | ||||
-rw-r--r-- | security/py-oauthlib/pkg-plist | 47 |
4 files changed, 84 insertions, 0 deletions
diff --git a/security/py-oauthlib/Makefile b/security/py-oauthlib/Makefile new file mode 100644 index 000000000000..eb5f13ee5fc4 --- /dev/null +++ b/security/py-oauthlib/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: py-oauthlib +# Date created: 2012-05-23 +# Whom: koobs <koobs.freebsd@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= oauthlib +PORTVERSION= 0.1.3 +CATEGORIES= net python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= koobs.freebsd@gmail.com +COMMENT= An RFC-compliant Python implementation of OAuth + +LICENSE= BSD +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rsa>=0:${PORTSDIR}/security/py-rsa + +USE_PYTHON= yes +USE_PYDISTUTILS=easy_install + +PYDISTUTILS_INSTALLARGS= -Z -q -O 1 -N -S ${PYTHON_SITELIBDIR} \ + -d ${PYEASYINSTALL_SITELIBDIR} \ + -s ${PYEASYINSTALL_BINDIR} \ + ${WRKSRC}/dist/${PYEASYINSTALL_EGG} + +.include <bsd.port.mk> diff --git a/security/py-oauthlib/distinfo b/security/py-oauthlib/distinfo new file mode 100644 index 000000000000..4d62a221ec0b --- /dev/null +++ b/security/py-oauthlib/distinfo @@ -0,0 +1,2 @@ +SHA256 (oauthlib-0.1.3.tar.gz) = 6066c9c0ab07953f98870bc97d29f6defd066b6c215de74b9976666f3f6c3d40 +SIZE (oauthlib-0.1.3.tar.gz) = 24684 diff --git a/security/py-oauthlib/pkg-descr b/security/py-oauthlib/pkg-descr new file mode 100644 index 000000000000..e8a387f04725 --- /dev/null +++ b/security/py-oauthlib/pkg-descr @@ -0,0 +1,5 @@ +OAuthLib is a generic Python module which implements the logic of OAuth without +assuming a specific HTTP request object. Use it to graft OAuth support onto +your favorite HTTP library. + +WWW: https://github.com/idangazit/oauthlib diff --git a/security/py-oauthlib/pkg-plist b/security/py-oauthlib/pkg-plist new file mode 100644 index 000000000000..15537c9e36e2 --- /dev/null +++ b/security/py-oauthlib/pkg-plist @@ -0,0 +1,47 @@ +@comment $FreeBSD$ +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/common.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/common.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/parameters.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/signature.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/utils.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/parameters.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/signature.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/utils.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/parameters.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/signature.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/utils.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/tokens.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/utils.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/tokens.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/utils.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/tokens.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/utils.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/common.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/zip-safe +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25 +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2 +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849 +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1 +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ |