From: Frank Brehm Date: Fri, 30 Dec 2022 13:01:04 +0000 (+0100) Subject: Fixing gitlab/build-template-python.yaml because of additional packages X-Git-Tag: v1.1^0 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=9e6bca5074e579bc3f776ed2366eec6090889007;p=pixelpark%2Fpython-packaging.git Fixing gitlab/build-template-python.yaml because of additional packages --- diff --git a/gitlab/build-template-python.yaml b/gitlab/build-template-python.yaml index 316693e..ad7409b 100644 --- a/gitlab/build-template-python.yaml +++ b/gitlab/build-template-python.yaml @@ -173,6 +173,7 @@ variables: elif [[ "${EL_MAJOR_VERSION}" == "9" ]] ; then install_packages+=" ${PYTHON_PACKAGES_EL9}" fi + install_packages=$( echo "${install_packages}" | grep -P -o '^.*\S' ) if [[ -n "${PYTHON_ADDITIONAL_PACKAGES}" ]] ; then for pkg in ${PYTHON_ADDITIONAL_PACKAGES} ; do pkg_mangled=$( echo "${pkg}" | sed -e "s/^python3[0-9]*-/python${PYTHON_VERSION_NODOT}-/" )