2018-03-15 13:14:59 +01: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 15:14:51 +02:00
|
|
|
# Depends on: python3-pyopenssl
|
2018-03-15 13:14:59 +01:00
|
|
|
|
|
|
|
name=python3-urllib3
|
2021-01-24 09:18:34 +01:00
|
|
|
version=1.26.2
|
2018-03-15 13:14:59 +01:00
|
|
|
release=1
|
|
|
|
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${name#*-}-$version
|
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
|
|
|
|
}
|