[arch-commits] Commit in python-requests/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Oct 19 02:32:26 UTC 2018
Date: Friday, October 19, 2018 @ 02:32:25
Author: felixonmars
Revision: 336863
upgpkg: python-requests 2.20.0-1
Modified:
python-requests/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-19 01:49:44 UTC (rev 336862)
+++ PKGBUILD 2018-10-19 02:32:25 UTC (rev 336863)
@@ -3,8 +3,8 @@
pkgbase=python-requests
pkgname=('python-requests' 'python2-requests')
-pkgver=2.19.1
-pkgrel=3
+pkgver=2.20.0
+pkgrel=1
pkgdesc="Python HTTP for Humans"
arch=('any')
url="http://python-requests.org"
@@ -15,7 +15,7 @@
'python2-pytest-mock' 'python-pysocks' 'python2-pysocks')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/kennethreitz/requests/archive/v$pkgver.tar.gz"
certs.patch)
-sha512sums=('00adbbe63c88117fce25e4e2de4ddfb62f87276d627f97aaf8bc4afbf59a921cac57b87f51a0d99167b42d311fe8ca9723b2c5d3a9e04fb0ee318bf90fd9d4ed'
+sha512sums=('766c69d1778e7286232fcd750842e89cd9bb6637076e80fe95fb67f3ccb14049bf74a533de91ef9451ac6f397ad0a6d148eb444009f501178138cdeffc5ee7c4'
'424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3')
prepare() {
@@ -25,8 +25,6 @@
-i setup.py
patch -p1 -i "$srcdir"/certs.patch
- sed -i 's/from urllib3.packages.ordered_dict import OrderedDict/from collections import OrderedDict/' requests/compat.py
-
cd "$srcdir"
cp -a requests-$pkgver{,-py2}
find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} +
More information about the arch-commits
mailing list