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

Felix Yan felixonmars at archlinux.org
Tue Jun 12 17:59:11 UTC 2018


    Date: Tuesday, June 12, 2018 @ 17:59:10
  Author: felixonmars
Revision: 326854

upgpkg: python-requests 2.19.0-1

Modified:
  python-requests/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-12 17:55:28 UTC (rev 326853)
+++ PKGBUILD	2018-06-12 17:59:10 UTC (rev 326854)
@@ -4,8 +4,8 @@
 
 pkgbase=python-requests
 pkgname=('python-requests' 'python2-requests')
-pkgver=2.18.4
-pkgrel=4
+pkgver=2.19.0
+pkgrel=1
 pkgdesc="Python HTTP for Humans"
 arch=('any')
 url="http://python-requests.org"
@@ -15,19 +15,15 @@
 checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock'
               'python2-pytest-mock' 'python-pysocks' 'python2-pysocks')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/kennethreitz/requests/archive/v$pkgver.tar.gz"
-        certs.patch
-        https://github.com/yan12125/requests/commit/30b5079f46fa9e853a9efe635b60acdb172d250d.patch)
-sha512sums=('8ca20fe18d13b8c62977be0c51617f2ae8618d3d002ad4dc554362828855db7359274efbff0cd13e8c5699508913e91205cffcf306221a70321e74ac10b2d4d7'
-            '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3'
-            '1f63f76df4c819e5a6dbd8d32d6f3a5cfc22c569ebe9551310629dee24fe7d5566d47bcf1a689ada9d103318be779e2ded24b0c1b8e8100fdd365890c0b87448')
+        certs.patch)
+sha512sums=('832ce7e3a67863ed2d241617e9ba983db470f0dbccd78ecb96b5bec2e1d76aa895553d4922bc4c30836e72401213c16ba0098f73dc4e2bc43a8fc36cd4c0ed00'
+            '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3')
 
 prepare() {
   cd "$srcdir"/requests-$pkgver
   sed -e '/certifi/d' \
-      -e 's/urllib3>=1.21.1,<1.23/urllib3>=1.21.1/' \
-      -e 's/idna>=2.5,<2.7/idna>=2.5/' \
+      -e "s/,<.*'/'/" \
       -i setup.py
-  patch -p1 -i ../30b5079f46fa9e853a9efe635b60acdb172d250d.patch
   patch -p1 -i "$srcdir"/certs.patch
 
   cd "$srcdir"



More information about the arch-commits mailing list