# Template file for 'python-texttable'
pkgname=python-texttable
version=1.4.0
revision=1
noarch=yes
wrksrc="texttable-${version}"
build_style=python-module
pycompile_module="texttable.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 module for creating simple ASCII tables"
maintainer="Sergi Alvarez <pancake@nopcode.org>"
homepage="https://github.com/foutaise/texttable/"
license="LGPL-3.0-or-later"
distfiles="${PYPI_SITE}/t/texttable/texttable-${version}.tar.gz"
checksum=95e8cfe85f8395a7eacdfbc8f09d885b9ef3a6ac6ead0364ea721de1127aa36b

python3-texttable_package() {
	noarch=yes
	depends="python3"
	pycompile_module="texttable.py"
	short_desc="${short_desc/Python2/Python3}"
	pkg_install() {
		vmove usr/lib/python3*
	}
}
