From e57173d09a45748c6951f567e7b2afdf2054ea9e Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 2 Jan 2016 10:49:49 +0000 Subject: [PATCH] Update py-requests to 2.9.1. 2.9.1 (2015-12-21) Bugfixes * Resolve regression introduced in 2.9.0 that made it impossible to send binary strings as bodies in Python 3. * Fixed errors when calculating cookie expiration dates in certain locales. Miscellaneous * Updated bundled urllib3 to 1.13.1. --- devel/py-requests/Makefile | 8 ++++++-- devel/py-requests/distinfo | 10 +++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/devel/py-requests/Makefile b/devel/py-requests/Makefile index c8d81a2569f5..e00ed465563f 100644 --- a/devel/py-requests/Makefile +++ b/devel/py-requests/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.18 2015/12/27 23:38:46 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2016/01/02 10:49:49 wiz Exp $ -DISTNAME= requests-2.9.0 +DISTNAME= requests-2.9.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel www MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests/} @@ -14,6 +14,10 @@ USE_LANGUAGES= c REPLACE_PYTHON= requests/certs.py requests/packages/chardet/chardetect.py BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test +BUILD_DEPENDS+= ${PYPKGPREFIX}-test-httpbin-[0-9]*:../../www/py-test-httpbin + +do-test: + cd ${WRKSRC} && py.test-${PYVERSSUFFIX} .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" diff --git a/devel/py-requests/distinfo b/devel/py-requests/distinfo index 899d3b53dac6..5b476512c706 100644 --- a/devel/py-requests/distinfo +++ b/devel/py-requests/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.13 2015/12/27 23:38:46 wiz Exp $ +$NetBSD: distinfo,v 1.14 2016/01/02 10:49:49 wiz Exp $ -SHA1 (requests-2.9.0.tar.gz) = 5da11303dcb6eca601c79cf8c90345cd997d66c0 -RMD160 (requests-2.9.0.tar.gz) = d0cdbe1c2b35d071a84ee3b6eac54f6dd27c3171 -SHA512 (requests-2.9.0.tar.gz) = 8df3dd0a803f44eea269275e247f823c0d676b04ee44c719135e3661c6d951a0d94fac305766b99e10ba09f5f602e3f57883b0ae764aa7fce8bd1d92e86be85e -Size (requests-2.9.0.tar.gz) = 483589 bytes +SHA1 (requests-2.9.1.tar.gz) = 17f01c47a0d7c676f6291608ef2f43db3fa74095 +RMD160 (requests-2.9.1.tar.gz) = d1be9cc088b10dea06cee4b26030f795df7d230b +SHA512 (requests-2.9.1.tar.gz) = 0b2b64b2ebb68703f2a222a3e5d0227cf15250319195a13497e38959c64b82359b70221157eab2ab828dfc79bcfec13ede4d6272f0202ae1b22ae79d5810adb9 +Size (requests-2.9.1.tar.gz) = 484252 bytes