* update python-httplib2 to 0.22.0-4
This commit is contained in:
parent
784844cf1f
commit
075b40e824
@ -10,7 +10,7 @@
|
||||
|
||||
pkgname=python-httplib2
|
||||
pkgver=0.22.0
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc='Comprehensive HTTP client library, supporting many features'
|
||||
arch=(any)
|
||||
url='https://github.com/httplib2/httplib2'
|
||||
@ -44,7 +44,7 @@ source=(
|
||||
'use-system-certificates.patch'
|
||||
)
|
||||
sha512sums=('SKIP'
|
||||
'cb767cf95177d5a3c40dce49db0759b75a4ef3b9182ee931370386d7f380586818d8d940119907fe7a6b85504377571eb52176dcacbb37197cc85a5ae48fc149')
|
||||
'9699f17938703d1975417d244240d2df0062d309a1af91b33b438158e60d28ea3a38f439a774286a4090977f021d0ed3adc8c5c8c450bcbd4417649c735646f6')
|
||||
|
||||
|
||||
pkgver() {
|
||||
@ -56,8 +56,11 @@ pkgver() {
|
||||
prepare() {
|
||||
cd "$pkgname"
|
||||
|
||||
# use system ca certificates
|
||||
patch -p1 -i "$srcdir/use-system-certificates.patch"
|
||||
rm -vf python{2,3}/httplib2/cacerts.txt
|
||||
|
||||
# patch requirements to allow newer versions of checkdepends
|
||||
sed -e 's/==/>=/' -i requirements-test.txt
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- a/python2/httplib2/certs.py
|
||||
+++ b/python2/httplib2/certs.py
|
||||
@@ -19,9 +19,7 @@
|
||||
@@ -19,9 +19,7 @@ except ImportError:
|
||||
pass
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
def where():
|
||||
--- a/python3/httplib2/certs.py
|
||||
+++ b/python3/httplib2/certs.py
|
||||
@@ -19,9 +19,7 @@
|
||||
@@ -19,9 +19,7 @@ except ImportError:
|
||||
pass
|
||||
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
def where():
|
||||
--- a/tests/test_cacerts_from_env.py
|
||||
+++ b/tests/test_cacerts_from_env.py
|
||||
@@ -6,7 +6,7 @@
|
||||
@@ -9,7 +9,7 @@ import tempfile
|
||||
import httplib2
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user