# Description: rapid fuzzy string matching
# URL: https://github.com/maxbachmann/RapidFuzz
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-jarowinkler
# Optional: python3-numpy

name=python3-rapidfuzz
version=3.1.1
release=1
source=(https://pypi.org/packages/source/r/rapidfuzz/rapidfuzz-$version.tar.gz)

build() {
  cd rapidfuzz-$version

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