void-packages/srcpkgs/python3-Levenshtein/template

18 lines
698 B
Bash

# Template file for 'python3-Levenshtein'
pkgname=python3-Levenshtein
version=0.25.1
revision=1
build_style=python3-pep517
hostmakedepends="cmake python3-scikit-build"
makedepends="python3-devel rapidfuzz-cpp"
depends="python3-rapidfuzz"
checkdepends="${depends} python3-pytest"
short_desc="Functions for computation of distance and string similarity"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/maxbachmann/Levenshtein"
distfiles="${PYPI_SITE}/L/Levenshtein/Levenshtein-${version}.tar.gz"
checksum=2df14471c778c75ffbd59cb64bbecfd4b0ef320ef9f80e4804764be7d5678980
export CMAKE_ARGS="-DPython_INCLUDE_DIR:PATH=${XBPS_CROSS_BASE}/${py3_inc}"