void-packages/srcpkgs/python-progress/template

32 lines
795 B
Bash

# Template file for 'python-progress'
pkgname=python-progress
version=1.5
revision=1
archs=noarch
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=69ecedd1d1bbe71bf6313d88d1e6c4d2957b7f1d4f71312c211257f7dae64372
post_install() {
vlicense LICENSE
}
python3-progress_package() {
archs=noarch
depends="python3"
pycompile_module="progress"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}