aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-jellyfish
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-11-05 11:37:29 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2015-11-05 11:37:29 +0100
commitfc61c3dc1f9ee8d1816d007f4ea4c9f5b77daa25 (patch)
tree9d49c63eacf81ce55da5ae00373eacd19d47813d /community/py-jellyfish
parent69ddc562e1a5f21f7244044d3a186e39152dafde (diff)
downloadaports-fc61c3dc1f9ee8d1816d007f4ea4c9f5b77daa25.tar.bz2
aports-fc61c3dc1f9ee8d1816d007f4ea4c9f5b77daa25.tar.xz
community/py-jellyfish: new aport
Diffstat (limited to 'community/py-jellyfish')
-rw-r--r--community/py-jellyfish/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/py-jellyfish/APKBUILD b/community/py-jellyfish/APKBUILD
new file mode 100644
index 000000000..dd5cd601e
--- /dev/null
+++ b/community/py-jellyfish/APKBUILD
@@ -0,0 +1,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"