# Contributor: Carlo Landmeter # Maintainer: Carlo Landmeter pkgname=py-jellyfish pkgver=0.5.5 pkgrel=0 pkgdesc="a python library for doing approximate and phonetic matching of strings" url="https://github.com/jamesturk/jellyfish" arch="noarch" license="BSD" depends="" depends_dev="" makedepends="$depends_dev python-dev py-setuptools" install="" subpackages="" source="jellyfish-$pkgver.tar.gz::https://github.com/jamesturk/jellyfish/archive/$pkgver.tar.gz" _builddir="$srcdir"/jellyfish-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" python setup.py build || return 1 } package() { cd "$_builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="2e9a8e32e33199d699eecf2a19eae553 jellyfish-0.5.5.tar.gz" sha256sums="6ad9fd3be8944a923ad57b6f1cf9cbbb846f6920c90bb4e2f75b5c38e48c7b6f jellyfish-0.5.5.tar.gz" sha512sums="a7b6c796d7c9f5a86a92a64112a79fe056018d17bc43c87dd4ac1914c6e8a7e866b117137cd88ebe886d6fc6a1a6a82f773ba8daef402c8942b6e2d102f0774e jellyfish-0.5.5.tar.gz"