Fri Dec 4 21:48:21 2015 UTC ()
Update py-requests-toolbelt to 0.5.0.

Add test dependencies. All tests pass.

0.5.0 -- 2015-11-24
-------------------

More information about this release can be found on the `milestone
<https://github.com/sigmavirus24/requests-toolbelt/issues?utf8=%E2%9C%93&q=is%3Aall+milestone%3A0.5+>`_
for 0.5.0.

New Features
~~~~~~~~~~~~

- The ``tee`` submodule was added to ``requests_toolbelt.downloadutils``. It
  allows you to iterate over the bytes of a response while also writing them
  to a file. The ``tee.tee`` function, expects you to pass an open file
  object, while ``tee.tee_to_file`` will use the provided file name to open
  the file for you.

- Added a new parameter to ``requests_toolbelt.utils.user_agent`` that allows
  the user to specify additional items.

- Added nested form-data helper,
  ``requests_toolbelt.utils.formdata.urlencode``.

- Added the ``ForgetfulCookieJar`` to ``requests_toolbelt.cookies``.

- Added utilities for dumping the information about a request-response cycle
  in ``requests_toolbelt.utils.dump``.

- Implemented the API described in the ``requests_toolbelt.threaded`` module
  docstring, i.e., added ``requests_toolbelt.threaded.map`` as an available
  function.

Fixed Bugs
~~~~~~~~~~

- Now papers over the API differences in versions of requests installed from
  system packages versus versions of requests installed from PyPI.

- Allow string types for ``SourceAddressAdapter``.


(wiz)
diff -r1.4 -r1.5 pkgsrc/devel/py-requests-toolbelt/Makefile
diff -r1.4 -r1.5 pkgsrc/devel/py-requests-toolbelt/distinfo
diff -r1.3 -r1.4 pkgsrc/devel/py-requests-toolbelt/PLIST
diff -r1.1 -r0 pkgsrc/devel/py-requests-toolbelt/patches/patch-requests__toolbelt_auth___digest__auth__compat.py
diff -r1.1 -r0 pkgsrc/devel/py-requests-toolbelt/patches/patch-requests__toolbelt_auth_guess.py
diff -r1.1 -r0 pkgsrc/devel/py-requests-toolbelt/patches/patch-requests__toolbelt_auth_http__proxy__digest.py

cvs diff -r1.4 -r1.5 pkgsrc/devel/py-requests-toolbelt/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-requests-toolbelt/Makefile 2015/11/24 10:27:26 1.4
+++ pkgsrc/devel/py-requests-toolbelt/Makefile 2015/12/04 21:48:21 1.5
@@ -1,19 +1,21 @@ @@ -1,19 +1,21 @@
1# $NetBSD: Makefile,v 1.4 2015/11/24 10:27:26 wiz Exp $ 1# $NetBSD: Makefile,v 1.5 2015/12/04 21:48:21 wiz Exp $
2 2
3DISTNAME= requests-toolbelt-0.4.0 3DISTNAME= requests-toolbelt-0.5.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5PKGREVISION= 1 
6CATEGORIES= devel 5CATEGORIES= devel
7MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests-toolbelt/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests-toolbelt/}
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://pypi.python.org/pypi/requests-toolbelt 9HOMEPAGE= https://pypi.python.org/pypi/requests-toolbelt
11COMMENT= Utility belt for advanced users of python-requests 10COMMENT= Utility belt for advanced users of python-requests
12LICENSE= apache-2.0 11LICENSE= apache-2.0
13 12
14DEPENDS+= ${PYPKGPREFIX}-requests>=2.1.0:../../devel/py-requests 13DEPENDS+= ${PYPKGPREFIX}-requests>=2.1.0:../../devel/py-requests
 14BUILD_DEPENDS+= ${PYPKGPREFIX}-betamax-[0-9]*:../../www/py-betamax
 15BUILD_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 16BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
