contrib/python3-jarowinkler/Pkgfile

17 lines
618 B
Plaintext

# Description: library for fast approximate string matching using Jaro and Jaro-Winkler similarity
# URL: https://github.com/maxbachmann/JaroWinkler
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-rapidfuzz-capi python3-scikit-build python3-installer python3-build
name=python3-jarowinkler
version=1.2.3
release=1
source=(https://pypi.org/packages/source/j/jarowinkler/jarowinkler-$version.tar.gz)
build() {
cd jarowinkler-$version
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}