# Template file for 'pycp' pkgname=pycp version=8.0.6 revision=4 archs=noarch build_style=python3-module pycompile_module="pycp" hostmakedepends="help2man python3-setuptools" depends="python3 python3-cli-ui python3-attrs" short_desc="Shows progressbar of cp and mv" maintainer="fs0ciety " 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 } post_install() { vlicense COPYING.txt LICENSE }