python-ndg-httpsclient - 4.4.4 - Update to late3st version. Make sure you can run the .exe in the package by specifying the absolute path and doing a fixup at install. (#3396)

This commit is contained in:
J. Peter Mugaas
2018-02-16 05:04:07 -05:00
committed by Алексей
parent b887e7eb5f
commit 80b1e2397e
5 changed files with 73 additions and 3 deletions

View File

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