pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-requests-toolbelt Update to 0.4.0:
details: https://anonhg.NetBSD.org/pkgsrc/rev/07dded9b6fea
branches: trunk
changeset: 649582:07dded9b6fea
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Apr 05 14:20:03 2015 +0000
description:
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:
devel/py-requests-toolbelt/Makefile | 4 +-
devel/py-requests-toolbelt/PLIST | 65 +++++++++++++++++++++++++++++-------
devel/py-requests-toolbelt/distinfo | 8 ++--
3 files changed, 58 insertions(+), 19 deletions(-)
diffs (116 lines):
diff -r 0544d316d68e -r 07dded9b6fea devel/py-requests-toolbelt/Makefile
--- a/devel/py-requests-toolbelt/Makefile Sun Apr 05 14:17:50 2015 +0000
+++ b/devel/py-requests-toolbelt/Makefile Sun Apr 05 14:20:03 2015 +0000
@@ -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 -r 0544d316d68e -r 07dded9b6fea devel/py-requests-toolbelt/PLIST
--- a/devel/py-requests-toolbelt/PLIST Sun Apr 05 14:17:50 2015 +0000
+++ b/devel/py-requests-toolbelt/PLIST Sun Apr 05 14:20:03 2015 +0000
@@ -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}/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 -r 0544d316d68e -r 07dded9b6fea devel/py-requests-toolbelt/distinfo
--- a/devel/py-requests-toolbelt/distinfo Sun Apr 05 14:17:50 2015 +0000
+++ b/devel/py-requests-toolbelt/distinfo Sun Apr 05 14:20:03 2015 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index