void-packages/srcpkgs/python3-rapidfuzz/template

22 lines
737 B
Bash

# Template file for 'python3-rapidfuzz'
pkgname=python3-rapidfuzz
version=3.5.2
revision=1
build_style=python3-pep517
hostmakedepends="cmake python3-scikit-build"
makedepends="python3-devel rapidfuzz-cpp"
depends="python3"
checkdepends="python3-hypothesis python3-pandas python3-pytest"
short_desc="Rapid fuzzy string matching in Python using various string metrics"
maintainer="chrysos349 <chrysostom349@gmail.com>"
license="MIT"
homepage="https://github.com/maxbachmann/rapidfuzz"
distfiles="${PYPI_SITE}/r/rapidfuzz/rapidfuzz-${version}.tar.gz"
checksum=9e9b395743e12c36a3167a3a9fd1b4e11d92fb0aa21ec98017ee6df639ed385e
export CMAKE_ARGS="-DPython_INCLUDE_DIR:PATH=${XBPS_CROSS_BASE}/${py3_inc}"
post_install() {
vlicense LICENSE
}