pycp: fix renaming of ui. to cli_ui. not ui_cli.

This commit is contained in:
maxice8 2019-01-18 09:59:14 -02:00
parent 94ff920273
commit 3bc75cc6f3
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,7 +1,7 @@
# Template file for 'pycp' # Template file for 'pycp'
pkgname=pycp pkgname=pycp
version=8.0.6 version=8.0.6
revision=2 revision=3
noarch=yes noarch=yes
build_style=python3-module build_style=python3-module
pycompile_module="pycp" pycompile_module="pycp"
@ -18,7 +18,7 @@ pre_build() {
vsed -e 's|import ui|import cli_ui|g' \ vsed -e 's|import ui|import cli_ui|g' \
-i pycp/transfer.py -i pycp/progress.py -i pycp/transfer.py -i pycp/progress.py
vsed -e 's|ui\.|ui_cli.|g' \ vsed -e 's|ui\.|cli_ui.|g' \
-i pycp/transfer.py -i pycp/progress.py -i pycp/transfer.py -i pycp/progress.py
vsed -e 's|python-cli-ui|cli-ui|g' -i setup.py vsed -e 's|python-cli-ui|cli-ui|g' -i setup.py