void-packages/srcpkgs/python3-rapidfuzz/template
2024-08-09 20:21:01 -04:00

22 lines
797 B
Bash

# Template file for 'python3-rapidfuzz'
pkgname=python3-rapidfuzz
version=3.9.6
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"
changelog="https://github.com/rapidfuzz/RapidFuzz/releases"
distfiles="${PYPI_SITE}/r/rapidfuzz/rapidfuzz-${version}.tar.gz"
checksum=5cf2a7d621e4515fee84722e93563bf77ff2cbe832a77a48b81f88f9e23b9e8d
export CMAKE_ARGS="-DPython_INCLUDE_DIR:PATH=${XBPS_CROSS_BASE}/${py3_inc}"
post_install() {
vlicense LICENSE
}