18 lines
698 B
Bash
18 lines
698 B
Bash
# Template file for 'python3-Levenshtein'
|
|
pkgname=python3-Levenshtein
|
|
version=0.23.0
|
|
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=de7ccc31a471ea5bfafabe804c12a63e18b4511afc1014f23c3cc7be8c70d3bd
|
|
|
|
export CMAKE_ARGS="-DPython_INCLUDE_DIR:PATH=${XBPS_CROSS_BASE}/${py3_inc}"
|