summaryrefslogblamecommitdiff
path: root/user/py3-urllib3/APKBUILD
blob: ed644245351748b7cf54f879ef80ccfd354fee9a (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.25.3
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="86556d486c5aac9c3c7875d1440317c3be3924f67f4377a99e15892a39f532330d07f9dec5c5a1ed8b20957d2c611e78a97bd9d1684acff3069cd7debbbaa001  py3-urllib3-1.25.3.tar.gz"