commit:     61fd48425430a79fdd1ab4baf9aad7cc2526e64f
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 16 21:22:36 2020 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sun Aug 16 21:22:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61fd4842

app-admin/ansible: fix upgrading ansible from previous versions

Closes: https://bugs.gentoo.org/737434
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 app-admin/ansible/ansible-2.10.0.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/app-admin/ansible/ansible-2.10.0.ebuild 
b/app-admin/ansible/ansible-2.10.0.ebuild
index 98ae9f94b8a..79e643cf99f 100644
--- a/app-admin/ansible/ansible-2.10.0.ebuild
+++ b/app-admin/ansible/ansible-2.10.0.ebuild
@@ -49,6 +49,12 @@ DEPEND="
                dev-vcs/git
        )"
 
+python_compile() {
+       # disable version checks on upgrade
+       export ANSIBLE_SKIP_CONFLICT_CHECK=1
+       distutils-r1_python_compile
+}
+
 python_compile_all() {
        if use doc; then
                cd docs/docsite || die

Reply via email to