Files
MINGW-packages/mingw-w64-python-nose/nose2-i686.install
J. Peter Mugaas e7b4265ee2 Several other testing things that need to reference the proper interpretter and an updated beaker. These should go together because tof dependencies. (#3400)
Note that it does seem necessary to have a path reference to the proper interpretter instead of using env because it might reference the wrong classes from the wrong python library.  That can cause problems if the MSYS version is different than the ones for mingw32 and mingw64.  Thus, we should do a fixup in the *.install scripts like python-pip.

beaker - update to version 1.9.0 and rework to conform with the pattern I use.
make - make sure the command line .exe script uses the right interpreter and classes.
nose - make sure the command line .exe script uses the right interpretter and classes
2018-02-16 15:35:07 +03:00

15 lines
250 B
Plaintext

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