summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-07-30 04:19:22 +0000
committeradam <adam@pkgsrc.org>2021-07-30 04:19:22 +0000
commit762b04ac257347cacebe9cf6104317e7b95d6a74 (patch)
tree7ae1628d88af0a2e8c6a96f6e37807792505242e /devel
parentc43dfd75b60878abdb6cc488d5961791ad62551c (diff)
downloadpkgsrc-762b04ac257347cacebe9cf6104317e7b95d6a74.tar.gz
py-requests: updated to 2.26.0
2.26.0 (2021-07-13) ------------------- **Improvements** - Requests now supports Brotli compression, if either the `brotli` or `brotlicffi` package is installed. - `Session.send` now correctly resolves proxy configurations from both the Session and Request. Behavior now matches `Session.request`. **Bugfixes** - Fixed a race condition in zip extraction when using Requests in parallel from zip archive. **Dependencies** - Instead of `chardet`, use the MIT-licensed `charset_normalizer` for Python3 to remove license ambiguity for projects bundling requests. If `chardet` is already installed on your machine it will be used instead of `charset_normalizer` to keep backwards compatibility. You can also install `chardet` while installing requests by specifying `[use_chardet_on_py3]` extra as follows: ```shell pip install "requests[use_chardet_on_py3]" ``` Python2 still depends upon the `chardet` module. - Requests now supports `idna` 3.x on Python 3. `idna` 2.x will continue to be used on Python 2 installations. **Deprecations** - The `requests[security]` extra has been converted to a no-op install. PyOpenSSL is no longer the recommended secure option for Requests. - Requests has officially dropped support for Python 3.5.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-requests/Makefile9
-rw-r--r--devel/py-requests/distinfo10
2 files changed, 10 insertions, 9 deletions
diff --git a/devel/py-requests/Makefile b/devel/py-requests/Makefile
index 7b16a92c6af..bdc461842c1 100644
--- a/devel/py-requests/Makefile
+++ b/devel/py-requests/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.49 2020/12/18 08:22:39 adam Exp $
+# $NetBSD: Makefile,v 1.50 2021/07/30 04:19:22 adam Exp $
-DISTNAME= requests-2.25.1
+DISTNAME= requests-2.26.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel www python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests/}
@@ -10,9 +10,7 @@ HOMEPAGE= https://requests.readthedocs.io/
COMMENT= HTTP library, written in Python, for human beings
LICENSE= apache-2.0
-DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=0.14:../../security/py-OpenSSL
DEPENDS+= ${PYPKGPREFIX}-certifi>=2017.4.17:../../security/py-certifi
-DEPENDS+= ${PYPKGPREFIX}-chardet>=3.0.2:../../converters/py-chardet
DEPENDS+= ${PYPKGPREFIX}-cryptography>=1.3.4:../../security/py-cryptography
DEPENDS+= ${PYPKGPREFIX}-idna>=2.5:../../www/py-idna
DEPENDS+= ${PYPKGPREFIX}-urllib3>=1.12.1:../../www/py-urllib3
@@ -29,8 +27,11 @@ REPLACE_PYTHON+= requests/certs.py
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
+DEPENDS+= ${PYPKGPREFIX}-chardet>=3.0.2:../../converters/py-chardet
TEST_DEPENDS= # none; py-test-httpbin is incompatible with py27
do-test:
+.else
+DEPENDS+= ${PYPKGPREFIX}-charset-normalizer>=2.0.0:../../converters/py-charset-normalizer
.endif
.include "../../lang/python/application.mk"
diff --git a/devel/py-requests/distinfo b/devel/py-requests/distinfo
index 6b6929c0758..40a31fa9ba1 100644
--- a/devel/py-requests/distinfo
+++ b/devel/py-requests/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.39 2020/12/18 08:22:39 adam Exp $
+$NetBSD: distinfo,v 1.40 2021/07/30 04:19:22 adam Exp $
-SHA1 (requests-2.25.1.tar.gz) = c447ce806a07c6ba3489afc72345e28ab4640aaa
-RMD160 (requests-2.25.1.tar.gz) = 4a8a60da9b3619a53bd5a74245e58123702ae7e6
-SHA512 (requests-2.25.1.tar.gz) = ca6b0a257b448a999cade0ae173c29cddc9cfffb319d16fc3d051d3e1cd77161536e3cab279b3cba59c60d29d7864a9281c1fa1f689ce48d3bce2ca9f1cd8d45
-Size (requests-2.25.1.tar.gz) = 102161 bytes
+SHA1 (requests-2.26.0.tar.gz) = 8c7a89d183d3e9b70bf91ba5b75eccf7111b9d8d
+RMD160 (requests-2.26.0.tar.gz) = 0b532167e01570e015b9abd52bb7d442d93a50bd
+SHA512 (requests-2.26.0.tar.gz) = c3397d77f0d2f1afb05661c4b98adad6c1ddaf360906254150b33ab0d9479fd306905bd6d61b8cf8becd9a40bdcf9b03542e8267c644ef19f03f44bfca0bc461
+Size (requests-2.26.0.tar.gz) = 104433 bytes
SHA1 (patch-requests_____init____.py) = 9915c51b02dd62f5c961ab388422d6f18a1dbedc
SHA1 (patch-setup.py) = 1b6ba462a0c3d6079f7d0fc738ba8000b6e892b4