pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-urllib3 py-urllib3: updated to 1.23



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f6b1398167d
branches:  trunk
changeset: 381749:3f6b1398167d
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Jun 16 12:10:40 2018 +0000

description:
py-urllib3: updated to 1.23

1.23:
* Allow providing a list of headers to strip from requests when redirecting
  to a different host. Defaults to the Authorization header. Different
  headers can be set via Retry.remove_headers_on_redirect.
* Fix util.selectors._fileobj_to_fd to accept long
* Dropped Python 3.3 support.
* Put the connection back in the pool when calling stream() or read_chunked() on
  a chunked HEAD response.
* Fixed pyOpenSSL-specific ssl client authentication issue when clients
  attempted to auth via certificate + chain
* Add the port to the connectionpool connect print
* Don't use the uuid module to create multipart data boundaries.
* read_chunked() on a closed response returns no chunks.
* Add Python 2.6 support to contrib.securetransport
* Added support for auth info in url for SOCKS proxy

diffstat:

 www/py-urllib3/Makefile |  32 +++++++++++---------------------
 www/py-urllib3/PLIST    |   8 ++++----
 www/py-urllib3/distinfo |  10 +++++-----
 3 files changed, 20 insertions(+), 30 deletions(-)

diffs (98 lines):

diff -r 294a39786d08 -r 3f6b1398167d www/py-urllib3/Makefile
--- a/www/py-urllib3/Makefile   Sat Jun 16 12:09:13 2018 +0000
+++ b/www/py-urllib3/Makefile   Sat Jun 16 12:10:40 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2017/07/20 16:53:13 adam Exp $
+# $NetBSD: Makefile,v 1.8 2018/06/16 12:10:40 adam Exp $
 
-DISTNAME=      urllib3-1.22
+DISTNAME=      urllib3-1.23
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    www
+CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=u/urllib3/}
 
 MAINTAINER=    imil%NetBSD.org@localhost
@@ -10,30 +10,20 @@
 COMMENT=       HTTP library with thread-safe connection pooling
 LICENSE=       mit
 
-USE_LANGUAGES= # none
-
-DEPENDS+=      ${PYPKGPREFIX}-OpenSSL>=0.13:../../security/py-OpenSSL
-DEPENDS+=      ${PYPKGPREFIX}-Socks-[0-9]*:../../net/py-Socks
+DEPENDS+=      ${PYPKGPREFIX}-OpenSSL>=0.14:../../security/py-OpenSSL
+DEPENDS+=      ${PYPKGPREFIX}-Socks>=1.6.0:../../net/py-Socks
 DEPENDS+=      ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
-DEPENDS+=      ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
-DEPENDS+=      ${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna
+DEPENDS+=      ${PYPKGPREFIX}-cryptography>=1.3.4:../../security/py-cryptography
+DEPENDS+=      ${PYPKGPREFIX}-idna>=2.0.0:../../www/py-idna
 .if "${PYPKGPREFIX}" == "py27"
 DEPENDS+=      ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
 .endif
 
-# actually TEST_DEPENDS
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-nose-exclude-[0-9]*:../../devel/py-nose-exclude
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-psutil-[0-9]*:../../sysutils/py-psutil
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado
 
-# four test failures as of 1.14, reported as
-# https://github.com/shazow/urllib3/issues/774
-#do-test:
-#      cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
+USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 294a39786d08 -r 3f6b1398167d www/py-urllib3/PLIST
--- a/www/py-urllib3/PLIST      Sat Jun 16 12:09:13 2018 +0000
+++ b/www/py-urllib3/PLIST      Sat Jun 16 12:10:40 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2017/05/10 17:12:16 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2018/06/16 12:10:40 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -88,6 +88,9 @@
 ${PYSITELIB}/urllib3/util/connection.py
 ${PYSITELIB}/urllib3/util/connection.pyc
 ${PYSITELIB}/urllib3/util/connection.pyo
+${PYSITELIB}/urllib3/util/queue.py
+${PYSITELIB}/urllib3/util/queue.pyc
+${PYSITELIB}/urllib3/util/queue.pyo
 ${PYSITELIB}/urllib3/util/request.py
 ${PYSITELIB}/urllib3/util/request.pyc
 ${PYSITELIB}/urllib3/util/request.pyo
@@ -97,9 +100,6 @@
 ${PYSITELIB}/urllib3/util/retry.py
 ${PYSITELIB}/urllib3/util/retry.pyc
 ${PYSITELIB}/urllib3/util/retry.pyo
-${PYSITELIB}/urllib3/util/selectors.py
-${PYSITELIB}/urllib3/util/selectors.pyc
-${PYSITELIB}/urllib3/util/selectors.pyo
 ${PYSITELIB}/urllib3/util/ssl_.py
 ${PYSITELIB}/urllib3/util/ssl_.pyc
 ${PYSITELIB}/urllib3/util/ssl_.pyo
diff -r 294a39786d08 -r 3f6b1398167d www/py-urllib3/distinfo
--- a/www/py-urllib3/distinfo   Sat Jun 16 12:09:13 2018 +0000
+++ b/www/py-urllib3/distinfo   Sat Jun 16 12:10:40 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2017/07/20 16:53:13 adam Exp $
+$NetBSD: distinfo,v 1.8 2018/06/16 12:10:40 adam Exp $
 
-SHA1 (urllib3-1.22.tar.gz) = 02c623c3bdceda4ef5bffdafdda472d2d9e34ef1
-RMD160 (urllib3-1.22.tar.gz) = 273649af91ff039ed0fa970d2f79a837e99e82a8
-SHA512 (urllib3-1.22.tar.gz) = 132b69d7f390916bdcde66d46fbf0189d0c1f976f91778dcb0a9ef8174487b7bb4b37b9139e84f7c70234803be95284448aba0b820f3b54530c0c497ca7a1dc9
-Size (urllib3-1.22.tar.gz) = 226083 bytes
+SHA1 (urllib3-1.23.tar.gz) = 0c54209c397958a7cebe13cb453ec8ef5833998d
+RMD160 (urllib3-1.23.tar.gz) = 0831e3a2ea2d93791554bfec130ba915c5c4b7d0
+SHA512 (urllib3-1.23.tar.gz) = 6baa76ad3bebc639d7ec0a042d809fba7ef3110de6164a321756389c250e218728d178708611049d91f39d17f24b8b08585edb2f2c260c987bd4c7204e0c0b5f
+Size (urllib3-1.23.tar.gz) = 228314 bytes



Home | Main Index | Thread Index | Old Index