27 lines
752 B
Bash
27 lines
752 B
Bash
# Template file for 'python-marisa-trie'
|
|
pkgname=python-marisa-trie
|
|
version=0.7.4
|
|
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="${PYPI_SITE}/m/marisa-trie/marisa-trie-${version}.tar.gz"
|
|
checksum=2a2258eacca9966325f9019378fc4621891f2482bc63e6441f70599595ed97d8
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-marisa-trie_package() {
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|