void-packages/srcpkgs/python3-jellyfish/template

26 lines
766 B
Bash

# Template file for 'python3-jellyfish'
pkgname=python3-jellyfish
version=1.1.2
revision=2
build_style=python3-pep517
build_helper="rust"
hostmakedepends="maturin cargo"
makedepends="python3-devel"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python3 library for approximate and phonetic matching of strings"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://jamesturk.github.io/jellyfish/"
changelog="https://raw.githubusercontent.com/jamesturk/jellyfish/main/docs/changelog.md"
distfiles="${PYPI_SITE}/j/jellyfish/jellyfish-${version}.tar.gz"
checksum=a31de6ce7385746df3b65aa3401c30d0881b5abb518cff99090be7ef96129333
if [ "$CROSS_BUILD" ]; then
makedepends+=" rust-std"
fi
post_install() {
vlicense LICENSE
}