void-packages/srcpkgs/python-progress/template

32 lines
791 B
Bash

# Template file for 'python-progress'
pkgname=python-progress
version=1.4
revision=1
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>"
license="ISC"
homepage="https://github.com/verigak/progress"
distfiles="${PYPI_SITE}/p/progress/progress-${version}.tar.gz"
checksum=5e2f9da88ed8236a76fffbee3ceefd259589cf42dfbc2cec2877102189fae58a
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
}
}