# Contributor: Yura Kushnir # Maintainer: Yura Kushnir pkgname=py-urllib3 _pkgname=${pkgname/py-/} pkgver=1.18 pkgrel=0 pkgdesc="HTTP library with thread-safe connection pooling, file post, and more." url="https://github.com/shazow/urllib3" arch="noarch" license="MIT" depends="" depends_dev="" makedepends="$depends_dev py-setuptools" install="" subpackages="" source="$pkgname-$pkgver.zip::https://github.com/shazow/urllib3/archive/$pkgver.zip" _builddir="$srcdir"/$_pkgname-$pkgver build() { cd "$_builddir" python2 setup.py build } package() { cd "$_builddir" python2 setup.py install --root="$pkgdir" --optimize=1 } md5sums="a5c3fd74a8d72803b0a9b19bdcb4d99f py-urllib3-1.18.zip" sha256sums="24b0213a304ebd4da902dfdcc5a9cc6abff788f6f10e85aea5f77b463bb72e15 py-urllib3-1.18.zip" sha512sums="535639543c5258be236f2098c74d0e089687a82f9c39c77d967da5e57f5cdc42506375bf4ee5ee209b57f9b0a4e56144a38e3addff6754ff380fe3fc20b5aaab py-urllib3-1.18.zip"