diff options
author | cheusov <cheusov@pkgsrc.org> | 2013-05-12 19:55:42 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2013-05-12 19:55:42 +0000 |
commit | 4bb0cee2c58719733ca45659cf9ae99b10b7ceea (patch) | |
tree | 5f876f4634e97965ad730a1180ca21dac49866e4 /security | |
parent | fea29bf3f8cb5b7dcb4b46cd266c7cfb433f0326 (diff) | |
download | pkgsrc-4bb0cee2c58719733ca45659cf9ae99b10b7ceea.tar.gz |
New package py-oauth2
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 3 | ||||
-rw-r--r-- | security/py-oauth2/DESCR | 17 | ||||
-rw-r--r-- | security/py-oauth2/Makefile | 18 | ||||
-rw-r--r-- | security/py-oauth2/PLIST | 28 | ||||
-rw-r--r-- | security/py-oauth2/distinfo | 5 |
5 files changed, 70 insertions, 1 deletions
diff --git a/security/Makefile b/security/Makefile index deb60ea55dc..9082f83a61d 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.464 2013/04/25 16:25:46 agc Exp $ +# $NetBSD: Makefile,v 1.465 2013/05/12 19:55:42 cheusov Exp $ # COMMENT= Security tools @@ -126,6 +126,7 @@ SUBDIR+= libksba SUBDIR+= libmcrypt SUBDIR+= libnetpgpverify SUBDIR+= liboauth +SUBDIR+= liboauth2 SUBDIR+= libp11 SUBDIR+= libpbc SUBDIR+= libprelude diff --git a/security/py-oauth2/DESCR b/security/py-oauth2/DESCR new file mode 100644 index 00000000000..b76eb801df3 --- /dev/null +++ b/security/py-oauth2/DESCR @@ -0,0 +1,17 @@ +This code was originally forked from Leah Culver and Andy Smith's +oauth.py code. Some of the tests come from a fork by Vic Fryzel, while +a revamped Request class and more tests were merged in from Mark +Paschal's fork. A number of notable differences exist between this +code and its forefathers: + + 100% unit test coverage. + The DataStore object has been completely ripped out. While + creating unit tests for the library I found several substantial + bugs with the implementation and confirmed with Andy Smith that it + was never fully baked. + 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. It's a thin + wrapper that handles automatically signing any normal HTTP request + you might wish to make. diff --git a/security/py-oauth2/Makefile b/security/py-oauth2/Makefile new file mode 100644 index 00000000000..70f6d668dde --- /dev/null +++ b/security/py-oauth2/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1 2013/05/12 19:55:42 cheusov Exp $ + +DISTNAME= oauth2-1.5.211 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= python security www +MASTER_SITES= http://pypi.python.org/packages/source/o/oauth/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://pypi.python.org/pypi/oauth/ +COMMENT= Python OAuth2 library +LICENSE= mit + +DEPENDS+= ${PYPKGPREFIX}-httplib2>=0.7.7:../../www/py-httplib2 + +PYDISTUTILSPKG= yes + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/py-oauth2/PLIST b/security/py-oauth2/PLIST new file mode 100644 index 00000000000..70b4ec0f406 --- /dev/null +++ b/security/py-oauth2/PLIST @@ -0,0 +1,28 @@ +@comment $NetBSD: PLIST,v 1.1 2013/05/12 19:55:42 cheusov Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/${EGG_INFODIR}/zip-safe +${PYSITELIB}/oauth2/__init__.py +${PYSITELIB}/oauth2/__init__.pyc +${PYSITELIB}/oauth2/__init__.pyo +${PYSITELIB}/oauth2/_version.py +${PYSITELIB}/oauth2/_version.pyc +${PYSITELIB}/oauth2/_version.pyo +${PYSITELIB}/oauth2/clients/__init__.py +${PYSITELIB}/oauth2/clients/__init__.pyc +${PYSITELIB}/oauth2/clients/__init__.pyo +${PYSITELIB}/oauth2/clients/imap.py +${PYSITELIB}/oauth2/clients/imap.pyc +${PYSITELIB}/oauth2/clients/imap.pyo +${PYSITELIB}/oauth2/clients/smtp.py +${PYSITELIB}/oauth2/clients/smtp.pyc +${PYSITELIB}/oauth2/clients/smtp.pyo +${PYSITELIB}/tests/__init__.py +${PYSITELIB}/tests/__init__.pyc +${PYSITELIB}/tests/__init__.pyo +${PYSITELIB}/tests/test_oauth.py +${PYSITELIB}/tests/test_oauth.pyc +${PYSITELIB}/tests/test_oauth.pyo diff --git a/security/py-oauth2/distinfo b/security/py-oauth2/distinfo new file mode 100644 index 00000000000..50694beb589 --- /dev/null +++ b/security/py-oauth2/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2013/05/12 19:55:42 cheusov Exp $ + +SHA1 (oauth2-1.5.211.tar.gz) = ac66def0ec16e4d2654e75f2bcae837e6dcf309f +RMD160 (oauth2-1.5.211.tar.gz) = 70baee500d03210cf30125be0cb3281185c70626 +Size (oauth2-1.5.211.tar.gz) = 18608 bytes |