summaryrefslogblamecommitdiff
path: root/user/py3-urllib3/APKBUILD
blob: 48f33e87e569d90e9f0bf2255cec240f446a5e8c (plain) (tree)






























                                                                                                                                                                      
# Contributor: Yura Kushnir <kushnir.yura@gmail.com>
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: zlg <zlg+adelie@zlg.space>
pkgname=py3-urllib3
_pkgname=${pkgname#py3-}
pkgver=1.23
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="py3-certifi py3-cryptography py3-idna py3-openssl py3-pysocks"
makedepends="python3-dev"
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"


build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	mkdir -p "$pkgdir"
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="1d9eccdd2f939a1029fb6e49c45409b3a493f38b5880bba45a6e8a8088c0478190807b1fe7341b22abe363809ef41c5367de831de9618bcc62f34cb9f0cbc7af  py3-urllib3-1.23.tar.gz"