void-packages/srcpkgs/python-texttable/template

27 lines
762 B
Bash

# Template file for 'python-texttable'
pkgname=python-texttable
version=1.2.1
revision=1
noarch=yes
wrksrc="texttable-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
pycompile_module="texttable.py"
short_desc="Python2 module for creating simple ASCII tables"
maintainer="Sergi Alvarez <pancake@nopcode.org>"
homepage="https://github.com/foutaise/texttable/"
license="LGPL-3"
distfiles="${PYPI_SITE}/t/texttable/texttable-${version}.tar.gz"
checksum=c89dc0148ae29645917aab7e970a30d1af565b3ca276cef8ab1a60469f0d8100
python3-texttable_package() {
noarch=yes
depends="python3"
pycompile_module="texttable.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}