15 17
16USE_LANGUAGES= # none 18USE_LANGUAGES= # none
17 19
18.include "../../lang/python/egg.mk" 20.include "../../lang/python/egg.mk"
19.include "../../mk/bsd.pkg.mk" 21.include "../../mk/bsd.pkg.mk"

cvs diff -r1.4 -r1.5 pkgsrc/devel/py-requests-toolbelt/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-requests-toolbelt/distinfo 2015/11/24 10:27:26 1.4
+++ pkgsrc/devel/py-requests-toolbelt/distinfo 2015/12/04 21:48:21 1.5
@@ -1,9 +1,6 @@ @@ -1,9 +1,6 @@
1$NetBSD: distinfo,v 1.4 2015/11/24 10:27:26 wiz Exp $ 1$NetBSD: distinfo,v 1.5 2015/12/04 21:48:21 wiz Exp $
2 2
3SHA1 (requests-toolbelt-0.4.0.tar.gz) = 89034149cb90c4ba825bbc8c68a590c3ad41f067 3SHA1 (requests-toolbelt-0.5.0.tar.gz) = 5d7af9b9b3a80f627170461132dcf5c15d9b1f45
4RMD160 (requests-toolbelt-0.4.0.tar.gz) = 06759883eac9d07a4a5a037746c9d36140f8396d 4RMD160 (requests-toolbelt-0.5.0.tar.gz) = 0f9cf8ecb6cccf24ba2540cb21996684d4130d2a
5SHA512 (requests-toolbelt-0.4.0.tar.gz) = f3fce2f93c1152a7f42bed57bcff5910f2cb5cae27d3beea58ddfac556752c65c30e3dfd0409bcc110073d1e42edba873886c99129811115b297eb26f071577d 5SHA512 (requests-toolbelt-0.5.0.tar.gz) = 9f01f5783f5ab852fc6bc536a8ede23ad102d7ae0a476e3c749e1d63bc3466da3212259fd2276c35e95d987e64d72036c6d7f10727cc242b5b3026e884d0c014
6Size (requests-toolbelt-0.4.0.tar.gz) = 25451 bytes 6Size (requests-toolbelt-0.5.0.tar.gz) = 182971 bytes
7SHA1 (patch-requests__toolbelt_auth___digest__auth__compat.py) = 662f4681dff1f1795597770b50fc2c1fb6955fa0 
8SHA1 (patch-requests__toolbelt_auth_guess.py) = 352acc6d4b9a98d17133257edb497743c8d09191 
9SHA1 (patch-requests__toolbelt_auth_http__proxy__digest.py) = 65fe748ff7de4ebcfdc7799c4134372007d124ff 

cvs diff -r1.3 -r1.4 pkgsrc/devel/py-requests-toolbelt/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-requests-toolbelt/PLIST 2015/11/24 10:27:26 1.3
+++ pkgsrc/devel/py-requests-toolbelt/PLIST 2015/12/04 21:48:21 1.4
@@ -1,22 +1,25 @@ @@ -1,22 +1,25 @@
1@comment $NetBSD: PLIST,v 1.3 2015/11/24 10:27:26 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.4 2015/12/04 21:48:21 wiz Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5${PYSITELIB}/${EGG_INFODIR}/requires.txt 5${PYSITELIB}/${EGG_INFODIR}/requires.txt
6${PYSITELIB}/${EGG_INFODIR}/top_level.txt 6${PYSITELIB}/${EGG_INFODIR}/top_level.txt
7${PYSITELIB}/requests_toolbelt/__init__.py 7${PYSITELIB}/requests_toolbelt/__init__.py
8${PYSITELIB}/requests_toolbelt/__init__.pyc 8${PYSITELIB}/requests_toolbelt/__init__.pyc
9${PYSITELIB}/requests_toolbelt/__init__.pyo 9${PYSITELIB}/requests_toolbelt/__init__.pyo
 10${PYSITELIB}/requests_toolbelt/_compat.py
 11${PYSITELIB}/requests_toolbelt/_compat.pyc
 12${PYSITELIB}/requests_toolbelt/_compat.pyo
