Files
MINGW-packages/mingw-w64-python-email-validator/email-validator3-i686.install
J. Peter Mugaas f69eca5771 python-faker 0.9.0 and packages it depends upon for build and testing (#4314)
python-text-unidecode 1.2-2 - new package
python-email-validator 1.0.3 - new package
python-ukpostcodeparser 1.1.2 0 new package
python-dnspython 1.15.0 - new package
2018-08-26 10:04:35 +03:00

18 lines
366 B
Plaintext

post_install() {
cd mingw32
local _prefix=$(pwd -W)
cd -
local _it
# "somepackage" should be replaced with the name of your .EXE w/o 2 and .exe ext
# Like this:
# For "myexe.exe", it would be "myexe" .
for _it in email_validator; do
sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py
done
}
post_upgrade() {
post_install
}