From owner-svn-ports-head@FreeBSD.ORG Mon May 13 12:38:43 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2A33FF14; Mon, 13 May 2013 12:38:43 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 1BECEF3C; Mon, 13 May 2013 12:38:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4DCch4h007718; Mon, 13 May 2013 12:38:43 GMT (envelope-from koobs@svn.freebsd.org) Received: (from koobs@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4DCcfjA007709; Mon, 13 May 2013 12:38:41 GMT (envelope-from koobs@svn.freebsd.org) Message-Id: <201305131238.r4DCcfjA007709@svn.freebsd.org> From: Kubilay Kocak Date: Mon, 13 May 2013 12:38:41 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 May 2013 12:38:43 -0000 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 +# $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 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%%