pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-requests py-requests: updated to 2.22.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/18c8cfb50e51
branches:  trunk
changeset: 333929:18c8cfb50e51
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri May 17 08:34:38 2019 +0000

description:
py-requests: updated to 2.22.0

2.22.0:

**Dependencies**
- Requests now supports urllib3 v1.25.2.
  (note: 1.25.0 and 1.25.1 are incompatible)

**Deprecations**
- Requests has officially stopped support for Python 3.4.

diffstat:

 devel/py-requests/Makefile                               |   6 +++---
 devel/py-requests/distinfo                               |  14 +++++++-------
 devel/py-requests/patches/patch-requests_____init____.py |   8 ++++----
 devel/py-requests/patches/patch-setup.py                 |   8 ++++----
 4 files changed, 18 insertions(+), 18 deletions(-)

diffs (91 lines):

diff -r cc201db420f9 -r 18c8cfb50e51 devel/py-requests/Makefile
--- a/devel/py-requests/Makefile        Fri May 17 08:21:22 2019 +0000
+++ b/devel/py-requests/Makefile        Fri May 17 08:34:38 2019 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.42 2018/12/11 09:11:08 adam Exp $
+# $NetBSD: Makefile,v 1.43 2019/05/17 08:34:38 adam Exp $
 
-DISTNAME=      requests-2.21.0
+DISTNAME=      requests-2.22.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/requests/}
 
 MAINTAINER=    imil%NetBSD.org@localhost
-HOMEPAGE=      http://www.python-requests.org/
+HOMEPAGE=      http://python-requests.org/
 COMMENT=       HTTP library, written in Python, for human beings
 LICENSE=       apache-2.0
 
diff -r cc201db420f9 -r 18c8cfb50e51 devel/py-requests/distinfo
--- a/devel/py-requests/distinfo        Fri May 17 08:21:22 2019 +0000
+++ b/devel/py-requests/distinfo        Fri May 17 08:34:38 2019 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.34 2018/12/11 09:11:08 adam Exp $
+$NetBSD: distinfo,v 1.35 2019/05/17 08:34:38 adam Exp $
 
-SHA1 (requests-2.21.0.tar.gz) = 970805c2affcc5b237d86e7308dc4310f16d6f79
-RMD160 (requests-2.21.0.tar.gz) = 86a4ee77a27b1ff7d8621e676c52c6be06cde866
-SHA512 (requests-2.21.0.tar.gz) = 385e1d80993a21c09e7c4682500ca8c24155962ba41ecd8e73612722b2ff6618b736e827fc48ad1683b0d2bc7a420cfe680f5107860aca52656ef777f1d60104
-Size (requests-2.21.0.tar.gz) = 111528 bytes
-SHA1 (patch-requests_____init____.py) = e704f86809821831071301748bb13e5b1d0e971b
-SHA1 (patch-setup.py) = fa5d4567d7cbb03f276257d8324efcb064479e08
+SHA1 (requests-2.22.0.tar.gz) = c22ed0a553f8dc37e5c2a965048d81a5ccfaff95
+RMD160 (requests-2.22.0.tar.gz) = 8039fb2854217e3da83a52c12b0d449ca5ca79e0
+SHA512 (requests-2.22.0.tar.gz) = 8b8e9da8a0c816fb4ff39be89ac7e1a9d5a99503ed93e44a0d78b28818f1c0eb253b151972a144151a616ba1b4bc5595245458a8268c5161391db54f740ac9a5
+Size (requests-2.22.0.tar.gz) = 113406 bytes
+SHA1 (patch-requests_____init____.py) = 39ce838223ca91c36a7a5310b76b70aa7a154c99
+SHA1 (patch-setup.py) = 55be105d4a7b47c17e7daea42177e0053567a4eb
diff -r cc201db420f9 -r 18c8cfb50e51 devel/py-requests/patches/patch-requests_____init____.py
--- a/devel/py-requests/patches/patch-requests_____init____.py  Fri May 17 08:21:22 2019 +0000
+++ b/devel/py-requests/patches/patch-requests_____init____.py  Fri May 17 08:34:38 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-requests_____init____.py,v 1.4 2018/10/22 07:55:36 adam Exp $
+$NetBSD: patch-requests_____init____.py,v 1.5 2019/05/17 08:34:38 adam Exp $
 
 * Allow newer py-urllib3 and py-chardet.
 * Add workaround for segfault of security/py-certbot on NetBSD/amd64
@@ -7,13 +7,13 @@
 
   This is introduced in https://github.com/shazow/urllib3
 
---- requests/__init__.py.orig  2018-10-18 15:41:45.000000000 +0000
+--- requests/__init__.py.orig  2019-05-16 14:22:45.000000000 +0000
 +++ requests/__init__.py
 @@ -60,15 +60,12 @@ def check_compatibility(urllib3_version,
-     # urllib3 >= 1.21.1, <= 1.24
+     # urllib3 >= 1.21.1, <= 1.25
      assert major == 1
      assert minor >= 21
--    assert minor <= 24
+-    assert minor <= 25
  
      # Check chardet for compatibility.
      major, minor, patch = chardet_version.split('.')[:3]
diff -r cc201db420f9 -r 18c8cfb50e51 devel/py-requests/patches/patch-setup.py
--- a/devel/py-requests/patches/patch-setup.py  Fri May 17 08:21:22 2019 +0000
+++ b/devel/py-requests/patches/patch-setup.py  Fri May 17 08:34:38 2019 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-setup.py,v 1.7 2018/12/11 09:11:08 adam Exp $
+$NetBSD: patch-setup.py,v 1.8 2019/05/17 08:34:38 adam Exp $
 
 Allow newer versions of dependencies.
 
---- setup.py.orig      2018-12-10 05:59:26.000000000 +0000
+--- setup.py.orig      2019-05-16 14:22:45.000000000 +0000
 +++ setup.py
 @@ -42,14 +42,14 @@ if sys.argv[-1] == 'publish':
  packages = ['requests']
@@ -10,10 +10,10 @@
  requires = [
 -    'chardet>=3.0.2,<3.1.0',
 -    'idna>=2.5,<2.9',
--    'urllib3>=1.21.1,<1.25',
+-    'urllib3>=1.21.1,<1.26,!=1.25.0,!=1.25.1',
 +    'chardet>=3.0.2',
 +    'idna>=2.5',
-+    'urllib3>=1.21.1',
++    'urllib3>=1.21.1,!=1.25.0,!=1.25.1',
      'certifi>=2017.4.17'
  
  ]



Home | Main Index | Thread Index | Old Index