Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2012 21:35:59 +1000 (EST)
From:      Kubilay Kocak <koobs.freebsd@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        olivierd@FreeBSD.org
Subject:   ports/170987: [PATCH] net/py-urllib3: update to 1.5
Message-ID:  <20120824113559.2AB0939EA5@freebsd-9-amd64.localdomain>
Resent-Message-ID: <201208241140.q7OBe3Nn005948@freefall.freebsd.org>

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

>Number:         170987
>Category:       ports
>Synopsis:       [PATCH] net/py-urllib3: update to 1.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 24 11:40:02 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 1.5
- Remove LICENSE_FILE for those in bsd.licenses.db.mk
- Remove post-patch: and REINPLACE_CMD bits (no matches)
- Patch setup.py to include zip_safe=False
-- Remove PLIST_FILES accordingly
-- Add and sort pkg-plist accordingly

Changes: 1.5 (2012-08-02)

https://github.com/shazow/urllib3/blob/1.5/CHANGES.rst

==[QA]==

- port test clean: looks fine.
- redports build clean: https://redports.org/buildarchive/20120824104546-25487/
- test suite:

test_collections.py - Ran 8 tests in 0.001s - OK
test_connectionpool.py - Ran 7 tests in 0.041s - OK
test_poolmanager.py - Ran 3 tests in 0.001s - OK
test_response.py - Ran 9 tests in 0.001s - OK

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

Port maintainer (olivierd@FreeBSD.org) is cc'd.

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

--- py27-urllib3-1.5.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/py-urllib3/Makefile ./Makefile
--- /usr/ports/net/py-urllib3/Makefile	2012-08-10 06:00:47.000000000 +1000
+++ ./Makefile	2012-08-24 21:19:04.000000000 +1000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	urllib3
-PORTVERSION=	1.4
+PORTVERSION=	1.5
 CATEGORIES=	net python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,14 +15,8 @@
 COMMENT=	Enhance HTTP Python's standard library
 
 LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	easy_install
 
-PLIST_FILES=	%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
-
-post-patch:
-	@${REINPLACE_CMD} -e "s|'dummyserver', ||" ${WRKSRC}/setup.py
-
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/net/py-urllib3/distinfo ./distinfo
--- /usr/ports/net/py-urllib3/distinfo	2012-08-10 06:00:47.000000000 +1000
+++ ./distinfo	2012-08-24 20:42:37.000000000 +1000
@@ -1,2 +1,2 @@
-SHA256 (urllib3-1.4.tar.gz) = 3ee920fe0a5b8d1b3a507a9af6c5b6eb88110d37d2de406907ed7606ff24da9d
-SIZE (urllib3-1.4.tar.gz) = 31885
+SHA256 (urllib3-1.5.tar.gz) = 0fc8836c9f39091a07a612d9ee55fc6458d0309d8efebf835215936fc7ffc76c
+SIZE (urllib3-1.5.tar.gz) = 36783
diff -ruN --exclude=CVS /usr/ports/net/py-urllib3/files/patch-setup.py ./files/patch-setup.py
--- /usr/ports/net/py-urllib3/files/patch-setup.py	1970-01-01 10:00:00.000000000 +1000
+++ ./files/patch-setup.py	2012-08-24 20:42:40.000000000 +1000
@@ -0,0 +1,8 @@
+--- ./setup.py.orig	2012-08-24 20:42:20.000000000 +1000
++++ ./setup.py	2012-08-24 20:42:33.000000000 +1000
+@@ -50,4 +50,5 @@
+       requires=requirements,
+       tests_require=tests_requirements,
+       test_suite='test',
++      zip_safe=False,
+       )
diff -ruN --exclude=CVS /usr/ports/net/py-urllib3/pkg-plist ./pkg-plist
--- /usr/ports/net/py-urllib3/pkg-plist	1970-01-01 10:00:00.000000000 +1000
+++ ./pkg-plist	2012-08-24 20:44:24.000000000 +1000
@@ -0,0 +1,49 @@
+%%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/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/_collections.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/_collections.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/_collections.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/connectionpool.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/connectionpool.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/connectionpool.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/exceptions.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/exceptions.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/exceptions.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/filepost.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/filepost.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/filepost.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/ordered_dict.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/ordered_dict.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/ordered_dict.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/six.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/six.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/six.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/ssl_match_hostname/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/ssl_match_hostname/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/ssl_match_hostname/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/poolmanager.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/poolmanager.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/poolmanager.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/request.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/request.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/request.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/response.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/response.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/response.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/util.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/util.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/util.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/ssl_match_hostname
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
--- py27-urllib3-1.5.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?20120824113559.2AB0939EA5>