contrib/python3-rapidfuzz/Pkgfile

18 lines
538 B
Plaintext

# Description: rapid fuzzy string matching
# URL: https://github.com/maxbachmann/RapidFuzz
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-cython python3-scikit-build
# Optional: python3-numpy
name=python3-rapidfuzz
version=3.7.0
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
}