void-packages/srcpkgs/python-progress/template

32 lines
791 B
Bash

# Template file for 'python-progress'
pkgname=python-progress
version=1.3
revision=2
noarch=yes
wrksrc="progress-${version}"
build_style=python-module
pycompile_module="progress"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Easy to use progress bars (Python2)"
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
homepage="https://github.com/verigak/progress"
license="ISC"
distfiles="${PYPI_SITE}/p/progress/progress-${version}.tar.gz"
checksum=c88d89ee3bd06716a0b8b5504d9c3bcb3c1c0ab98f96dc7f1dc5f56812a4f60a
post_install() {
vlicense LICENSE
}
python3-progress_package() {
noarch=yes
depends="python3"
pycompile_module="progress"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}