Files
MINGW-packages/mingw-w64-python-pycodestyle/pycodestyle2-i686.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 mingw32
local _prefix=$(pwd -W)
cd -
local _it
for _it in pycodestyle2; do
sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py
done
}
post_upgrade() {
post_install
}