From 1f3920f6eb873e3a1b846e74950e349495f1d372 Mon Sep 17 00:00:00 2001 From: jgilaber Date: Mon, 14 Feb 2022 16:22:32 +0100 Subject: [PATCH] Add patch to list of build dependencies This commit adds the patch package to the list of python build dependencies for pyenv. This is not always necessary, but some python versions (for example 3.7.12) require a patch to be applied before installing and the process fails if the patch package is not installed. Change-Id: I605fc1c9255e98692a6a901cfc509b7fdb873ae1 --- roles/ensure-python/vars/Debian.yaml | 1 + roles/ensure-python/vars/Gentoo.yaml | 1 + roles/ensure-python/vars/RedHat.yaml | 1 + roles/ensure-python/vars/Suse.yaml | 1 + 4 files changed, 4 insertions(+) diff --git a/roles/ensure-python/vars/Debian.yaml b/roles/ensure-python/vars/Debian.yaml index b3f5797c1..6e828fe89 100644 --- a/roles/ensure-python/vars/Debian.yaml +++ b/roles/ensure-python/vars/Debian.yaml @@ -8,3 +8,4 @@ python_build_depends: - libsqlite3-dev - make - zlib1g-dev + - patch diff --git a/roles/ensure-python/vars/Gentoo.yaml b/roles/ensure-python/vars/Gentoo.yaml index 334cb6b30..43306ea50 100644 --- a/roles/ensure-python/vars/Gentoo.yaml +++ b/roles/ensure-python/vars/Gentoo.yaml @@ -1,2 +1,3 @@ python_build_depends: - virtual/libffi + - patch diff --git a/roles/ensure-python/vars/RedHat.yaml b/roles/ensure-python/vars/RedHat.yaml index fc9cbf4a0..3456e28ed 100644 --- a/roles/ensure-python/vars/RedHat.yaml +++ b/roles/ensure-python/vars/RedHat.yaml @@ -7,3 +7,4 @@ python_build_depends: - readline-devel - sqlite-devel - zlib-devel + - patch diff --git a/roles/ensure-python/vars/Suse.yaml b/roles/ensure-python/vars/Suse.yaml index e0fa6fc44..dde46913a 100644 --- a/roles/ensure-python/vars/Suse.yaml +++ b/roles/ensure-python/vars/Suse.yaml @@ -9,3 +9,4 @@ python_build_depends: - sqlite3-devel - tar - zlib-devel + - patch