ports/161590: [UPDATE] www/py-requests to 0.6.4

Olivier Duchateau duchateau.olivier at gmail.com
Fri Oct 14 17:20:07 UTC 2011


>Number:         161590
>Category:       ports
>Synopsis:       [UPDATE] www/py-requests to 0.6.4
>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:   Fri Oct 14 17:20:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Duchateau
>Release:        FreeBSD 8.2-RELEASE-p3
>Organization:
>Environment:
>Description:
ChangeLog (taken from http://pypi.python.org/pypi/requests/0.6.4):

- Beautiful requests.async module, for making async requests with gevent (RUN_DEPENDS macro)
- Automatic decoding of unicode, based on HTTP Headers.
- New decode_unicode setting
- Removal of r.read/close methods
- New r.faw interface for advanced response usage.*
- Automatic expansion of parameterized headers
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -u /usr/ports/www/py-requests/Makefile py-requests/Makefile
--- /usr/ports/www/py-requests/Makefile	2011-10-09 19:20:59.000000000 +0200
+++ py-requests/Makefile	2011-10-14 18:58:52.000000000 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	requests
-PORTVERSION=	0.6.2
+PORTVERSION=	0.6.4
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,7 +17,9 @@
 LICENSE=	ISCL
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USE_PYTHON=	2.5+
+RUN_DEPENDS=	${PYTHON_SITELIBDIR}/gevent/__init__.py:${PORTSDIR}/devel/py-gevent
+
+USE_PYTHON=	2.6+
 USE_PYDISTUTILS=	easy_install
 
 PLIST_FILES=	%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
diff -u /usr/ports/www/py-requests/distinfo py-requests/distinfo
--- /usr/ports/www/py-requests/distinfo	2011-10-09 19:20:59.000000000 +0200
+++ py-requests/distinfo	2011-10-14 18:58:52.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (requests-0.6.2.tar.gz) = b5419f909fc21b8eb037dc4bade29530c28993610b68213b7f7633bf10bcabbc
-SIZE (requests-0.6.2.tar.gz) = 26524
+SHA256 (requests-0.6.4.tar.gz) = 151f105506913a6b84f6119400ca94732ec39f5b4e0991ca2fc840ddb4e37816
+SIZE (requests-0.6.4.tar.gz) = 30212


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



More information about the freebsd-ports-bugs mailing list