diff options
Diffstat (limited to 'net/py-urllib3')
-rw-r--r-- | net/py-urllib3/Makefile | 12 | ||||
-rw-r--r-- | net/py-urllib3/distinfo | 6 | ||||
-rw-r--r-- | net/py-urllib3/files/patch-setup.py | 11 | ||||
-rw-r--r-- | net/py-urllib3/files/pkg-message.in | 1 |
4 files changed, 20 insertions, 10 deletions
diff --git a/net/py-urllib3/Makefile b/net/py-urllib3/Makefile index 8573edaadea6..f8969a8fa02c 100644 --- a/net/py-urllib3/Makefile +++ b/net/py-urllib3/Makefile @@ -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> diff --git a/net/py-urllib3/distinfo b/net/py-urllib3/distinfo index 4f16e66b0c93..83eb3a39b074 100644 --- a/net/py-urllib3/distinfo +++ b/net/py-urllib3/distinfo @@ -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 diff --git a/net/py-urllib3/files/patch-setup.py b/net/py-urllib3/files/patch-setup.py new file mode 100644 index 000000000000..eff6df0398d2 --- /dev/null +++ b/net/py-urllib3/files/patch-setup.py @@ -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', + ] + }, + ) diff --git a/net/py-urllib3/files/pkg-message.in b/net/py-urllib3/files/pkg-message.in new file mode 100644 index 000000000000..5a62756e0b49 --- /dev/null +++ b/net/py-urllib3/files/pkg-message.in @@ -0,0 +1 @@ +Be careful, support of IPv6 is broken with PySocks 1.5.7. |