void-packages/srcpkgs/python-marisa-trie/template

28 lines
839 B
Bash

# Template file for 'python-marisa-trie'
pkgname=python-marisa-trie
version=0.7.5
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/pytries/marisa-trie"
changelog="https://raw.githubusercontent.com/pytries/marisa-trie/master/CHANGES.rst"
distfiles="${PYPI_SITE}/m/marisa-trie/marisa-trie-${version}.tar.gz"
checksum=c73bc25d868e8c4ea7aa7f1e19892db07bba2463351269b05340ccfa06eb2baf
post_install() {
vlicense LICENSE
}
python3-marisa-trie_package() {
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}