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 Updated py-requests-toolbel...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/662e4333a4fd
branches:  trunk
changeset: 350221:662e4333a4fd
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jul 24 19:27:38 2016 +0000

description:
Updated py-requests-toolbelt to 0.7.0.

0.7.0 -- 2016-07-21
-------------------

More information about this release can be found on the `0.7.0 milestone`_.

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

- Add ``BaseUrlSession`` to allow developers to have a session that has a
  "Base" URL. See the documentation for more details and examples.

- Split the logic of ``stream_response_to_file`` into two separate functions:

  * ``get_download_file_path`` to generate the file name from the Response.

  * ``stream_response_to_file`` which will use ``get_download_file_path`` if
    necessary

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

- Fixed the issue for people using *very* old versions of Requests where they
  would see an ImportError from ``requests_toolbelt._compat`` when trying to
  import ``connection``.


.. _0.7.0 milestone:
    https://github.com/sigmavirus24/requests-toolbelt/milestones/0.7.0

diffstat:

 devel/py-requests-toolbelt/Makefile |   4 ++--
 devel/py-requests-toolbelt/PLIST    |   8 +++++++-
 devel/py-requests-toolbelt/distinfo |  10 +++++-----
 3 files changed, 14 insertions(+), 8 deletions(-)

diffs (56 lines):

diff -r d614ab5d6aac -r 662e4333a4fd devel/py-requests-toolbelt/Makefile
--- a/devel/py-requests-toolbelt/Makefile       Sun Jul 24 19:25:48 2016 +0000
+++ b/devel/py-requests-toolbelt/Makefile       Sun Jul 24 19:27:38 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2016/06/08 17:49:19 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2016/07/24 19:27:38 wiz Exp $
 
-DISTNAME=      requests-toolbelt-0.6.2
+DISTNAME=      requests-toolbelt-0.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/requests-toolbelt/}
diff -r d614ab5d6aac -r 662e4333a4fd devel/py-requests-toolbelt/PLIST
--- a/devel/py-requests-toolbelt/PLIST  Sun Jul 24 19:25:48 2016 +0000
+++ b/devel/py-requests-toolbelt/PLIST  Sun Jul 24 19:27:38 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2016/02/01 13:23:56 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2016/07/24 19:27:38 wiz Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -19,6 +19,9 @@
 ${PYSITELIB}/requests_toolbelt/adapters/fingerprint.py
 ${PYSITELIB}/requests_toolbelt/adapters/fingerprint.pyc
 ${PYSITELIB}/requests_toolbelt/adapters/fingerprint.pyo
+${PYSITELIB}/requests_toolbelt/adapters/host_header_ssl.py
+${PYSITELIB}/requests_toolbelt/adapters/host_header_ssl.pyc
+${PYSITELIB}/requests_toolbelt/adapters/host_header_ssl.pyo
 ${PYSITELIB}/requests_toolbelt/adapters/socket_options.py
 ${PYSITELIB}/requests_toolbelt/adapters/socket_options.pyc
 ${PYSITELIB}/requests_toolbelt/adapters/socket_options.pyo
@@ -70,6 +73,9 @@
 ${PYSITELIB}/requests_toolbelt/multipart/encoder.py
 ${PYSITELIB}/requests_toolbelt/multipart/encoder.pyc
 ${PYSITELIB}/requests_toolbelt/multipart/encoder.pyo
+${PYSITELIB}/requests_toolbelt/sessions.py
+${PYSITELIB}/requests_toolbelt/sessions.pyc
+${PYSITELIB}/requests_toolbelt/sessions.pyo
 ${PYSITELIB}/requests_toolbelt/streaming_iterator.py
 ${PYSITELIB}/requests_toolbelt/streaming_iterator.pyc
 ${PYSITELIB}/requests_toolbelt/streaming_iterator.pyo
diff -r d614ab5d6aac -r 662e4333a4fd devel/py-requests-toolbelt/distinfo
--- a/devel/py-requests-toolbelt/distinfo       Sun Jul 24 19:25:48 2016 +0000
+++ b/devel/py-requests-toolbelt/distinfo       Sun Jul 24 19:27:38 2016 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2016/05/18 12:31:54 wiz Exp $
+$NetBSD: distinfo,v 1.9 2016/07/24 19:27:38 wiz Exp $
 
-SHA1 (requests-toolbelt-0.6.2.tar.gz) = 4e48d86b71e2db1e31a0d956e62ed67585eaf453
-RMD160 (requests-toolbelt-0.6.2.tar.gz) = f774ed42624f7e3dfe1435e9f344086e70c15eba
-SHA512 (requests-toolbelt-0.6.2.tar.gz) = dc411730882ac22ff6df93ce7d00a5319c7146bab7d9f6c3fa2ac4f8476e866fe3f6d74c11aceca54683123606009fab244fe7c417a5f5e3684330b7ade66935
-Size (requests-toolbelt-0.6.2.tar.gz) = 190065 bytes
+SHA1 (requests-toolbelt-0.7.0.tar.gz) = 0475e4519c4a99ec015ba14cd9b0723df82052f0
+RMD160 (requests-toolbelt-0.7.0.tar.gz) = 3579d5c730e158e0f9f4233ac48f5e8f807d84da
+SHA512 (requests-toolbelt-0.7.0.tar.gz) = 77f11d12643d7cacf0c5dab5c5490359fc6f11c038d56d6ae27939394c5788622edb230d38d2202192eec6a7b1229feeb5669cd6a33c78f6891699d017e8205e
+Size (requests-toolbelt-0.7.0.tar.gz) = 194062 bytes



Home | Main Index | Thread Index | Old Index