void-packages/srcpkgs/python-ttystatus/template

26 lines
744 B
Bash

# Template file for 'python-ttystatus'
pkgname=python-ttystatus
version=0.37
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=89dc70da1e49b099bcc4b7332b266936ecd5c75223f4e4bf9b6add5064cb5712
python3-ttystatus_package() {
noarch=yes
depends="python3"
pycompile_module="ttystatus"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}