Files
MINGW-packages/mingw-w64-python-pycodestyle/pycodestyle2-x86_64.install
J. Peter Mugaas 5dddc2c997 python-pyflake8 - 3.5.0 and packages that it depends upon (#4315)
python-pycodestyle - 2.4.0 - new package
python-mccabe 0.6.1 - new package
2018-08-27 08:48:34 +03:00

15 lines
228 B
Plaintext

post_install() {
cd mingw64
local _prefix=$(pwd -W)
cd -
local _it
for _it in pycodestyle2; do
sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py
done
}
post_upgrade() {
post_install
}