Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2012 22:15:27 +1000 (EST)
From:      Kubilay Kocak <koobs.freebsd@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/170633: [MAINTAINER] security/py-oauthlib: update to 0.3.0
Message-ID:  <20120814121527.D41C839F15@freebsd-9-amd64.localdomain>
Resent-Message-ID: <201208141220.q7ECK8UP032088@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170633
>Category:       ports
>Synopsis:       [MAINTAINER] security/py-oauthlib: update to 0.3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 14 12:20:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kubilay Kocak
>Release:        FreeBSD 9.0-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD freebsd-9-amd64 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Sat Jul  7 21:26:56 EST
>Description:
- Update to 0.3.0
- Replace py-rsa {BUILD,RUN}_DEPENDS with py-pycrypto (upstream)
- Consistent tab use
- Replace ugly PYDISTUTILS_INSTALLARGS hackery with setup.py patch
- Update and sort pkg-plist

==[QA]==

port test clean
redports clean: https://redports.org/buildarchive/20120814115422-79412/

Added file(s):
- files/patch-setup.py

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- py27-oauthlib-0.3.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/py-oauthlib/Makefile ./Makefile
--- /usr/ports/security/py-oauthlib/Makefile	2012-06-15 21:22:44.000000000 +1000
+++ ./Makefile	2012-08-14 21:35:36.000000000 +1000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	oauthlib
-PORTVERSION=	0.1.3
-PORTREVISION=	1
+PORTVERSION=	0.3.0
 CATEGORIES=	security net python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,16 +16,11 @@
 
 LICENSE=	BSD
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}rsa>0:${PORTSDIR}/security/py-rsa
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 # Python3 ready
 USE_PYTHON=	yes
-USE_PYDISTUTILS=easy_install
-
-PYDISTUTILS_INSTALLARGS=	-Z -q -O 1 -N -S ${PYTHON_SITELIBDIR} \
-				-d ${PYEASYINSTALL_SITELIBDIR} \
-				-s ${PYEASYINSTALL_BINDIR} \
-				${WRKSRC}/dist/${PYEASYINSTALL_EGG}
+USE_PYDISTUTILS=	easy_install
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/security/py-oauthlib/distinfo ./distinfo
--- /usr/ports/security/py-oauthlib/distinfo	2012-06-14 10:36:22.000000000 +1000
+++ ./distinfo	2012-08-14 18:30:50.000000000 +1000
@@ -1,2 +1,2 @@
-SHA256 (oauthlib-0.1.3.tar.gz) = 6066c9c0ab07953f98870bc97d29f6defd066b6c215de74b9976666f3f6c3d40
-SIZE (oauthlib-0.1.3.tar.gz) = 24684
+SHA256 (oauthlib-0.3.0.tar.gz) = 8c62a18370b87fda3299bad4d4af2949e1bcb2d65519887ffcdcbcd00dfa9bf0
+SIZE (oauthlib-0.3.0.tar.gz) = 43581
diff -ruN --exclude=CVS /usr/ports/security/py-oauthlib/files/patch-setup.py ./files/patch-setup.py
--- /usr/ports/security/py-oauthlib/files/patch-setup.py	1970-01-01 10:00:00.000000000 +1000
+++ ./files/patch-setup.py	2012-08-14 19:04:42.000000000 +1000
@@ -0,0 +1,8 @@
+--- ./setup.py.orig	2012-08-14 19:04:25.000000000 +1000
++++ ./setup.py	2012-08-14 19:04:38.000000000 +1000
+@@ -32,4 +32,5 @@
+     tests_require=tests_require,
+     extras_require={'test': tests_require, 'rsa': rsa_require},
+     install_requires=requires,
++    zip_safe=False,
+ )
diff -ruN --exclude=CVS /usr/ports/security/py-oauthlib/pkg-plist ./pkg-plist
--- /usr/ports/security/py-oauthlib/pkg-plist	2012-06-15 21:22:44.000000000 +1000
+++ ./pkg-plist	2012-08-14 19:05:19.000000000 +1000
@@ -1,43 +1,46 @@
 @comment $FreeBSD: ports/security/py-oauthlib/pkg-plist,v 1.2 2012/06/15 11:22:44 rm Exp $
+%%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/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/common.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/common.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/common.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/common.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/__init__.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/__init__.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/__init__.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/parameters.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/signature.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/utils.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/__init__.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/parameters.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/signature.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/utils.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/parameters.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/parameters.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/parameters.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/signature.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/signature.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/signature.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/utils.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/utils.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/utils.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/__init__.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/__init__.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/__init__.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/__init__.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/tokens.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/utils.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/__init__.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/tokens.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/utils.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/__init__.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
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/tokens.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/tokens.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/tokens.pyo
+%%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/__init__.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/__init__.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/common.pyo
-%%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/requires.txt
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/zip-safe
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849
--- py27-oauthlib-0.3.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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