2017-01-25 02:58:19 +01:00
|
|
|
# Template file for 'python-progress'
|
|
|
|
pkgname=python-progress
|
2017-04-21 15:26:14 +02:00
|
|
|
version=1.3
|
2017-01-25 02:58:19 +01:00
|
|
|
revision=1
|
|
|
|
noarch=yes
|
|
|
|
wrksrc="progress-${version}"
|
|
|
|
build_style=python-module
|
|
|
|
pycompile_module="progress"
|
|
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
2017-04-21 15:26:14 +02:00
|
|
|
depends="python"
|
2017-01-25 02:58:19 +01:00
|
|
|
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"
|
2017-04-21 15:26:14 +02:00
|
|
|
checksum=c88d89ee3bd06716a0b8b5504d9c3bcb3c1c0ab98f96dc7f1dc5f56812a4f60a
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
2017-01-25 02:58:19 +01:00
|
|
|
|
|
|
|
python3-progress_package() {
|
|
|
|
noarch=yes
|
2017-04-21 15:26:14 +02:00
|
|
|
depends="python3"
|
2017-01-25 02:58:19 +01:00
|
|
|
pycompile_module="progress"
|
|
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3*
|
2017-04-21 15:26:14 +02:00
|
|
|
vlicense LICENSE
|
2017-01-25 02:58:19 +01:00
|
|
|
}
|
|
|
|
}
|