summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-05-09 17:08:39 +0000
committeradam <adam@pkgsrc.org>2017-05-09 17:08:39 +0000
commit7150e270c94ce93b69223cbcc62b68b71d882d4d (patch)
tree0aeacf00522c4590cf9366209f93ce7d073bac70 /devel
parent0df1fff992847cfa21aa6f82e1941b312a5e9ef0 (diff)
downloadpkgsrc-7150e270c94ce93b69223cbcc62b68b71d882d4d.tar.gz
Changes 2.14.0:
**Improvements** - It is now possible to pass ``no_proxy`` as a key to the ``proxies`` dictionary to provide handling similar to the ``NO_PROXY`` environment variable. - When users provide invalid paths to certificate bundle files or directories Requests now raises ``IOError``, rather than failing at the time of the HTTPS request with a fairly inscrutable certificate validation error. - The behavior of ``SessionRedirectMixin`` was slightly altered. ``resolve_redirects`` will now detect a redirect by calling ``get_redirect_target(response)`` instead of directly querying ``Response.is_redirect`` and ``Response.headers['location']``. Advanced users will be able to process malformed redirects more easily. - Changed the internal calculation of elapsed request time to have higher resolution on Windows. - Added ``win_inet_pton`` as conditional dependency for the ``[socks]`` extra on Windows with Python 2.7. - Changed the proxy bypass implementation on Windows: the proxy bypass check doesn't use forward and reverse DNS requests anymore - URLs with schemes that begin with ``http`` but are not ``http`` or ``https`` no longer have their host parts forced to lowercase. **Bugfixes** - Much improved handling of non-ASCII ``Location`` header values in redirects. Fewer ``UnicodeDecodeError``s are encountered on Python 2, and Python 3 now correctly understands that Latin-1 is unlikely to be the correct encoding. - If an attempt to ``seek`` file to find out its length fails, we now appropriately handle that by aborting our content-length calculations. - Restricted ``HTTPDigestAuth`` to only respond to auth challenges made on 4XX responses, rather than to all auth challenges. - Fixed some code that was firing ``DeprecationWarning`` on Python 3.6. - The dismayed person emoticon (``/o\\``) no longer has a big head. I'm sure this is what you were all worrying about most. **Miscellaneous** - Updated bundled urllib3 to v1.21.1. - Updated bundled chardet to v3.0.2. - Updated bundled idna to v2.5. - Updated bundled certifi to 2017.4.17.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-requests/Makefile13
-rw-r--r--devel/py-requests/PLIST35
-rw-r--r--devel/py-requests/distinfo10
3 files changed, 38 insertions, 20 deletions
diff --git a/devel/py-requests/Makefile b/devel/py-requests/Makefile
index 2b003e56c81..5670efcae22 100644
--- a/devel/py-requests/Makefile
+++ b/devel/py-requests/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2017/04/04 12:42:23 adam Exp $
+# $NetBSD: Makefile,v 1.27 2017/05/09 17:08:39 adam Exp $
-DISTNAME= requests-2.13.0
+DISTNAME= requests-2.14.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel www
MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests/}
@@ -10,15 +10,12 @@ HOMEPAGE= http://docs.python-requests.org/en/latest/
COMMENT= HTTP library, written in Python, for human beings
LICENSE= apache-2.0
-USE_LANGUAGES= c
-REPLACE_PYTHON= requests/certs.py requests/packages/chardet/chardetect.py
+USE_LANGUAGES= c
+REPLACE_PYTHON+= requests/certs.py
+REPLACE_PYTHON+= requests/packages/chardet/chardetect.py
-BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
#BUILD_DEPENDS+= ${PYPKGPREFIX}-test-httpbin-[0-9]*:../../www/py-test-httpbin
-do-test:
- cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
-
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-requests/PLIST b/devel/py-requests/PLIST
index a8c6ed79070..beed5467e69 100644
--- a/devel/py-requests/PLIST
+++ b/devel/py-requests/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2017/04/04 12:42:23 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2017/05/09 17:08:39 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -51,9 +51,6 @@ ${PYSITELIB}/requests/packages/chardet/big5freq.pyo
${PYSITELIB}/requests/packages/chardet/big5prober.py
${PYSITELIB}/requests/packages/chardet/big5prober.pyc
${PYSITELIB}/requests/packages/chardet/big5prober.pyo
-${PYSITELIB}/requests/packages/chardet/chardetect.py
-${PYSITELIB}/requests/packages/chardet/chardetect.pyc
-${PYSITELIB}/requests/packages/chardet/chardetect.pyo
${PYSITELIB}/requests/packages/chardet/chardistribution.py
${PYSITELIB}/requests/packages/chardet/chardistribution.pyc
${PYSITELIB}/requests/packages/chardet/chardistribution.pyo
@@ -63,18 +60,24 @@ ${PYSITELIB}/requests/packages/chardet/charsetgroupprober.pyo
${PYSITELIB}/requests/packages/chardet/charsetprober.py
${PYSITELIB}/requests/packages/chardet/charsetprober.pyc
${PYSITELIB}/requests/packages/chardet/charsetprober.pyo
+${PYSITELIB}/requests/packages/chardet/cli/__init__.py
+${PYSITELIB}/requests/packages/chardet/cli/__init__.pyc
+${PYSITELIB}/requests/packages/chardet/cli/__init__.pyo
+${PYSITELIB}/requests/packages/chardet/cli/chardetect.py
+${PYSITELIB}/requests/packages/chardet/cli/chardetect.pyc
+${PYSITELIB}/requests/packages/chardet/cli/chardetect.pyo
${PYSITELIB}/requests/packages/chardet/codingstatemachine.py
${PYSITELIB}/requests/packages/chardet/codingstatemachine.pyc
${PYSITELIB}/requests/packages/chardet/codingstatemachine.pyo
${PYSITELIB}/requests/packages/chardet/compat.py
${PYSITELIB}/requests/packages/chardet/compat.pyc
${PYSITELIB}/requests/packages/chardet/compat.pyo
-${PYSITELIB}/requests/packages/chardet/constants.py
-${PYSITELIB}/requests/packages/chardet/constants.pyc
-${PYSITELIB}/requests/packages/chardet/constants.pyo
${PYSITELIB}/requests/packages/chardet/cp949prober.py
${PYSITELIB}/requests/packages/chardet/cp949prober.pyc
${PYSITELIB}/requests/packages/chardet/cp949prober.pyo
+${PYSITELIB}/requests/packages/chardet/enums.py
+${PYSITELIB}/requests/packages/chardet/enums.pyc
+${PYSITELIB}/requests/packages/chardet/enums.pyo
${PYSITELIB}/requests/packages/chardet/escprober.py
${PYSITELIB}/requests/packages/chardet/escprober.pyc
${PYSITELIB}/requests/packages/chardet/escprober.pyo
@@ -129,6 +132,9 @@ ${PYSITELIB}/requests/packages/chardet/langhungarianmodel.pyo
${PYSITELIB}/requests/packages/chardet/langthaimodel.py
${PYSITELIB}/requests/packages/chardet/langthaimodel.pyc
${PYSITELIB}/requests/packages/chardet/langthaimodel.pyo
+${PYSITELIB}/requests/packages/chardet/langturkishmodel.py
+${PYSITELIB}/requests/packages/chardet/langturkishmodel.pyc
+${PYSITELIB}/requests/packages/chardet/langturkishmodel.pyo
${PYSITELIB}/requests/packages/chardet/latin1prober.py
${PYSITELIB}/requests/packages/chardet/latin1prober.pyc
${PYSITELIB}/requests/packages/chardet/latin1prober.pyo
@@ -156,6 +162,9 @@ ${PYSITELIB}/requests/packages/chardet/universaldetector.pyo
${PYSITELIB}/requests/packages/chardet/utf8prober.py
${PYSITELIB}/requests/packages/chardet/utf8prober.pyc
${PYSITELIB}/requests/packages/chardet/utf8prober.pyo
+${PYSITELIB}/requests/packages/chardet/version.py
+${PYSITELIB}/requests/packages/chardet/version.pyc
+${PYSITELIB}/requests/packages/chardet/version.pyo
${PYSITELIB}/requests/packages/idna/__init__.py
${PYSITELIB}/requests/packages/idna/__init__.pyc
${PYSITELIB}/requests/packages/idna/__init__.pyo
@@ -192,6 +201,15 @@ ${PYSITELIB}/requests/packages/urllib3/connectionpool.pyo
${PYSITELIB}/requests/packages/urllib3/contrib/__init__.py
${PYSITELIB}/requests/packages/urllib3/contrib/__init__.pyc
${PYSITELIB}/requests/packages/urllib3/contrib/__init__.pyo
+${PYSITELIB}/requests/packages/urllib3/contrib/_securetransport/__init__.py
+${PYSITELIB}/requests/packages/urllib3/contrib/_securetransport/__init__.pyc
+${PYSITELIB}/requests/packages/urllib3/contrib/_securetransport/__init__.pyo
+${PYSITELIB}/requests/packages/urllib3/contrib/_securetransport/bindings.py
+${PYSITELIB}/requests/packages/urllib3/contrib/_securetransport/bindings.pyc
+${PYSITELIB}/requests/packages/urllib3/contrib/_securetransport/bindings.pyo
+${PYSITELIB}/requests/packages/urllib3/contrib/_securetransport/low_level.py
+${PYSITELIB}/requests/packages/urllib3/contrib/_securetransport/low_level.pyc
+${PYSITELIB}/requests/packages/urllib3/contrib/_securetransport/low_level.pyo
${PYSITELIB}/requests/packages/urllib3/contrib/appengine.py
${PYSITELIB}/requests/packages/urllib3/contrib/appengine.pyc
${PYSITELIB}/requests/packages/urllib3/contrib/appengine.pyo
@@ -201,6 +219,9 @@ ${PYSITELIB}/requests/packages/urllib3/contrib/ntlmpool.pyo
${PYSITELIB}/requests/packages/urllib3/contrib/pyopenssl.py
${PYSITELIB}/requests/packages/urllib3/contrib/pyopenssl.pyc
${PYSITELIB}/requests/packages/urllib3/contrib/pyopenssl.pyo
+${PYSITELIB}/requests/packages/urllib3/contrib/securetransport.py
+${PYSITELIB}/requests/packages/urllib3/contrib/securetransport.pyc
+${PYSITELIB}/requests/packages/urllib3/contrib/securetransport.pyo
${PYSITELIB}/requests/packages/urllib3/contrib/socks.py
${PYSITELIB}/requests/packages/urllib3/contrib/socks.pyc
${PYSITELIB}/requests/packages/urllib3/contrib/socks.pyo
diff --git a/devel/py-requests/distinfo b/devel/py-requests/distinfo
index 80b13d482e6..e8fb0b394cc 100644
--- a/devel/py-requests/distinfo
+++ b/devel/py-requests/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.19 2017/04/04 12:42:23 adam Exp $
+$NetBSD: distinfo,v 1.20 2017/05/09 17:08:39 adam Exp $
-SHA1 (requests-2.13.0.tar.gz) = 827f7c8abb5a57d980d9870908724613b8b120c1
-RMD160 (requests-2.13.0.tar.gz) = 72ba4e042f98baaa7e7a9c257c484bbe2815160e
-SHA512 (requests-2.13.0.tar.gz) = d3e9c25d1ce7ecf51bd4b137645d06c07170542a78fc847b1c30cad6efa9bcbf36d4b0c809389cbf260dc7d73128ab6bbed1e197cba9497b6ad791b48014ae14
-Size (requests-2.13.0.tar.gz) = 557508 bytes
+SHA1 (requests-2.14.0.tar.gz) = 160b8b30d84c939f58d1d12e88a9506dccae2b31
+RMD160 (requests-2.14.0.tar.gz) = cc1989f0af4f8eb64fb1bc6e9ec8a42bba6ccbd7
+SHA512 (requests-2.14.0.tar.gz) = 2769f23b0c12eb92fe6cc939f8c0626ae2b84a9426fc89dff3c2f5991a30bc0f918359984e637d9d93fe8b00b9985cd8c50dea601d76d5752884bf0222781bd2
+Size (requests-2.14.0.tar.gz) = 520782 bytes
SHA1 (patch-requests_____init____.py) = 4630c41f4048acbce30f9f4825c8724346256865