28 lines
684 B
Plaintext
28 lines
684 B
Plaintext
# Description: Comprehensive HTTP client library, supporting many features.
|
|
# URL: URL: http://code.google.com/p/httplib2/
|
|
# NuTyX package info file (http://nutyx.org)
|
|
# Packager: # NuTyX package info file (http://nutyx.org)
|
|
# 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
|
|
}
|
|
|
|
|
|
|
|
# NuTyX Pkgfile (http://nutyx.org)
|