2023-09-20 17:23:42 +02:00
|
|
|
# Description: HTTP library with thread-safe connection pooling and file post support
|
2018-03-15 23:14:59 +11:00
|
|
|
# URL: https://github.com/shazow/urllib3
|
2023-07-07 19:03:41 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2023-05-14 18:58:24 +02:00
|
|
|
# Depends on: python3-hatchling python3-pyopenssl
|
2018-03-15 23:14:59 +11:00
|
|
|
|
|
|
|
name=python3-urllib3
|
2023-10-18 10:59:17 +02:00
|
|
|
version=2.0.7
|
2018-03-15 23:14:59 +11:00
|
|
|
release=1
|
2023-10-02 22:13:22 +02:00
|
|
|
source=(https://pypi.org/packages/source/u/urllib3/urllib3-$version.tar.gz)
|
2018-03-15 23:14:59 +11:00
|
|
|
|
|
|
|
build() {
|
2023-10-02 22:13:22 +02:00
|
|
|
cd urllib3-$version
|
2023-05-14 18:58:24 +02:00
|
|
|
|
2023-07-07 19:03:41 +02:00
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
2018-03-15 23:14:59 +11:00
|
|
|
}
|