# 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
version=0.13.1
release=1
source=(https://github.com/ionrock/cachecontrol/archive/v$version/$name-$version.tar.gz)

build() {
  cd cachecontrol-$version

  /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
  /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}
