From: Frank Brehm Date: Fri, 30 Dec 2022 12:39:28 +0000 (+0100) Subject: Fixing gitlab/build-template-python.yaml because of additional packages X-Git-Tag: v1.1~1^2 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=cccafea639b7d096408cf81b812a5414557c504b;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 087d88c..316693e 100644 --- a/gitlab/build-template-python.yaml +++ b/gitlab/build-template-python.yaml @@ -175,8 +175,9 @@ variables: fi if [[ -n "${PYTHON_ADDITIONAL_PACKAGES}" ]] ; then for pkg in ${PYTHON_ADDITIONAL_PACKAGES} ; do - pkg=$( echo "${pkg}" | sed -e "s/^python3[0-9]-/python${PYTHON_VERSION_NODOT}-/" ) - install_packages+=" ${pkg}" + pkg_mangled=$( echo "${pkg}" | sed -e "s/^python3[0-9]*-/python${PYTHON_VERSION_NODOT}-/" ) + echo "Need additional package '${pkg}' -> '${pkg_mangled}'" + install_packages+=" ${pkg_mangled}" done fi echo "Additonal packages to install: ${install_packages}"