# Template file for 'python-ttystatus'
pkgname=python-ttystatus
version=0.38
revision=1
noarch=yes
build_style=python-module
pycompile_module="ttystatus"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Terminal progress bar and status output for Python2"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
homepage="http://liw.fi/ttystatus/"
license="GPL-3"
distfiles="http://code.liw.fi/debian/pool/main/p/${pkgname}/${pkgname}_${version}.orig.tar.xz"
checksum=e544dd5b0f77ebc3bb5b4ace34bd3d2751e72956ec096c8ffb34beaead433628

python3-ttystatus_package() {
	noarch=yes
	depends="python3"
	pycompile_module="ttystatus"
	short_desc="${short_desc/Python2/Python3}"
	pkg_install() {
		vmove usr/lib/python3*
	}
}
