Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2013 04:42:14 +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: r315094 - head/security/py-oauthlib
Message-ID:  <201303240442.r2O4gEk5024376@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Sun Mar 24 04:42:13 2013
New Revision: 315094
URL: http://svnweb.freebsd.org/changeset/ports/315094

Log:
  - Update to 0.3.8
  - Update pkg-plist
  - Use GITHUB for DISTFILES
  - Add TEST_DEPENDS and regression-test target
  - Refactor {BUILD,RUN,TEST}_DEPENDS lists
  - Update COMMENT accoding to standards
  - Tab->space in pkg-descr
  
  Changes: https://github.com/idan/oauthlib/tree/0.3.8#changelog
  
  Approved by:	rm (mentor)

Modified:
  head/security/py-oauthlib/Makefile
  head/security/py-oauthlib/distinfo   (contents, props changed)
  head/security/py-oauthlib/pkg-descr   (contents, props changed)
  head/security/py-oauthlib/pkg-plist

Modified: head/security/py-oauthlib/Makefile
==============================================================================
--- head/security/py-oauthlib/Makefile	Sun Mar 24 04:35:29 2013	(r315093)
+++ head/security/py-oauthlib/Makefile	Sun Mar 24 04:42:13 2013	(r315094)
@@ -2,21 +2,34 @@
 # $FreeBSD$
 
 PORTNAME=	oauthlib
-PORTVERSION=	0.3.0
+PORTVERSION=	0.3.8
 CATEGORIES=	security net python
-MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	koobs@FreeBSD.org
-COMMENT=	An RFC-compliant Python implementation of OAuth
+COMMENT=	RFC-compliant Python implementation of OAuth
 
 LICENSE=	BSD
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
-RUN_DEPENDS:=	${BUILD_DEPENDS}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
+TEST_DEPENDS=	nosetests:${PORTSDIR}/devel/py-nose \
+		${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
 
-# Python3 ready
-USE_PYTHON=	yes
+USE_GITHUB=		yes
+USE_PYTHON=		yes
 USE_PYDISTUTILS=	easy_install
 
-.include <bsd.port.mk>
+GH_ACCOUNT=	idan
+GH_COMMIT=	554182c
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 300
+TEST_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \
+		${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2
+.endif
+
+regression-test: build
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+
+.include <bsd.port.post.mk>

Modified: head/security/py-oauthlib/distinfo
==============================================================================
--- head/security/py-oauthlib/distinfo	Sun Mar 24 04:35:29 2013	(r315093)
+++ head/security/py-oauthlib/distinfo	Sun Mar 24 04:42:13 2013	(r315094)
@@ -1,2 +1,2 @@
-SHA256 (oauthlib-0.3.0.tar.gz) = 8c62a18370b87fda3299bad4d4af2949e1bcb2d65519887ffcdcbcd00dfa9bf0
-SIZE (oauthlib-0.3.0.tar.gz) = 43581
+SHA256 (oauthlib-0.3.8.tar.gz) = a06090d62ebeea8aa3d02d4404bd619216fa1aaf5a00e932288bf605ec5f57f7
+SIZE (oauthlib-0.3.8.tar.gz) = 85375

Modified: head/security/py-oauthlib/pkg-descr
==============================================================================
--- head/security/py-oauthlib/pkg-descr	Sun Mar 24 04:35:29 2013	(r315093)
+++ head/security/py-oauthlib/pkg-descr	Sun Mar 24 04:42:13 2013	(r315094)
@@ -2,4 +2,4 @@ OAuthLib is a generic Python module whic
 assuming a specific HTTP request object. Use it to graft OAuth support onto
 your favorite HTTP library.
 
-WWW:	https://github.com/idangazit/oauthlib
+WWW: https://github.com/idangazit/oauthlib

Modified: head/security/py-oauthlib/pkg-plist
==============================================================================
--- head/security/py-oauthlib/pkg-plist	Sun Mar 24 04:35:29 2013	(r315093)
+++ head/security/py-oauthlib/pkg-plist	Sun Mar 24 04:42:13 2013	(r315094)
@@ -2,9 +2,9 @@
 %%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%%/EGG-INFO/not-zip-safe
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/__init__.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/__init__.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/__init__.pyo
@@ -32,6 +32,15 @@
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/__init__.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/__init__.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/errors.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/errors.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/errors.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/exceptions.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/exceptions.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/exceptions.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/grant_types.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/grant_types.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/grant_types.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/parameters.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/parameters.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/parameters.pyo
@@ -41,6 +50,16 @@
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/utils.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/utils.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/utils.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/ext/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/ext/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/ext/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/ext/django.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/ext/django.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/ext/django.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/uri_validate.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/uri_validate.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/uri_validate.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/ext
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849



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