[arch-commits] Commit in python-requests/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Jul 22 18:42:57 UTC 2017


    Date: Saturday, July 22, 2017 @ 18:42:56
  Author: felixonmars
Revision: 301165

upgpkg: python-requests 2.18.1-2

Modified:
  python-requests/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-22 18:38:54 UTC (rev 301164)
+++ PKGBUILD	2017-07-22 18:42:56 UTC (rev 301165)
@@ -5,7 +5,7 @@
 pkgbase=python-requests
 pkgname=('python-requests' 'python2-requests')
 pkgver=2.18.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Python HTTP for Humans"
 arch=('any')
 url="http://python-requests.org"
@@ -21,7 +21,9 @@
 
 prepare() {
   cd "$srcdir"/requests-$pkgver
-  sed -i '/certifi/d' setup.py
+  sed -e '/certifi/d' \
+      -e 's/urllib3>=1.21.1,<1.22/urllib3>=1.21.1,<1.23/' \
+      -i setup.py
   patch -p1 -i "$srcdir"/certs.patch
 
   cd "$srcdir"



More information about the arch-commits mailing list