32 lines
979 B
Bash
32 lines
979 B
Bash
# Template file for 'python-marisa-trie'
|
|
pkgname=python-marisa-trie
|
|
version=0.7.2
|
|
revision=2
|
|
wrksrc="marisa-trie-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
makedepends="python-devel python3-devel"
|
|
short_desc="Static memory-efficient Trie-like structures (Python2)"
|
|
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-marisa-trie_package() {
|
|
replaces="python3.4-marisa-trie>=0"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|
|
python3.4-marisa-trie_package() {
|
|
build_style=meta
|
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
|
depends="python3-marisa-trie>=${version}_${revision}"
|
|
}
|