# 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.6 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() { mkdir -p "$pkgdir" python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="02457492406fff3a61143d695df8304fc66a31f2646ca05ccacd9f2e5f86560e4c68a1f7f4702d6402b9d4d899145b15b125e56b3bc273012b0306ca4d0d7927 py3-urllib3-1.25.6.tar.gz"