net/py-oauth2 was originally forked from Leah Culver and Andy Smith's

oauth.py code (see net/py-oauth).

A number of notable differences exist between this code and its
forefathers:

* 100% unit test coverage.
* The DataStore object has been completely ripped out.
* Classes are no longer prefixed with OAuth.
* The Request class now extends from dict.
* The library is likely no longer compatible with Python 2.3.
* The Client class works and extends from httplib2.

WWW:	http://github.com/simplegeo/python-oauth2
This commit is contained in:
Cheng-Lung Sung 2011-03-02 10:04:17 +00:00
parent 6380a7457e
commit 55fc05e6a9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270111
5 changed files with 41 additions and 0 deletions

View file

@ -870,6 +870,7 @@
SUBDIR += py-netifaces SUBDIR += py-netifaces
SUBDIR += py-netstring SUBDIR += py-netstring
SUBDIR += py-oauth SUBDIR += py-oauth
SUBDIR += py-oauth2
SUBDIR += py-pcap SUBDIR += py-pcap
SUBDIR += py-pcapy SUBDIR += py-pcapy
SUBDIR += py-pcs SUBDIR += py-pcs

23
net/py-oauth2/Makefile Normal file
View file

@ -0,0 +1,23 @@
# New ports collection makefile for: py-oauth2
# Date created: 02 Mar,2011
# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= oauth2
PORTVERSION= 1.5.167
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= clsung@FreeBSD.org
COMMENT= Python library for OAuth version 1.0
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httplib2>0:${PORTSDIR}/www/py-httplib2
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
.include <bsd.port.mk>

2
net/py-oauth2/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (oauth2-1.5.167.tar.gz) = 3e0414e3cdc9e62c202768f0cec468615c8d03f948fcbff59b80a0a8cfc2aaf4
SIZE (oauth2-1.5.167.tar.gz) = 18278

14
net/py-oauth2/pkg-descr Normal file
View file

@ -0,0 +1,14 @@
This code was originally forked from Leah Culver and Andy Smith's
oauth.py code (see net/py-oauth).
A number of notable differences exist between this code and its
forefathers:
* 100% unit test coverage.
* The DataStore object has been completely ripped out.
* Classes are no longer prefixed with OAuth.
* The Request class now extends from dict.
* The library is likely no longer compatible with Python 2.3.
* The Client class works and extends from httplib2.
WWW: http://github.com/simplegeo/python-oauth2

1
net/py-oauth2/pkg-plist Normal file
View file

@ -0,0 +1 @@
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%