Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/ansible/
Date: Sun, 16 Aug 2020 21:23:02
Message-Id: 1597612974.61fd48425430a79fdd1ab4baf9aad7cc2526e64f.prometheanfire@gentoo
1 commit: 61fd48425430a79fdd1ab4baf9aad7cc2526e64f
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 16 21:22:36 2020 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 16 21:22:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61fd4842
7
8 app-admin/ansible: fix upgrading ansible from previous versions
9
10 Closes: https://bugs.gentoo.org/737434
11 Package-Manager: Portage-3.0.2, Repoman-2.3.23
12 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
13
14 app-admin/ansible/ansible-2.10.0.ebuild | 6 ++++++
15 1 file changed, 6 insertions(+)
16
17 diff --git a/app-admin/ansible/ansible-2.10.0.ebuild b/app-admin/ansible/ansible-2.10.0.ebuild
18 index 98ae9f94b8a..79e643cf99f 100644
19 --- a/app-admin/ansible/ansible-2.10.0.ebuild
20 +++ b/app-admin/ansible/ansible-2.10.0.ebuild
21 @@ -49,6 +49,12 @@ DEPEND="
22 dev-vcs/git
23 )"
24
25 +python_compile() {
26 + # disable version checks on upgrade
27 + export ANSIBLE_SKIP_CONFLICT_CHECK=1
28 + distutils-r1_python_compile
29 +}
30 +
31 python_compile_all() {
32 if use doc; then
33 cd docs/docsite || die