mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-24 05:37:45 +08:00
Fixes a flaky conflict between zypper and packagekitd. packagekit is a *static* unit, that means it is missing an [Install] section, so it can't be enabled or disabled. It is started as a dependency by other units, or by dbus activation. We *mask* the unit to make it impossible to start in any way. For that we had replace a few occurrences of "pkcon" with the native package manager. Finally the package "libpython3_4m1_0" is not being installed any longer because it never was: this package does not exist. It's just that pkcon does not fail on invalid package names. Fixes: QTQAINFRA-3523 Change-Id: I6ff580afb05aa508042c444b2ce777c3a9443dfe Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
19 lines
663 B
Bash
Executable File
19 lines
663 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# provides: python development libraries
|
|
# version: provided by default Linux distribution repository
|
|
# needed to build pyside
|
|
|
|
set -ex
|
|
|
|
sudo zypper -nq install python-devel python-virtualenv
|
|
|
|
# install python3
|
|
sudo zypper -nq install python3-base python3 python3-pip python3-devel python3-virtualenv python3-wheel
|
|
|
|
# Install all needed packages in a special wheel cache directory
|
|
pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
|
|
|
|
# shellcheck source=../common/unix/SetEnvVar.sh
|
|
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
|
SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
|