commit: 9f3fe052899954cb779b76434f8796f726c716a0 Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Fri Nov 26 09:09:54 2021 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Fri Nov 26 09:16:22 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f3fe052
app-admin/ansible-molecule: remove pyyaml version cap from setup.cfg I haven't been able to reproduce this on any of my systems (yes, including outside Docker this time) but as ago's tinderbox shows, version caps from setup.cfg _can_ sometimes be honoured. Closes: https://bugs.gentoo.org/827362 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild | 4 ++++ .../files/ansible-molecule-3.5.2_pyyaml6.patch | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild b/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild index 21dc93e1196d..90b97115e875 100644 --- a/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild +++ b/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild @@ -54,6 +54,10 @@ BDEPEND="$(python_gen_cond_dep ' ) ')" +PATCHES=( + "${FILESDIR}"/${PN}-3.5.2_pyyaml6.patch +) + S="${WORKDIR}"/${MY_P} distutils_enable_sphinx docs '>=dev-python/sphinx-notfound-page-0.7.1' '<dev-python/sphinx_ansible_theme-0.9.0' diff --git a/app-admin/ansible-molecule/files/ansible-molecule-3.5.2_pyyaml6.patch b/app-admin/ansible-molecule/files/ansible-molecule-3.5.2_pyyaml6.patch new file mode 100644 index 000000000000..80a7d8b7a87d --- /dev/null +++ b/app-admin/ansible-molecule/files/ansible-molecule-3.5.2_pyyaml6.patch @@ -0,0 +1,11 @@ +--- a/setup.cfg ++++ b/setup.cfg +@@ -74,7 +74,7 @@ + packaging + paramiko >= 2.5.0, < 3 + pluggy >= 0.7.1, < 2.0 +- PyYAML >= 5.1, < 6 ++ PyYAML >= 5.1 + rich >= 9.5.1 + subprocess-tee >= 0.3.5 + selinux; sys_platform=="linux2"
