# Description: python bindings for the redis KV store
# URL: https://github.com/andymccurdy/redis-py
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-async-timeout python3-typing_extensions python3-wheel python3-deprecated

name=redis-py3
version=4.3.4
release=1
source=(https://github.com/redis/redis-py/archive/v$version/$name-$version.tar.gz)

build() {
  cd redis-py-$version

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