Files
MINGW-packages/mingw-w64-python-py-cpuinfo/py-cpuinfo2-i686.install
J. Peter Mugaas 4999cff9fc Some packages for running python-pytest-benchmark - needed to test py… (#4306)
* Some packages for running python-pytest-benchmark - needed to test python-hypothesis
python2-pathlib - 1.0.1 - new package for building and use by python-pytest-benchmark
python-pytest-runner - 4.2 - clarified and corrected dependencies and build requirements
python2-statistics - 1.0.3.5 - New package  for building and use by python-pytest-benchmark
python-py-cpuinfo - 4.0.8 - New package  for building and use by python-pytest-benchmark

* Various fixes suggested Alexpux
2018-08-25 20:42:58 +03:00

15 lines
224 B
Plaintext

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