diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-11-05 18:49:51 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-11-05 18:49:51 +0000 |
| commit | de3d666908b77a84a136c2cfc905eece64ae9091 (patch) | |
| tree | 6e1c7b97166d1f53e3ec2747ca61fb45edc24634 | |
| parent | macOS bundle support for append_inkscape_datadir (diff) | |
| download | inkscape-de3d666908b77a84a136c2cfc905eece64ae9091.tar.gz inkscape-de3d666908b77a84a136c2cfc905eece64ae9091.zip | |
MSYS2: avoid pip upgrade failing if dependencies can't be updated
| -rw-r--r-- | buildtools/msys2installdeps.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/buildtools/msys2installdeps.sh b/buildtools/msys2installdeps.sh index 2b5006095..4e06fa7a6 100644 --- a/buildtools/msys2installdeps.sh +++ b/buildtools/msys2installdeps.sh @@ -87,13 +87,17 @@ $ARCH-python3-numpy \ $ARCH-python3-pillow \ $ARCH-python3-six \ $ARCH-python3-gobject + +PACKAGES="coverage pyserial scour" for arch in $(eval echo $ARCH); do case ${arch} in mingw-w64-i686) - /mingw32/bin/pip3 install --upgrade --upgrade-strategy eager coverage pyserial scour + /mingw32/bin/pip3 install --upgrade --upgrade-strategy eager ${PACKAGES} || \ + /mingw32/bin/pip3 install --upgrade ${PACKAGES} ;; mingw-w64-x86_64) - /mingw64/bin/pip3 install --upgrade --upgrade-strategy eager coverage pyserial scour + /mingw64/bin/pip3 install --upgrade --upgrade-strategy eager ${PACKAGES} || \ + /mingw64/bin/pip3 install --upgrade ${PACKAGES} ;; esac done |
