diff --git a/srcpkgs/python-marisa-trie/template b/srcpkgs/python-marisa-trie/template new file mode 100644 index 00000000000..da3dedc55a1 --- /dev/null +++ b/srcpkgs/python-marisa-trie/template @@ -0,0 +1,28 @@ +# Template file for 'python-marisa-trie' +pkgname=python-marisa-trie +version=0.7.2 +revision=1 +wrksrc="marisa-trie-${version}" +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +makedepends="python-devel python3.4-devel" +short_desc="Static memory-efficient Trie-like structures (Python 2)" +maintainer="bra1nwave " +license="MIT" +homepage="https://github.com/kmike/marisa-trie" +distfiles="https://github.com/kmike/marisa-trie/archive/${version}.tar.gz" +checksum=5a5ca6a032fe924097f87439130f013dfb2682e597f4d5414bb87cfe49bc715e + +post_install() { + vlicense LICENSE +} + +python3.4-marisa-trie_package() { + pycompile_version="3.4" + short_desc="${short_desc/Python 2/Python 3.4}" + pkg_install() { + vmove usr/lib/python3.4 + vlicense LICENSE + } +} diff --git a/srcpkgs/python3.4-marisa-trie b/srcpkgs/python3.4-marisa-trie new file mode 120000 index 00000000000..54532eae72a --- /dev/null +++ b/srcpkgs/python3.4-marisa-trie @@ -0,0 +1 @@ +python-marisa-trie/ \ No newline at end of file