This is a hook for python-requests great python HTTP library, that
makes python-requests support Open Authentication version 1.0. This hook is based on python-oauth2 and uses portions of its code at the moment, kudos to the authors and contributors for doing a huge effort in providing OAuth to python httplib2. WWW: https://github.com/maraujop/requests-oauth-hook
This commit is contained in:
parent
0e8f9505bf
commit
3cf60bc0d8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284762
5 changed files with 61 additions and 0 deletions
|
@ -1536,6 +1536,7 @@
|
|||
SUBDIR += py-qt4-webkit
|
||||
SUBDIR += py-recaptcha
|
||||
SUBDIR += py-requests
|
||||
SUBDIR += py-requests-oauth-hook
|
||||
SUBDIR += py-restclient
|
||||
SUBDIR += py-routes
|
||||
SUBDIR += py-rssdler
|
||||
|
|
25
www/py-requests-oauth-hook/Makefile
Normal file
25
www/py-requests-oauth-hook/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
# New ports collection makefile for: py-requests-oauth-hook
|
||||
# Date created: 2011-10-31
|
||||
# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= requests-oauth-hook
|
||||
PORTVERSION= 0.1.3
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= clsung@FreeBSD.org
|
||||
COMMENT= This is an OAuth hook for py-requests
|
||||
|
||||
LICENSE= BSD
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests \
|
||||
${PYTHON_PKGNAMEPREFIX}oauth2>0:${PORTSDIR}/net/py-oauth2
|
||||
|
||||
USE_PYTHON= 2.6+
|
||||
USE_PYDISTUTILS= easy_install
|
||||
|
||||
.include <bsd.port.mk>
|
2
www/py-requests-oauth-hook/distinfo
Normal file
2
www/py-requests-oauth-hook/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (requests-oauth-hook-0.1.3.tar.gz) = 6ea2bd984d39c8cfd9d3169f59b76e1630988956c09e4f310bbf89ad406ad192
|
||||
SIZE (requests-oauth-hook-0.1.3.tar.gz) = 7222
|
8
www/py-requests-oauth-hook/pkg-descr
Normal file
8
www/py-requests-oauth-hook/pkg-descr
Normal file
|
@ -0,0 +1,8 @@
|
|||
This is a hook for python-requests great python HTTP library, that
|
||||
makes python-requests support Open Authentication version 1.0.
|
||||
|
||||
This hook is based on python-oauth2 and uses portions of its code
|
||||
at the moment, kudos to the authors and contributors for doing a
|
||||
huge effort in providing OAuth to python httplib2.
|
||||
|
||||
WWW: https://github.com/maraujop/requests-oauth-hook
|
25
www/py-requests-oauth-hook/pkg-plist
Normal file
25
www/py-requests-oauth-hook/pkg-plist
Normal file
|
@ -0,0 +1,25 @@
|
|||
%%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/not-zip-safe
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauth_hook/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauth_hook/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauth_hook/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauth_hook/hook.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauth_hook/hook.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauth_hook/hook.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_settings.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_settings.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_settings.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/tests.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/tests.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/tests.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauth_hook
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
|
Loading…
Reference in a new issue