# Contributor: Yura Kushnir <kushnir.yura@gmail.com> # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Contributor: zlg <zlg+adelie@zlg.space> # Maintainer: pkgname=py3-urllib3 _pkgname=${pkgname#py3-} pkgver=1.25.10 pkgrel=0 pkgdesc="HTTP library with thread-safe connection pooling, file post, and more" url="https://github.com/shazow/urllib3" arch="noarch" options="!check" # needs tornado license="MIT" depends="python3 py3-certifi py3-cryptography py3-idna py3-openssl py3-pysocks" makedepends="python3-dev" subpackages="" source="$pkgname-$pkgver.tar.gz::https://github.com/urllib3/urllib3/archive/$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="7927e58de8ef24474179297e6ef7700bb3026a13d578e5bb01e32c6c4b6b5e70cc35980a815e3bcd976678e344250222d38fb86abe0f956e5023deb0f80bc1a1 py3-urllib3-1.25.10.tar.gz"