24 lines
562 B
Plaintext
24 lines
562 B
Plaintext
# Tanım: Birçok özelliği destekleyen kapsamlı HTTP istemci kütüphanesi.
|
||
# URL: http://code.google.com/p/httplib2/
|
||
# Paketçi: milisarge
|
||
# Gerekler: python
|
||
|
||
name=python-httplib2
|
||
version=0.9
|
||
release=1
|
||
|
||
source=(
|
||
https://github.com/jcgregorio/httplib2/archive/v${version}.tar.gz
|
||
$name.ssl_hostname.patch
|
||
$name.cert.patch)
|
||
|
||
derle() {
|
||
cd httplib2-$version
|
||
# Patch, ref FS#36839
|
||
patch -p1 -i $SRC/$name.ssl_hostname.patch
|
||
# Patch, ref FS#40179
|
||
patch -p1 -i $SRC/$name.cert.patch
|
||
#
|
||
python2 setup.py install --prefix=/usr --root=$PKG
|
||
}
|