17 lines
540 B
Plaintext
17 lines
540 B
Plaintext
# Description: HTTP library with thread-safe connection pooling and file post support
|
|
# URL: https://github.com/shazow/urllib3
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-hatchling python3-pyopenssl
|
|
|
|
name=python3-urllib3
|
|
version=2.1.0
|
|
release=1
|
|
source=(https://pypi.org/packages/source/u/urllib3/urllib3-$version.tar.gz)
|
|
|
|
build() {
|
|
cd urllib3-$version
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
|
}
|