void-packages/srcpkgs/python-ttystatus/template
2019-03-01 12:04:45 -03:00

25 lines
748 B
Bash

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