pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-requests



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri May 17 08:34:38 UTC 2019

Modified Files:
        pkgsrc/devel/py-requests: Makefile distinfo
        pkgsrc/devel/py-requests/patches: patch-requests_____init____.py
            patch-setup.py

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 pkgsrc/devel/py-requests/Makefile
cvs rdiff -u -r1.34 -r1.35 pkgsrc/devel/py-requests/distinfo
cvs rdiff -u -r1.4 -r1.5 \
    pkgsrc/devel/py-requests/patches/patch-requests_____init____.py
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-requests/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-requests/Makefile
diff -u pkgsrc/devel/py-requests/Makefile:1.42 pkgsrc/devel/py-requests/Makefile:1.43
--- pkgsrc/devel/py-requests/Makefile:1.42      Tue Dec 11 09:11:08 2018
+++ pkgsrc/devel/py-requests/Makefile   Fri May 17 08:34:38 2019
@@ -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
 

Index: pkgsrc/devel/py-requests/distinfo
diff -u pkgsrc/devel/py-requests/distinfo:1.34 pkgsrc/devel/py-requests/distinfo:1.35
--- pkgsrc/devel/py-requests/distinfo:1.34      Tue Dec 11 09:11:08 2018
+++ pkgsrc/devel/py-requests/distinfo   Fri May 17 08:34:38 2019
@@ -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

Index: pkgsrc/devel/py-requests/patches/patch-requests_____init____.py
diff -u pkgsrc/devel/py-requests/patches/patch-requests_____init____.py:1.4 pkgsrc/devel/py-requests/patches/patch-requests_____init____.py:1.5
--- pkgsrc/devel/py-requests/patches/patch-requests_____init____.py:1.4 Mon Oct 22 07:55:36 2018
+++ pkgsrc/devel/py-requests/patches/patch-requests_____init____.py     Fri May 17 08:34:38 2019
@@ -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 @@ $NetBSD: patch-requests_____init____.py,
 
   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]

Index: pkgsrc/devel/py-requests/patches/patch-setup.py
diff -u pkgsrc/devel/py-requests/patches/patch-setup.py:1.7 pkgsrc/devel/py-requests/patches/patch-setup.py:1.8
--- pkgsrc/devel/py-requests/patches/patch-setup.py:1.7 Tue Dec 11 09:11:08 2018
+++ pkgsrc/devel/py-requests/patches/patch-setup.py     Fri May 17 08:34:38 2019
@@ -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 @@ Allow newer versions of dependencies.
  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