28 lines
821 B
Bash
28 lines
821 B
Bash
# 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 <brainwave@openmailbox.org>"
|
|
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
|
|
}
|
|
}
|