# 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 # Depends on: python3-pyopenssl name=python3-urllib3 version=1.26.0 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 }