void-packages/srcpkgs/python-jellyfish/template

29 lines
821 B
Bash

# Template file for 'python-jellyfish'
pkgname=python-jellyfish
version=0.6.1
revision=2
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="jellyfish"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
short_desc="Python2 library for approximate and phonetic matching of strings"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/sunlightlabs/jellyfish"
distfiles="${PYPI_SITE}/j/jellyfish/jellyfish-${version}.tar.gz"
checksum=5104e45a2b804b48a46a92a5e6d6e86830fe60ae83b1da32c867402c8f4c2094
post_install() {
vlicense LICENSE
}
python3-jellyfish_package() {
pycompile_module="jellyfish"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}