diff options
author | wiz <wiz> | 2015-04-05 14:20:03 +0000 |
---|---|---|
committer | wiz <wiz> | 2015-04-05 14:20:03 +0000 |
commit | 72384dba09898101f06ff8ea2249ed75582e19f0 (patch) | |
tree | f25d2a1fd1674340d3e751ad294ad8551819b076 /devel | |
parent | 9c957c82166a903b1b5ead69d4227e8b4ac385be (diff) | |
download | pkgsrc-72384dba09898101f06ff8ea2249ed75582e19f0.tar.gz |
Update to 0.4.0:
0.4.0 -- 2015-04-03
-------------------
For more information about this release, please see `milestone 0.4.0
<https://github.com/sigmavirus24/requests-toolbelt/issues/46>`_ on the
project's page.
New Features
~~~~~~~~~~~~
- A naive implemenation of a thread pool is now included in the toolbelt. See
the docs in ``docs/threading.rst`` or on `Read The Docs
<https://toolbelt.readthedocs.org>`_.
- The ``StreamingIterator`` now accepts files (such as ``sys.stdin``) without
a specific length and will properly stream them.
- The ``MultipartEncoder`` now accepts exactly the same format of fields as
requests' ``files`` parameter does. In other words, you can now also pass in
extra headers to add to a part in the body. You can also now specify a
custom ``Content-Type`` for a part.
- An implementation of HTTP Digest Authentication for Proxies is now included.
- A transport adapter that allows a user to specify a specific Certificate
Fingerprint is now included in the toolbelt.
- A transport adapter that simplifies how users specify socket options is now
included.
- A transport adapter that simplifies how users can specify TCP Keep-Alive
options is now included in the toolbelt.
- Deprecated functions from ``requests.utils`` are now included and
maintained.
- An authentication tool that allows users to specify how to authenticate to
several different domains at once is now included.
- A function to save streamed responses to disk by analyzing the
``Content-Disposition`` header is now included in the toolbelt.
Fixed Bugs
~~~~~~~~~~
- The ``MultipartEncoder`` will now allow users to upload files larger than
4GB on 32-bit systems.
- The ``MultipartEncoder`` will now accept empty unicode strings for form
values.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-requests-toolbelt/Makefile | 4 | ||||
-rw-r--r-- | devel/py-requests-toolbelt/PLIST | 65 | ||||
-rw-r--r-- | devel/py-requests-toolbelt/distinfo | 8 |
3 files changed, 58 insertions, 19 deletions
diff --git a/devel/py-requests-toolbelt/Makefile b/devel/py-requests-toolbelt/Makefile index 52048f9ef9e..022e72bcefa 100644 --- a/devel/py-requests-toolbelt/Makefile +++ b/devel/py-requests-toolbelt/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.2 2014/12/31 13:57:27 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2015/04/05 14:20:03 wiz Exp $ -DISTNAME= requests-toolbelt-0.3.1 +DISTNAME= requests-toolbelt-0.4.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel MASTER_SITES= https://pypi.python.org/packages/source/r/requests-toolbelt/ diff --git a/devel/py-requests-toolbelt/PLIST b/devel/py-requests-toolbelt/PLIST index 5a5c3c844f0..c5a4e9c6283 100644 --- a/devel/py-requests-toolbelt/PLIST +++ b/devel/py-requests-toolbelt/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2014/08/18 10:00:05 wiz Exp $ +@comment $NetBSD: PLIST,v 1.2 2015/04/05 14:20:03 wiz Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -7,30 +7,69 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.txt ${PYSITELIB}/requests_toolbelt/__init__.py ${PYSITELIB}/requests_toolbelt/__init__.pyc ${PYSITELIB}/requests_toolbelt/__init__.pyo -${PYSITELIB}/requests_toolbelt/auth.pyc -${PYSITELIB}/requests_toolbelt/auth.pyo -${PYSITELIB}/requests_toolbelt/streaming_iterator.pyc -${PYSITELIB}/requests_toolbelt/streaming_iterator.pyo -${PYSITELIB}/requests_toolbelt/user_agent.pyc -${PYSITELIB}/requests_toolbelt/user_agent.pyo ${PYSITELIB}/requests_toolbelt/adapters/__init__.py ${PYSITELIB}/requests_toolbelt/adapters/__init__.pyc ${PYSITELIB}/requests_toolbelt/adapters/__init__.pyo +${PYSITELIB}/requests_toolbelt/adapters/fingerprint.py +${PYSITELIB}/requests_toolbelt/adapters/fingerprint.pyc +${PYSITELIB}/requests_toolbelt/adapters/fingerprint.pyo +${PYSITELIB}/requests_toolbelt/adapters/socket_options.py +${PYSITELIB}/requests_toolbelt/adapters/socket_options.pyc +${PYSITELIB}/requests_toolbelt/adapters/socket_options.pyo +${PYSITELIB}/requests_toolbelt/adapters/source.py ${PYSITELIB}/requests_toolbelt/adapters/source.pyc ${PYSITELIB}/requests_toolbelt/adapters/source.pyo +${PYSITELIB}/requests_toolbelt/adapters/ssl.py ${PYSITELIB}/requests_toolbelt/adapters/ssl.pyc ${PYSITELIB}/requests_toolbelt/adapters/ssl.pyo -${PYSITELIB}/requests_toolbelt/adapters/source.py -${PYSITELIB}/requests_toolbelt/adapters/ssl.py -${PYSITELIB}/requests_toolbelt/auth.py +${PYSITELIB}/requests_toolbelt/auth/__init__.py +${PYSITELIB}/requests_toolbelt/auth/__init__.pyc +${PYSITELIB}/requests_toolbelt/auth/__init__.pyo +${PYSITELIB}/requests_toolbelt/auth/guess.py +${PYSITELIB}/requests_toolbelt/auth/guess.pyc +${PYSITELIB}/requests_toolbelt/auth/guess.pyo +${PYSITELIB}/requests_toolbelt/auth/handler.py +${PYSITELIB}/requests_toolbelt/auth/handler.pyc +${PYSITELIB}/requests_toolbelt/auth/handler.pyo +${PYSITELIB}/requests_toolbelt/auth/http_proxy_digest.py +${PYSITELIB}/requests_toolbelt/auth/http_proxy_digest.pyc +${PYSITELIB}/requests_toolbelt/auth/http_proxy_digest.pyo +${PYSITELIB}/requests_toolbelt/downloadutils/__init__.py +${PYSITELIB}/requests_toolbelt/downloadutils/__init__.pyc +${PYSITELIB}/requests_toolbelt/downloadutils/__init__.pyo +${PYSITELIB}/requests_toolbelt/downloadutils/stream.py +${PYSITELIB}/requests_toolbelt/downloadutils/stream.pyc +${PYSITELIB}/requests_toolbelt/downloadutils/stream.pyo +${PYSITELIB}/requests_toolbelt/exceptions.py +${PYSITELIB}/requests_toolbelt/exceptions.pyc +${PYSITELIB}/requests_toolbelt/exceptions.pyo ${PYSITELIB}/requests_toolbelt/multipart/__init__.py ${PYSITELIB}/requests_toolbelt/multipart/__init__.pyc ${PYSITELIB}/requests_toolbelt/multipart/__init__.pyo +${PYSITELIB}/requests_toolbelt/multipart/decoder.py ${PYSITELIB}/requests_toolbelt/multipart/decoder.pyc ${PYSITELIB}/requests_toolbelt/multipart/decoder.pyo +${PYSITELIB}/requests_toolbelt/multipart/encoder.py ${PYSITELIB}/requests_toolbelt/multipart/encoder.pyc ${PYSITELIB}/requests_toolbelt/multipart/encoder.pyo -${PYSITELIB}/requests_toolbelt/multipart/decoder.py -${PYSITELIB}/requests_toolbelt/multipart/encoder.py ${PYSITELIB}/requests_toolbelt/streaming_iterator.py -${PYSITELIB}/requests_toolbelt/user_agent.py +${PYSITELIB}/requests_toolbelt/streaming_iterator.pyc +${PYSITELIB}/requests_toolbelt/streaming_iterator.pyo +${PYSITELIB}/requests_toolbelt/threaded/__init__.py +${PYSITELIB}/requests_toolbelt/threaded/__init__.pyc +${PYSITELIB}/requests_toolbelt/threaded/__init__.pyo +${PYSITELIB}/requests_toolbelt/threaded/pool.py +${PYSITELIB}/requests_toolbelt/threaded/pool.pyc +${PYSITELIB}/requests_toolbelt/threaded/pool.pyo +${PYSITELIB}/requests_toolbelt/threaded/thread.py +${PYSITELIB}/requests_toolbelt/threaded/thread.pyc +${PYSITELIB}/requests_toolbelt/threaded/thread.pyo +${PYSITELIB}/requests_toolbelt/utils/__init__.py +${PYSITELIB}/requests_toolbelt/utils/__init__.pyc +${PYSITELIB}/requests_toolbelt/utils/__init__.pyo +${PYSITELIB}/requests_toolbelt/utils/deprecated.py +${PYSITELIB}/requests_toolbelt/utils/deprecated.pyc +${PYSITELIB}/requests_toolbelt/utils/deprecated.pyo +${PYSITELIB}/requests_toolbelt/utils/user_agent.py +${PYSITELIB}/requests_toolbelt/utils/user_agent.pyc +${PYSITELIB}/requests_toolbelt/utils/user_agent.pyo diff --git a/devel/py-requests-toolbelt/distinfo b/devel/py-requests-toolbelt/distinfo index c0b2dedd5bd..7e1642056a0 100644 --- a/devel/py-requests-toolbelt/distinfo +++ b/devel/py-requests-toolbelt/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1 2014/08/18 10:00:05 wiz Exp $ +$NetBSD: distinfo,v 1.2 2015/04/05 14:20:03 wiz Exp $ -SHA1 (requests-toolbelt-0.3.1.tar.gz) = 4f4916454da3606b7bbbca7239150f9e390b1c8d -RMD160 (requests-toolbelt-0.3.1.tar.gz) = fab3e33edc59a62030dbedef589db3725b4bdd67 -Size (requests-toolbelt-0.3.1.tar.gz) = 14609 bytes +SHA1 (requests-toolbelt-0.4.0.tar.gz) = 89034149cb90c4ba825bbc8c68a590c3ad41f067 +RMD160 (requests-toolbelt-0.4.0.tar.gz) = 06759883eac9d07a4a5a037746c9d36140f8396d +Size (requests-toolbelt-0.4.0.tar.gz) = 25451 bytes |