2018-03-15 23:14:59 +11:00
|
|
|
# Description: HTTP library with thread-safe connection pooling and file post support.
|
|
|
|
# URL: https://github.com/shazow/urllib3
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2019-05-21 23:14:51 +10:00
|
|
|
# Depends on: python3-pyopenssl
|
2018-03-15 23:14:59 +11:00
|
|
|
|
|
|
|
name=python3-urllib3
|
2021-03-20 15:44:50 +11:00
|
|
|
_name=${name#*-}
|
2021-06-27 20:03:20 +00:00
|
|
|
version=1.26.6
|
2018-03-15 23:14:59 +11:00
|
|
|
release=1
|
2021-03-20 15:44:50 +11:00
|
|
|
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$version.tar.gz)
|
2018-03-15 23:14:59 +11:00
|
|
|
|
|
|
|
build() {
|
2021-03-20 15:44:50 +11:00
|
|
|
cd $_name-$version
|
2018-03-15 23:14:59 +11:00
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
|
|
|
|
}
|