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
1 changed files with 2 additions and 2 deletions

View File

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