vp-build/srcpkgs/python-progress/template

28 lines
735 B
Bash

# Template file for 'python-progress'
pkgname=python-progress
version=1.2
revision=1
noarch=yes
wrksrc="progress-${version}"
build_style=python-module
pycompile_module="progress"
hostmakedepends="python-setuptools python3-setuptools"
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=5b6a50f9ac76820f619d7789b5354881c8c10060a64047e415868d8f503cc2eb
python3-progress_package() {
noarch=yes
pycompile_module="progress"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}
post_install() {
vlicense LICENSE
}