Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/ansible/
Date: Wed, 16 Sep 2020 08:37:12
Message-Id: 1600244918.fc5d9f44a72f322fe371b20c4ba830a41b7ed93d.marecki@gentoo
1 commit: fc5d9f44a72f322fe371b20c4ba830a41b7ed93d
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 16 08:28:38 2020 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 16 08:28:38 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc5d9f44
7
8 app-admin/ansible: drop 2.10.0
9
10 This is in fact ansible-base, which has got its own ebuilds now [1].
11 There is no upstream release of 'ansible' yet but there WILL be one,
12 upstream has explicitly stated they will continue to provide this
13 package and the latest pre-release, 2.10.0rc1, came out only yesterday
14 [2, 3]. In the meantime "upgrading" from ansible-2.9 to ansible-base-2.10
15 removes all core modules/plug-ins, breaking all playbooks which do not
16 explicitly fetch *all* the required modules through other means.
17
18 As explained on gentoo-dev.
19
20 [1] app-admin/ansible-base
21 [2] https://github.com/ansible-collections/overview/blob/main/README.rst#q-once-the-next-version-of-ansible-is-released-will-my-playbooks-still-work
22 [3] https://pypi.org/project/ansible/
23
24 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
25
26 app-admin/ansible/Manifest | 1 -
27 app-admin/ansible/ansible-2.10.0.ebuild | 75 ---------------------------------
28 2 files changed, 76 deletions(-)
29
30 diff --git a/app-admin/ansible/Manifest b/app-admin/ansible/Manifest
31 index 312a4365afc..ccdb31c5f7d 100644
32 --- a/app-admin/ansible/Manifest
33 +++ b/app-admin/ansible/Manifest
34 @@ -1,3 +1,2 @@
35 DIST ansible-2.9.12.tar.gz 14260349 BLAKE2B 6d7fdc82489df755196b890b39c166e9639c94e4238b4bf33686a3ab17fcc92c6b3a05f80e1276795b966aaa318ec7d9003099950102c014adb1a5d730928633 SHA512 6c05c49e363d4d68516dfea448cead3e2c281d1288c9467a0b6dd083504f303df694ed1c5957ae6582b28acc937d12d13333254328e13bac430b9b7fa4354f23
36 DIST ansible-2.9.13.tar.gz 14261322 BLAKE2B 5de939a99cd703eaf240f536a9a4b707e3931364647782dde2bbebd5b755253594cbb1cf8c4e9f22a14fca85c9f018ee6ea26bce1cbe2145ba72e5f5ec313670 SHA512 cb08adf62df0f3650425a5d960baadd7439c7c1e95b8f9df3d08e7504f9622b9e5f7104b8700b0f1e9fe318d349a6a5728e9178f0193fb4a190456e30a2f1eb2
37 -DIST ansible-base-2.10.0.tar.gz 5775091 BLAKE2B 2a087b1a9d675c5218e8700f5b455ff280a5dc6e66b575a47755b9936c54594300e3c22acadbe14acfd335c3be788e3d63f6ad3c5c51650cbc036c77ceec41ef SHA512 f9e9631f9ce77e55b06d01814422cbc0ca170e3fbbbd5886e4f87065b68b4d7eefe1c782f6dce14241cc548192c7b06ef778446636be02a342d4bd112000126e
38
39 diff --git a/app-admin/ansible/ansible-2.10.0.ebuild b/app-admin/ansible/ansible-2.10.0.ebuild
40 deleted file mode 100644
41 index 1477fa51b69..00000000000
42 --- a/app-admin/ansible/ansible-2.10.0.ebuild
43 +++ /dev/null
44 @@ -1,75 +0,0 @@
45 -# Copyright 1999-2020 Gentoo Authors
46 -# Distributed under the terms of the GNU General Public License v2
47 -
48 -EAPI=7
49 -
50 -PYTHON_COMPAT=( python3_{6,7} )
51 -
52 -inherit distutils-r1 eutils
53 -
54 -DESCRIPTION="Model-driven deployment, config management, and command execution framework"
55 -HOMEPAGE="https://ansible.com/"
56 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}-base/${PN}-base-${PV}.tar.gz"
57 -S="${WORKDIR}/${PN}-base-${PV}"
58 -
59 -LICENSE="GPL-3"
60 -SLOT="0"
61 -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~x64-macos"
62 -IUSE="doc test"
63 -RESTRICT="test"
64 -
65 -RDEPEND="
66 - dev-python/paramiko[${PYTHON_USEDEP}]
67 - dev-python/jinja[${PYTHON_USEDEP}]
68 - dev-python/pyyaml[${PYTHON_USEDEP}]
69 - dev-python/setuptools[${PYTHON_USEDEP}]
70 - dev-python/cryptography[${PYTHON_USEDEP}]
71 - dev-python/httplib2[${PYTHON_USEDEP}]
72 - dev-python/six[${PYTHON_USEDEP}]
73 - dev-python/netaddr[${PYTHON_USEDEP}]
74 - dev-python/pexpect[${PYTHON_USEDEP}]
75 - net-misc/sshpass
76 - virtual/ssh
77 -"
78 -DEPEND="
79 - dev-python/setuptools[${PYTHON_USEDEP}]
80 - >=dev-python/packaging-16.6[${PYTHON_USEDEP}]
81 - doc? (
82 - dev-python/sphinx[${PYTHON_USEDEP}]
83 - dev-python/sphinx-notfound-page[${PYTHON_USEDEP}]
84 - >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}]
85 - )
86 - test? (
87 - ${RDEPEND}
88 - dev-python/nose[${PYTHON_USEDEP}]
89 - >=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
90 - dev-python/passlib[${PYTHON_USEDEP}]
91 - dev-python/coverage[${PYTHON_USEDEP}]
92 - dev-python/unittest2[${PYTHON_USEDEP}]
93 - dev-vcs/git
94 - )"
95 -
96 -python_compile() {
97 - # disable version checks on upgrade
98 - export ANSIBLE_SKIP_CONFLICT_CHECK=1
99 - distutils-r1_python_compile
100 -}
101 -
102 -python_compile_all() {
103 - if use doc; then
104 - cd docs/docsite || die
105 - export CPUS=4
106 - emake -f Makefile.sphinx html
107 - fi
108 -}
109 -
110 -python_test() {
111 - nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
112 -}
113 -
114 -python_install_all() {
115 - use doc && local HTML_DOCS=( docs/docsite/_build/html/. )
116 - distutils-r1_python_install_all
117 -
118 - dodoc -r examples
119 -}