10${PYSITELIB}/requests_toolbelt/adapters/__init__.py 13${PYSITELIB}/requests_toolbelt/adapters/__init__.py
11${PYSITELIB}/requests_toolbelt/adapters/__init__.pyc 14${PYSITELIB}/requests_toolbelt/adapters/__init__.pyc
12${PYSITELIB}/requests_toolbelt/adapters/__init__.pyo 15${PYSITELIB}/requests_toolbelt/adapters/__init__.pyo
13${PYSITELIB}/requests_toolbelt/adapters/fingerprint.py 16${PYSITELIB}/requests_toolbelt/adapters/fingerprint.py
14${PYSITELIB}/requests_toolbelt/adapters/fingerprint.pyc 17${PYSITELIB}/requests_toolbelt/adapters/fingerprint.pyc
15${PYSITELIB}/requests_toolbelt/adapters/fingerprint.pyo 18${PYSITELIB}/requests_toolbelt/adapters/fingerprint.pyo
16${PYSITELIB}/requests_toolbelt/adapters/socket_options.py 19${PYSITELIB}/requests_toolbelt/adapters/socket_options.py
17${PYSITELIB}/requests_toolbelt/adapters/socket_options.pyc 20${PYSITELIB}/requests_toolbelt/adapters/socket_options.pyc
18${PYSITELIB}/requests_toolbelt/adapters/socket_options.pyo 21${PYSITELIB}/requests_toolbelt/adapters/socket_options.pyo
19${PYSITELIB}/requests_toolbelt/adapters/source.py 22${PYSITELIB}/requests_toolbelt/adapters/source.py
20${PYSITELIB}/requests_toolbelt/adapters/source.pyc 23${PYSITELIB}/requests_toolbelt/adapters/source.pyc
21${PYSITELIB}/requests_toolbelt/adapters/source.pyo 24${PYSITELIB}/requests_toolbelt/adapters/source.pyo
22${PYSITELIB}/requests_toolbelt/adapters/ssl.py 25${PYSITELIB}/requests_toolbelt/adapters/ssl.py
@@ -27,32 +30,41 @@ ${PYSITELIB}/requests_toolbelt/auth/__in @@ -27,32 +30,41 @@ ${PYSITELIB}/requests_toolbelt/auth/__in
27${PYSITELIB}/requests_toolbelt/auth/__init__.pyo 30${PYSITELIB}/requests_toolbelt/auth/__init__.pyo
28${PYSITELIB}/requests_toolbelt/auth/_digest_auth_compat.py 31${PYSITELIB}/requests_toolbelt/auth/_digest_auth_compat.py
29${PYSITELIB}/requests_toolbelt/auth/_digest_auth_compat.pyc 32${PYSITELIB}/requests_toolbelt/auth/_digest_auth_compat.pyc
30${PYSITELIB}/requests_toolbelt/auth/_digest_auth_compat.pyo 33${PYSITELIB}/requests_toolbelt/auth/_digest_auth_compat.pyo
31${PYSITELIB}/requests_toolbelt/auth/guess.py 34${PYSITELIB}/requests_toolbelt/auth/guess.py
32${PYSITELIB}/requests_toolbelt/auth/guess.pyc 35${PYSITELIB}/requests_toolbelt/auth/guess.pyc
33${PYSITELIB}/requests_toolbelt/auth/guess.pyo 36${PYSITELIB}/requests_toolbelt/auth/guess.pyo
34${PYSITELIB}/requests_toolbelt/auth/handler.py 37${PYSITELIB}/requests_toolbelt/auth/handler.py
35${PYSITELIB}/requests_toolbelt/auth/handler.pyc 38${PYSITELIB}/requests_toolbelt/auth/handler.pyc
36${PYSITELIB}/requests_toolbelt/auth/handler.pyo 39${PYSITELIB}/requests_toolbelt/auth/handler.pyo
37${PYSITELIB}/requests_toolbelt/auth/http_proxy_digest.py 40${PYSITELIB}/requests_toolbelt/auth/http_proxy_digest.py
38${PYSITELIB}/requests_toolbelt/auth/http_proxy_digest.pyc 41${PYSITELIB}/requests_toolbelt/auth/http_proxy_digest.pyc
39${PYSITELIB}/requests_toolbelt/auth/http_proxy_digest.pyo 42${PYSITELIB}/requests_toolbelt/auth/http_proxy_digest.pyo
 43${PYSITELIB}/requests_toolbelt/cookies/__init__.py
 44${PYSITELIB}/requests_toolbelt/cookies/__init__.pyc
 45${PYSITELIB}/requests_toolbelt/cookies/__init__.pyo
 46${PYSITELIB}/requests_toolbelt/cookies/forgetful.py
 47${PYSITELIB}/requests_toolbelt/cookies/forgetful.pyc
 48${PYSITELIB}/requests_toolbelt/cookies/forgetful.pyo
