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

Felix Yan felixonmars at archlinux.org
Wed Jun 6 17:57:08 UTC 2018


    Date: Wednesday, June 6, 2018 @ 17:57:08
  Author: felixonmars
Revision: 326050

upgpkg: python-requests 2.18.4-3

second try on FS#58878

Modified:
  python-requests/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-06 17:13:23 UTC (rev 326049)
+++ PKGBUILD	2018-06-06 17:57:08 UTC (rev 326050)
@@ -5,7 +5,7 @@
 pkgbase=python-requests
 pkgname=('python-requests' 'python2-requests')
 pkgver=2.18.4
-pkgrel=2
+pkgrel=3
 pkgdesc="Python HTTP for Humans"
 arch=('any')
 url="http://python-requests.org"
@@ -15,9 +15,11 @@
 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)
+        certs.patch
+        https://github.com/yan12125/requests/commit/30b5079f46fa9e853a9efe635b60acdb172d250d.patch)
 sha512sums=('8ca20fe18d13b8c62977be0c51617f2ae8618d3d002ad4dc554362828855db7359274efbff0cd13e8c5699508913e91205cffcf306221a70321e74ac10b2d4d7'
-            '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3')
+            '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3'
+            '1f63f76df4c819e5a6dbd8d32d6f3a5cfc22c569ebe9551310629dee24fe7d5566d47bcf1a689ada9d103318be779e2ded24b0c1b8e8100fdd365890c0b87448')
 
 prepare() {
   cd "$srcdir"/requests-$pkgver
@@ -24,6 +26,7 @@
   sed -e '/certifi/d' \
       -e 's/urllib3>=1.21.1,<1.23/urllib3>=1.21.1,<1.24/' \
       -i setup.py
+  patch -p1 -i ../30b5079f46fa9e853a9efe635b60acdb172d250d.patch
   patch -p1 -i "$srcdir"/certs.patch
 
   cd "$srcdir"



More information about the arch-commits mailing list