svn commit: r421446 - in head/net/py-urllib3: . files
Olivier Duchateau
olivierd at FreeBSD.org
Tue Sep 6 17:07:56 UTC 2016
Author: olivierd
Date: Tue Sep 6 17:07:55 2016
New Revision: 421446
URL: https://svnweb.freebsd.org/changeset/ports/421446
Log:
- Update to 1.17
- Add pkg-message, because PySocks (net/py-pysocks) 1.5.7 causes problems
with IPv6 (bug #964)
Added:
head/net/py-urllib3/files/
head/net/py-urllib3/files/patch-setup.py (contents, props changed)
head/net/py-urllib3/files/pkg-message.in (contents, props changed)
Modified:
head/net/py-urllib3/Makefile
head/net/py-urllib3/distinfo
Modified: head/net/py-urllib3/Makefile
==============================================================================
--- head/net/py-urllib3/Makefile Tue Sep 6 17:02:11 2016 (r421445)
+++ head/net/py-urllib3/Makefile Tue Sep 6 17:07:55 2016 (r421446)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= urllib3
-PORTVERSION= 1.16
+PORTVERSION= 1.17
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,11 +14,14 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.7:net/py-pysocks \
- ${PYTHON_PKGNAMEPREFIX}ndg_httpsclient>=0.4.1:net/py-ndg_httpsclient
+ ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4:security/py-cryptography \
+ ${PYTHON_PKGNAMEPREFIX}openssl>=16.0:security/py-openssl \
+ ${PYTHON_PKGNAMEPREFIX}idna>=2.0:dns/py-idna
USES= python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
+SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
@@ -26,9 +29,4 @@ NO_ARCH= yes
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi
.endif
-post-extract:
-.if ${PYTHON_REL} >= 3000
- @${RM} ${WRKSRC}/urllib3/contrib/pyopenssl.py
-.endif
-
.include <bsd.port.post.mk>
Modified: head/net/py-urllib3/distinfo
==============================================================================
--- head/net/py-urllib3/distinfo Tue Sep 6 17:02:11 2016 (r421445)
+++ head/net/py-urllib3/distinfo Tue Sep 6 17:07:55 2016 (r421446)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1465766320
-SHA256 (urllib3-1.16.tar.gz) = 63d479478ddfc83bbc11577dc16d47835c5179ac13e550118ca143b62c4bf9ab
-SIZE (urllib3-1.16.tar.gz) = 179763
+TIMESTAMP = 1473186455
+SHA256 (urllib3-1.17.tar.gz) = fe57c15f1973d55c948619efcbd1d1150bb4256214aabab3322b395d023a2603
+SIZE (urllib3-1.17.tar.gz) = 181176
Added: head/net/py-urllib3/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/py-urllib3/files/patch-setup.py Tue Sep 6 17:07:55 2016 (r421446)
@@ -0,0 +1,11 @@
+--- setup.py.orig 2016-09-06 14:39:59 UTC
++++ setup.py
+@@ -61,7 +61,7 @@ setup(name='urllib3',
+ 'certifi',
+ ],
+ 'socks': [
+- 'PySocks>=1.5.6,<2.0,!=1.5.7',
++ 'PySocks>=1.5.6',
+ ]
+ },
+ )
Added: head/net/py-urllib3/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/py-urllib3/files/pkg-message.in Tue Sep 6 17:07:55 2016 (r421446)
@@ -0,0 +1 @@
+Be careful, support of IPv6 is broken with PySocks 1.5.7.
More information about the svn-ports-head
mailing list