From 77d024149d665b513c2b8f16c782d0bfc9b1b5d6 Mon Sep 17 00:00:00 2001
From: Duncaen <mail@duncano.de>
Date: Thu, 30 Apr 2015 00:02:56 +0200
Subject: [PATCH] New package: python-jellyfish-0.5.0 (#1460)

---
 srcpkgs/python-jellyfish/template | 29 +++++++++++++++++++++++++++++
 srcpkgs/python3.4-jellyfish       |  1 +
 2 files changed, 30 insertions(+)
 create mode 100644 srcpkgs/python-jellyfish/template
 create mode 120000 srcpkgs/python3.4-jellyfish

diff --git a/srcpkgs/python-jellyfish/template b/srcpkgs/python-jellyfish/template
new file mode 100644
index 0000000000..ba95934a46
--- /dev/null
+++ b/srcpkgs/python-jellyfish/template
@@ -0,0 +1,29 @@
+# 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 <duncaen@voidlinux.eu>"
+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
+	}
+}
diff --git a/srcpkgs/python3.4-jellyfish b/srcpkgs/python3.4-jellyfish
new file mode 120000
index 0000000000..abd641b01b
--- /dev/null
+++ b/srcpkgs/python3.4-jellyfish
@@ -0,0 +1 @@
+python-jellyfish
\ No newline at end of file