summaryrefslogblamecommitdiff
path: root/user/py3-urllib3/APKBUILD
blob: 7082e8f918aac56cc20d44c2b463f2d81088e080 (plain) (tree)
1
2
3
4
5
6
7

                                                           

                                         

                        
             





                                                                               
                                                                               

                         
                                                                                           

                                    










                                                               
                                                                                                                                                                        
# 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.24.1
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() {
	cd "$builddir"
	python3 setup.py build
}

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

sha512sums="2f5453cf0ec1b65de9a9fca0fdb45664f7481507c875b7115c063cb177628b4b611377e588508ab8433e0797fc78b60fd3ea5cc5ac0a3f105d36bfff9a56f1f4  py3-urllib3-1.24.1.tar.gz"