python-progress: update to 1.3

This commit is contained in:
Alessio Sergi 2017-04-21 15:26:14 +02:00
parent e2d2cddc25
commit 980e826d4b
1 changed files with 9 additions and 5 deletions

View File

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