Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2012 16:15:10 GMT
From:      Olivier Duchateau <duchateau.olivier@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/166419: [UPDATE] net/py-urllib3 to 1.3
Message-ID:  <201203261615.q2QGFA03036763@red.freebsd.org>
Resent-Message-ID: <201203261620.q2QGK9bD011852@freefall.freebsd.org>

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

>Number:         166419
>Category:       ports
>Synopsis:       [UPDATE] net/py-urllib3 to 1.3
>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:   Mon Mar 26 16:20:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Duchateau
>Release:        FreeBSD 8.2-RELEASE-p3 i386
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN /usr/ports/net/py-urllib3/Makefile py-urllib3/Makefile
--- /usr/ports/net/py-urllib3/Makefile	2012-03-04 13:39:34.000000000 +0100
+++ py-urllib3/Makefile	2012-03-26 17:51:34.000000000 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	urllib3
-PORTVERSION=	1.2.2
+PORTVERSION=	1.3
 CATEGORIES=	net python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -20,6 +20,8 @@
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	easy_install
 
+PLIST_FILES=	%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+
 post-patch:
 	@cd ${WRKSRC} && \
 		${FIND} . -type f -name '*.orig' -exec ${RM} -f \{\} \;
diff -urN /usr/ports/net/py-urllib3/distinfo py-urllib3/distinfo
--- /usr/ports/net/py-urllib3/distinfo	2012-03-04 13:39:34.000000000 +0100
+++ py-urllib3/distinfo	2012-03-26 17:51:34.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (urllib3-1.2.2.tar.gz) = b7cda49f21ba823f97075ef9db034de969180b7965c77b25bd5d6d46dc1d0312
-SIZE (urllib3-1.2.2.tar.gz) = 35251
+SHA256 (urllib3-1.3.tar.gz) = cedd2b34adf6c6fba633308f0c5ac197fab88a246aed1f891c00ac7439f9f870
+SIZE (urllib3-1.3.tar.gz) = 36660
diff -urN /usr/ports/net/py-urllib3/files/patch-MANIFEST.in py-urllib3/files/patch-MANIFEST.in
--- /usr/ports/net/py-urllib3/files/patch-MANIFEST.in	2012-03-04 13:39:34.000000000 +0100
+++ py-urllib3/files/patch-MANIFEST.in	1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
---- MANIFEST.in.orig	2012-02-06 15:59:04.000000000 +0000
-+++ MANIFEST.in	2012-02-07 14:04:08.000000000 +0000
-@@ -1 +1 @@
--include README.rst CHANGES.rst LICENSE.txt CONTRIBUTORS.txt test-requirements.txt
-+include README.rst CHANGES.rst LICENSE.txt CONTRIBUTORS.txt
diff -urN /usr/ports/net/py-urllib3/files/patch-setup.py py-urllib3/files/patch-setup.py
--- /usr/ports/net/py-urllib3/files/patch-setup.py	2012-03-04 13:39:34.000000000 +0100
+++ py-urllib3/files/patch-setup.py	2012-03-26 17:51:34.000000000 +0200
@@ -1,6 +1,6 @@
---- setup.py.orig	2012-01-30 00:14:40.000000000 +0000
-+++ setup.py	2012-02-07 13:49:58.000000000 +0000
-@@ -44,10 +44,10 @@
+--- setup.py.orig	2012-01-30 01:14:40.000000000 +0100
++++ setup.py	2012-03-26 17:32:14.000000000 +0200
+@@ -44,7 +44,7 @@
        author_email='andrey.petrov@shazow.net',
        url='http://urllib3.readthedocs.org/',
        license='MIT',
@@ -9,8 +9,3 @@
                  'urllib3.packages.ssl_match_hostname', 'urllib3.packages.mimetools_choose_boundary',
                  ],
        requires=requirements,
--      tests_require=tests_requirements,
--      test_suite='test',
-+      #tests_require=tests_requirements,
-+      #test_suite='test',
-       )
diff -urN /usr/ports/net/py-urllib3/files/patch-urllib3.egg-info_SOURCES.txt py-urllib3/files/patch-urllib3.egg-info_SOURCES.txt
--- /usr/ports/net/py-urllib3/files/patch-urllib3.egg-info_SOURCES.txt	2012-03-04 13:39:34.000000000 +0100
+++ py-urllib3/files/patch-urllib3.egg-info_SOURCES.txt	1970-01-01 01:00:00.000000000 +0100
@@ -1,27 +0,0 @@
---- urllib3.egg-info/SOURCES.txt.orig	2012-02-06 16:01:50.000000000 +0000
-+++ urllib3.egg-info/SOURCES.txt	2012-02-07 14:05:37.000000000 +0000
-@@ -5,17 +5,6 @@
- README.rst
- setup.cfg
- setup.py
--test-requirements.txt
--dummyserver/__init__.py
--dummyserver/handlers.py
--dummyserver/server.py
--dummyserver/testcase.py
--test/__init__.py
--test/benchmark.py
--test/test_collections.py
--test/test_connectionpool.py
--test/test_poolmanager.py
--test/test_response.py
- urllib3/__init__.py
- urllib3/_collections.py
- urllib3/connectionpool.py
-@@ -33,4 +22,4 @@
- urllib3/packages/__init__.py
- urllib3/packages/six.py
- urllib3/packages/mimetools_choose_boundary/__init__.py
--urllib3/packages/ssl_match_hostname/__init__.py
-\ No newline at end of file
-+urllib3/packages/ssl_match_hostname/__init__.py
diff -urN /usr/ports/net/py-urllib3/pkg-plist py-urllib3/pkg-plist
--- /usr/ports/net/py-urllib3/pkg-plist	2012-03-04 13:39:34.000000000 +0100
+++ py-urllib3/pkg-plist	1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
-@dirrm %%PYTHON_SITELIBDIR%%
-@dirrm %%PYTHON_LIBDIR%%


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



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