void-packages/srcpkgs/python3-rapidfuzz/template

23 lines
797 B
Bash

# Template file for 'python3-rapidfuzz'
pkgname=python3-rapidfuzz
version=3.9.4
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=366bf8947b84e37f2f4cf31aaf5f37c39f620d8c0eddb8b633e6ba0129ca4a0a
export CMAKE_ARGS="-DPython_INCLUDE_DIR:PATH=${XBPS_CROSS_BASE}/${py3_inc}"
post_install() {
vlicense LICENSE
}