milis/talimatname/genel/python-httplib2/talimat

24 lines
569 B
Plaintext
Raw Normal View History

2017-04-13 09:13:40 +02:00
# Description: Birçok özelliği destekleyen kapsamlı HTTP istemci kütüphanesi.
# URL: http://code.google.com/p/httplib2/
# Packager: milisarge
# Depends on: python
2016-02-24 01:27:23 +01:00
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
}