milis/talimatname/genel/python-httplib2/talimat

24 lines
569 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Birçok özelliği destekleyen kapsamlı HTTP istemci kütüphanesi.
# URL: http://code.google.com/p/httplib2/
# Packager: milisarge
# Depends on: 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)
build() {
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
}