void-packages/srcpkgs/python3-rapidfuzz/template

23 lines
803 B
Bash

# Template file for 'python3-rapidfuzz'
pkgname=python3-rapidfuzz
version=3.10.1
revision=1
build_style=python3-pep517
hostmakedepends="python3-scikit-build-core ninja"
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"
changelog="https://github.com/rapidfuzz/RapidFuzz/releases"
distfiles="${PYPI_SITE}/r/rapidfuzz/rapidfuzz-${version}.tar.gz"
checksum=5a15546d847a915b3f42dc79ef9b0c78b998b4e2c53b252e7166284066585979
export CMAKE_ARGS="-DPython_INCLUDE_DIR:PATH=${XBPS_CROSS_BASE}/${py3_inc}"
post_install() {
vlicense LICENSE
}