blob: b7aed1ae27ae7d692dce7a80b34f1aae7bee9cbc (
plain)
1 # Description: HTTP library with thread-safe connection pooling and file post support.
2 # URL: https://github.com/shazow/urllib3
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: python3-pyopenssl
5
6 name=python3-urllib3
7 _name=${name#*-}
8 version=1.26.14
9 release=1
10 source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$version.tar.gz)
11
12 build() {
13 cd $_name-$version
14 /usr/bin/python3 setup.py build
15 /usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
16 }
|