Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2013 12:38:41 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r318074 - in head/www: . py-requests-oauthlib py-requests-oauthlib/files
Message-ID:  <201305131238.r4DCcfjA007709@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Mon May 13 12:38:41 2013
New Revision: 318074
URL: http://svnweb.freebsd.org/changeset/ports/318074

Log:
  www/py-requests-oauthlib: OAuthlib authentication support for Requests [NEW PORT]
  
  This project provides first-class OAuth library support for Requests.
  
  OAuth can seem overly complicated and it sure has its quirks. Luckily,
  requests-oauthlib hides most of these and let you focus at the task at hand.
  
  WWW: https://github.com/requests/requests-oauthlib
  
  Approved by:	eadler, rm (mentors, implicit)

Added:
  head/www/py-requests-oauthlib/
  head/www/py-requests-oauthlib/Makefile   (contents, props changed)
  head/www/py-requests-oauthlib/distinfo   (contents, props changed)
  head/www/py-requests-oauthlib/files/
  head/www/py-requests-oauthlib/files/patch-setup.py   (contents, props changed)
  head/www/py-requests-oauthlib/pkg-descr   (contents, props changed)
  head/www/py-requests-oauthlib/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Mon May 13 12:22:29 2013	(r318073)
+++ head/www/Makefile	Mon May 13 12:38:41 2013	(r318074)
@@ -1628,6 +1628,7 @@
     SUBDIR += py-recaptcha
     SUBDIR += py-requests
     SUBDIR += py-requests-oauth-hook
+    SUBDIR += py-requests-oauthlib
     SUBDIR += py-restclient
     SUBDIR += py-rhodecode
     SUBDIR += py-routes

Added: head/www/py-requests-oauthlib/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-requests-oauthlib/Makefile	Mon May 13 12:38:41 2013	(r318074)
@@ -0,0 +1,29 @@
+# Created by: Kubilay Kocak <koobs@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	requests-oauthlib
+PORTVERSION=	0.3.1
+CATEGORIES=	net python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	koobs@FreeBSD.org
+COMMENT=	OAuthlib authentication support for Requests
+
+LICENSE=	ISCL
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}oauthlib>=0.3.7:${PORTSDIR}/security/py-oauthlib \
+		${PYTHON_PKGNAMEPREFIX}requests>=0:${PORTSDIR}/www/py-requests
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	requests
+GH_TAGNAME=	v${PORTVERSION}
+GH_COMMIT=	a7e6030
+
+USE_PYTHON=		yes
+USE_PYDISTUTILS=	easy_install
+
+regression-test: build
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+
+.include <bsd.port.mk>

Added: head/www/py-requests-oauthlib/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-requests-oauthlib/distinfo	Mon May 13 12:38:41 2013	(r318074)
@@ -0,0 +1,2 @@
+SHA256 (requests-oauthlib-0.3.1.tar.gz) = 2befccd11fb8e7170863ca678db11df6c3efb899d9a96124699e1187159f4329
+SIZE (requests-oauthlib-0.3.1.tar.gz) = 13811

Added: head/www/py-requests-oauthlib/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-requests-oauthlib/files/patch-setup.py	Mon May 13 12:38:41 2013	(r318074)
@@ -0,0 +1,12 @@
+--- ./setup.py.orig	2013-05-04 16:37:49.000000000 +1000
++++ ./setup.py	2013-05-04 17:04:12.135652732 +1000
+@@ -43,6 +43,9 @@
+         'Programming Language :: Python :: 2.6',
+         'Programming Language :: Python :: 2.7',
+     ),
++    zip_safe=False,
++    tests_require = ['mock'],
++    test_suite="tests",
+ )
+ 
+ 

Added: head/www/py-requests-oauthlib/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-requests-oauthlib/pkg-descr	Mon May 13 12:38:41 2013	(r318074)
@@ -0,0 +1,6 @@
+This project provides first-class OAuth library support for Requests.
+
+OAuth can seem overly complicated and it sure has its quirks. Luckily,
+requests_oauthlib hides most of these and let you focus at the task at hand.
+
+WWW: https://github.com/requests/requests-oauthlib

Added: head/www/py-requests-oauthlib/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-requests-oauthlib/pkg-plist	Mon May 13 12:38:41 2013	(r318074)
@@ -0,0 +1,25 @@
+@comment $FreeBSD$
+%%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%%/requests_oauthlib/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/requests_oauthlib/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/requests_oauthlib/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/requests_oauthlib/core.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/requests_oauthlib/core.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/requests_oauthlib/core.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/requests_oauthlib/oauth2_auth.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/requests_oauthlib/oauth2_session.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/requests_oauthlib/oauth2_session.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/requests_oauthlib/oauth2_auth.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/requests_oauthlib/oauth1_session.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/requests_oauthlib/oauth1_session.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/requests_oauthlib/oauth2_auth.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/requests_oauthlib/oauth2_session.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/requests_oauthlib/oauth1_session.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/requests_oauthlib
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305131238.r4DCcfjA007709>