2021-06-14 19:51:46 +00:00
|
|
|
# Description: httplib2 caching for requests
|
|
|
|
# URL: https://github.com/ionrock/cachecontrol
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: python3-msgpack python3-requests
|
|
|
|
# Optional: python3-lockfile
|
|
|
|
|
|
|
|
name=python3-cachecontrol
|
2024-02-02 17:30:40 +01:00
|
|
|
version=0.14.0
|
2021-06-14 19:51:46 +00:00
|
|
|
release=1
|
2021-10-29 12:31:59 +02:00
|
|
|
source=(https://github.com/ionrock/cachecontrol/archive/v$version/$name-$version.tar.gz)
|
2021-06-14 19:51:46 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd cachecontrol-$version
|
2023-06-10 09:00:03 +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
|
2021-06-14 19:51:46 +00:00
|
|
|
}
|