mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-24 21:57:45 +08:00
OpenSUSE 15.6 and SLES 15 SP6 seem to need direct configuration
for git and curl to take CA certificates into use. [CI Platforms]
Includes fix to install gstreamer h264 codec
(amending 58e0090020)
Task-number: QTQAINFRA-6740
Task-number: QTQAINFRA-6739
Change-Id: I0d92ef50527564d2f048174777e20d1611aaf4d2
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
25 lines
862 B
Bash
25 lines
862 B
Bash
#!/usr/bin/env bash
|
|
# Copyright (C) 2024 The Qt Company Ltd.
|
|
|
|
# provides: python development libraries
|
|
# version: provided by default Linux distribution repository
|
|
# needed to build pyside
|
|
|
|
set -ex
|
|
|
|
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
|
|
|
sudo zypper -nq install python-devel python-xml
|
|
|
|
# install python3
|
|
sudo zypper -nq install python311-base python311-devel python311-pip python311-virtualenv python311-wheel
|
|
python3.11 -m pip install selenium netifaces scache
|
|
python3.11 -m pip install -r "${BASH_SOURCE%/*}/../common/shared/sbom_requirements.txt"
|
|
|
|
SetEnvVar "PYTHON3_EXECUTABLE" "/usr/bin/python3.11"
|
|
|
|
# Provisioning during installation says:
|
|
# 'Defaulting to user installation because normal site-packages is not writeable'
|
|
# So it implicitly uses pip install --user, hence the path.
|
|
SetEnvVar "SBOM_PYTHON_APPS_PATH" "/home/qt/.local/bin"
|