pycp: update to 8.0.8.

This commit is contained in:
maxice8 2019-03-03 19:02:16 -03:00 committed by maxice8
parent 3496a8386b
commit 96a05e9f97

View file

@ -1,28 +1,18 @@
# Template file for 'pycp'
pkgname=pycp
version=8.0.6
revision=4
version=8.0.8
revision=1
archs=noarch
build_style=python3-module
pycompile_module="pycp"
hostmakedepends="help2man python3-setuptools"
depends="python3 python3-cli-ui python3-attrs"
depends="python3 python3-attrs"
short_desc="Shows progressbar of cp and mv"
maintainer="fs0ciety <mrrobot@fsociety.info>"
license="MIT"
homepage="https://github.com/dmerejkowsky/pycp"
distfiles="${PYPI_SITE}/p/pycp/pycp-${version}.tar.gz"
checksum=c2960604585ef392cdc1185a094409d5132b9630b0c0bf4d56bac7f00fb40c65
pre_build() {
vsed -e 's|import ui|import cli_ui|g' \
-i pycp/transfer.py -i pycp/progress.py
vsed -e 's|ui\.|cli_ui.|g' \
-i pycp/transfer.py -i pycp/progress.py
vsed -e 's|python-cli-ui|cli-ui|g' -i setup.py
}
checksum=258e34e15c4b1eb229db2a48a1f3bb010500825d6f90abc19801b4de2824dbde
post_install() {
vlicense COPYING.txt LICENSE