40${PYSITELIB}/requests_toolbelt/downloadutils/__init__.py 49${PYSITELIB}/requests_toolbelt/downloadutils/__init__.py
41${PYSITELIB}/requests_toolbelt/downloadutils/__init__.pyc 50${PYSITELIB}/requests_toolbelt/downloadutils/__init__.pyc
42${PYSITELIB}/requests_toolbelt/downloadutils/__init__.pyo 51${PYSITELIB}/requests_toolbelt/downloadutils/__init__.pyo
43${PYSITELIB}/requests_toolbelt/downloadutils/stream.py 52${PYSITELIB}/requests_toolbelt/downloadutils/stream.py
44${PYSITELIB}/requests_toolbelt/downloadutils/stream.pyc 53${PYSITELIB}/requests_toolbelt/downloadutils/stream.pyc
45${PYSITELIB}/requests_toolbelt/downloadutils/stream.pyo 54${PYSITELIB}/requests_toolbelt/downloadutils/stream.pyo
 55${PYSITELIB}/requests_toolbelt/downloadutils/tee.py
 56${PYSITELIB}/requests_toolbelt/downloadutils/tee.pyc
 57${PYSITELIB}/requests_toolbelt/downloadutils/tee.pyo
46${PYSITELIB}/requests_toolbelt/exceptions.py 58${PYSITELIB}/requests_toolbelt/exceptions.py
47${PYSITELIB}/requests_toolbelt/exceptions.pyc 59${PYSITELIB}/requests_toolbelt/exceptions.pyc
48${PYSITELIB}/requests_toolbelt/exceptions.pyo 60${PYSITELIB}/requests_toolbelt/exceptions.pyo
49${PYSITELIB}/requests_toolbelt/multipart/__init__.py 61${PYSITELIB}/requests_toolbelt/multipart/__init__.py
50${PYSITELIB}/requests_toolbelt/multipart/__init__.pyc 62${PYSITELIB}/requests_toolbelt/multipart/__init__.pyc
51${PYSITELIB}/requests_toolbelt/multipart/__init__.pyo 63${PYSITELIB}/requests_toolbelt/multipart/__init__.pyo
52${PYSITELIB}/requests_toolbelt/multipart/decoder.py 64${PYSITELIB}/requests_toolbelt/multipart/decoder.py
53${PYSITELIB}/requests_toolbelt/multipart/decoder.pyc 65${PYSITELIB}/requests_toolbelt/multipart/decoder.pyc
54${PYSITELIB}/requests_toolbelt/multipart/decoder.pyo 66${PYSITELIB}/requests_toolbelt/multipart/decoder.pyo
55${PYSITELIB}/requests_toolbelt/multipart/encoder.py 67${PYSITELIB}/requests_toolbelt/multipart/encoder.py
56${PYSITELIB}/requests_toolbelt/multipart/encoder.pyc 68${PYSITELIB}/requests_toolbelt/multipart/encoder.pyc
57${PYSITELIB}/requests_toolbelt/multipart/encoder.pyo 69${PYSITELIB}/requests_toolbelt/multipart/encoder.pyo
58${PYSITELIB}/requests_toolbelt/streaming_iterator.py 70${PYSITELIB}/requests_toolbelt/streaming_iterator.py
@@ -63,16 +75,22 @@ ${PYSITELIB}/requests_toolbelt/threaded/ @@ -63,16 +75,22 @@ ${PYSITELIB}/requests_toolbelt/threaded/
63${PYSITELIB}/requests_toolbelt/threaded/__init__.pyo 75${PYSITELIB}/requests_toolbelt/threaded/__init__.pyo
64${PYSITELIB}/requests_toolbelt/threaded/pool.py 76${PYSITELIB}/requests_toolbelt/threaded/pool.py
65${PYSITELIB}/requests_toolbelt/threaded/pool.pyc 77${PYSITELIB}/requests_toolbelt/threaded/pool.pyc
66${PYSITELIB}/requests_toolbelt/threaded/pool.pyo 78${PYSITELIB}/requests_toolbelt/threaded/pool.pyo
67${PYSITELIB}/requests_toolbelt/threaded/thread.py 79${PYSITELIB}/requests_toolbelt/threaded/thread.py
68${PYSITELIB}/requests_toolbelt/threaded/thread.pyc 80${PYSITELIB}/requests_toolbelt/threaded/thread.pyc
69${PYSITELIB}/requests_toolbelt/threaded/thread.pyo 81${PYSITELIB}/requests_toolbelt/threaded/thread.pyo
70${PYSITELIB}/requests_toolbelt/utils/__init__.py 82${PYSITELIB}/requests_toolbelt/utils/__init__.py
71${PYSITELIB}/requests_toolbelt/utils/__init__.pyc 83${PYSITELIB}/requests_toolbelt/utils/__init__.pyc
72${PYSITELIB}/requests_toolbelt/utils/__init__.pyo 84${PYSITELIB}/requests_toolbelt/utils/__init__.pyo
73${PYSITELIB}/requests_toolbelt/utils/deprecated.py 85${PYSITELIB}/requests_toolbelt/utils/deprecated.py
74${PYSITELIB}/requests_toolbelt/utils/deprecated.pyc 86${PYSITELIB}/requests_toolbelt/utils/deprecated.pyc
75${PYSITELIB}/requests_toolbelt/utils/deprecated.pyo 87${PYSITELIB}/requests_toolbelt/utils/deprecated.pyo
 88${PYSITELIB}/requests_toolbelt/utils/dump.py
 89${PYSITELIB}/requests_toolbelt/utils/dump.pyc
 90${PYSITELIB}/requests_toolbelt/utils/dump.pyo
 91${PYSITELIB}/requests_toolbelt/utils/formdata.py
 92${PYSITELIB}/requests_toolbelt/utils/formdata.pyc
 93${PYSITELIB}/requests_toolbelt/utils/formdata.pyo
76${PYSITELIB}/requests_toolbelt/utils/user_agent.py 94${PYSITELIB}/requests_toolbelt/utils/user_agent.py
77${PYSITELIB}/requests_toolbelt/utils/user_agent.pyc 95${PYSITELIB}/requests_toolbelt/utils/user_agent.pyc
78${PYSITELIB}/requests_toolbelt/utils/user_agent.pyo 96${PYSITELIB}/requests_toolbelt/utils/user_agent.pyo

File Deleted: pkgsrc/devel/py-requests-toolbelt/patches/Attic/patch-requests__toolbelt_auth___digest__auth__compat.py

File Deleted: pkgsrc/devel/py-requests-toolbelt/patches/Attic/patch-requests__toolbelt_auth_guess.py

File Deleted: pkgsrc/devel/py-requests-toolbelt/patches/Attic/patch-requests__toolbelt_auth_http__proxy__digest.py