blob: dd5cd601e4248d636d63392816962938b7536fad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=py-jellyfish
pkgver=0.5.1
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="5e78d3c5bd1f7ca23847b53fa174f385 jellyfish-0.5.1.tar.gz"
sha256sums="c4d25c35512f7cdfc44557cc8348f3462248ce92972f45a3974f328df0bfdcf2 jellyfish-0.5.1.tar.gz"
sha512sums="d8b16f3d3ba82edf78b29ad49ed48926cce0bbe2d93a0279bcb548a2d73f135afb37a29a4664c80387692a77147d096b43a0813d9b082665f0b6921adaf2de89 jellyfish-0.5.1.tar.gz"
|