void-packages/srcpkgs/python3-jellyfish/template

26 lines
766 B
Bash

# Template file for 'python3-jellyfish'
pkgname=python3-jellyfish
version=1.0.4
revision=1
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=72aabb3bedd513cdd20712242fd51173b59972c0b146b7a0b9c6f32f1656293f
if [ "$CROSS_BUILD" ]; then
makedepends+=" rust-std"
fi
post_install() {
vlicense LICENSE
}