# Template file for 'python-jellyfish' pkgname=python-jellyfish version=0.5.0 revision=1 noarch=yes wrksrc="${pkgname#*-}-${version}" build_style=python-module python_versions="2.7 3.4" pycompile_module="jellyfish" hostmakedepends="python-setuptools python3.4-setuptools" depends="python" short_desc="A Python2 library for approximate and phonetic matching of strings" maintainer="Duncaen " license="BSD" homepage="https://github.com/sunlightlabs/jellyfish" distfiles="https://github.com/sunlightlabs/${pkgname#*-}/archive/${version}.tar.gz" checksum=d8fa3ebaac6f22de01e388fec6955f041138114879dc9095347b90b0ed3d0d92 python3.4-jellyfish_package() { noarch=yes depends="python3.4" replaces="python3.4-jellyfish>=0" pycompile_version="3.4" pycompile_module="jellyfish" short_desc="${short_desc/Python2/Python3.4}" pkg_install() { vmove usr/lib/python3.4 } }