pkgsrc/devel/py-requests-toolbelt/Makefile
wiz 646b2fd5ef 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
2016-07-24 19:27:38 +00:00

21 lines
730 B
Makefile

# $NetBSD: Makefile,v 1.10 2016/07/24 19:27:38 wiz Exp $
DISTNAME= requests-toolbelt-0.7.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests-toolbelt/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://pypi.python.org/pypi/requests-toolbelt
COMMENT= Utility belt for advanced users of python-requests
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-requests>=2.1.0<3.0:../../devel/py-requests
BUILD_DEPENDS+= ${PYPKGPREFIX}-betamax-[0-9]*:../../www/py-betamax
BUILD_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"