Files
ports/core/python2-urllib3/spkgbuild
2019-07-26 16:22:33 +08:00

15 lines
438 B
Plaintext

# description : HTTP library with thread-safe connection pooling and file post support (python2)
# depends : python2
name=python2-urllib3
version=1.25.3
release=1
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
md5sum=(f09e95a5c42a7cc7ff7cb6a14c55fb69)
build() {
cd ${name#*-}-$version
python2 setup.py build
python2 setup.py install --prefix=/usr --root=$PKG --optimize=1
}