32 lines
973 B
Bash
32 lines
973 B
Bash
# Template file for 'python-marisa-trie'
|
|
pkgname=python-marisa-trie
|
|
version=0.7.4
|
|
revision=1
|
|
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="${PYPI_SITE}/m/marisa-trie/marisa-trie-${version}.tar.gz"
|
|
checksum=2a2258eacca9966325f9019378fc4621891f2482bc63e6441f70599595ed97d8
|
|
|
|
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}"
|
|
}
|