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-lint/
Date: Wed, 01 Feb 2023 22:39:15
Message-Id: 1675290958.4c02bdec951c24a66d380a247c2acfd18485ff45.marecki@gentoo
1 commit: 4c02bdec951c24a66d380a247c2acfd18485ff45
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 1 22:35:58 2023 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 1 22:35:58 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c02bdec
7
8 app-admin/ansible-lint: drop 6.8.6, 6.11.0-r1
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 app-admin/ansible-lint/Manifest | 2 -
13 .../ansible-lint/ansible-lint-6.11.0-r1.ebuild | 55 ---------------
14 app-admin/ansible-lint/ansible-lint-6.8.6.ebuild | 79 ----------------------
15 3 files changed, 136 deletions(-)
16
17 diff --git a/app-admin/ansible-lint/Manifest b/app-admin/ansible-lint/Manifest
18 index ac38f5e9829a..990466c0a953 100644
19 --- a/app-admin/ansible-lint/Manifest
20 +++ b/app-admin/ansible-lint/Manifest
21 @@ -1,5 +1,3 @@
22 -DIST ansible-lint-6.11.0.tar.gz 427423 BLAKE2B 7b32afdfe25965b2fcb24af1587ab3d5a0c29a2ddad64180638a779050525c1a1f8406d97199e6118d83c2e51d3c0a8e81eda85381cf34292d3bfc93b79c1d34 SHA512 96221a7b409b2e68570d8731a721aea0eab0612b8a95fbb25701142ee65e4939c1c6dd59869c5d4ee07474d2a9ec84c2a7c913954740b9cbf89243bf3d35be9a
23 DIST ansible-lint-6.12.0.tar.gz 466270 BLAKE2B 917a4266048799da15b0be4da3074b7e8987551eddfbaef9998d75346b41d5326b5003eae50e74a7303b9db923c49fe9dfc07bd19ac9a1bf168573673c401734 SHA512 cfea6bca35e835400eaec9bc1a00b4e0d7af9bd3505e924b1e9a9fe5a451103d02cfa6b5bb3dda7a154b52f1f2849a90ed5dff7f3873b93d1b16ca2333abc975
24 DIST ansible-lint-6.8.2.gh.tar.gz 288616 BLAKE2B 4ae9c344d834a3d69a05689df296c7915e6eb7cb2a85b773f3adcc4efd898c3e1c9f32d8b1efda31afb7a5466d1966aa754cd5529c7dcfd6c1f45517d39e1750 SHA512 101be050772f6df827a697faa5ff9650c98959d9bd6e7a025a19c0ac94faa6b06e114b9122ae8f09f650be565b226189f4706ef8dd0f27548774664adccf3d18
25 -DIST ansible-lint-6.8.6.gh.tar.gz 293630 BLAKE2B aa43acb9cca21d3cdafebddb18d82781ab708d5696edc51567a8c56cc3eacb3bd96d08f97436eab54e69866f55fa6fc6537eb62e44e4d26eb3ee46ee13e7322d SHA512 0beb16ecff432444a25d3efa70f67eb55437faed593dfbb4bcaf080b06558403e711218f5a021268a2450ceeab1127d8dc8de027d1e4889350f20ca3d9ed9dca
26 DIST ansible-lint-6.9.1.gh.tar.gz 388343 BLAKE2B 73035bdbd6c1bdee5566d5dee5a8461953d99bbaf896d7a9764c32419e74c3d23883ac1a7548de3e21372195f99c325c371cead7397bf64d6d033d9a2f81ed01 SHA512 eaf255c53fb8355b06e7013f6676a09e2d7e67aa332306448f530c345925c80ff5ea54c580f7f6720a25ebed9e8deb4c0a8e4e22af4183e8a8ef7b6999be6099
27
28 diff --git a/app-admin/ansible-lint/ansible-lint-6.11.0-r1.ebuild b/app-admin/ansible-lint/ansible-lint-6.11.0-r1.ebuild
29 deleted file mode 100644
30 index 07351ebda5a3..000000000000
31 --- a/app-admin/ansible-lint/ansible-lint-6.11.0-r1.ebuild
32 +++ /dev/null
33 @@ -1,55 +0,0 @@
34 -# Copyright 1999-2023 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=8
38 -
39 -PYTHON_COMPAT=( python3_{10..11} )
40 -DISTUTILS_USE_PEP517=setuptools
41 -
42 -inherit distutils-r1
43 -
44 -DESCRIPTION="Checks ansible playbooks for practices and behaviour that can be improved"
45 -HOMEPAGE="https://github.com/ansible/ansible-lint"
46 -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
47 -
48 -LICENSE="MIT"
49 -SLOT="0"
50 -KEYWORDS="~amd64 ~riscv"
51 -
52 -# Upstream has stated explicitly that all tests require Internet access
53 -PROPERTIES="test_network"
54 -RESTRICT="test"
55 -
56 -RDEPEND="
57 - >=app-admin/ansible-core-2.12.0[${PYTHON_USEDEP}]
58 - >=dev-python/ansible-compat-2.2.7[${PYTHON_USEDEP}]
59 - >=dev-python/black-22.8.0[${PYTHON_USEDEP}]
60 - >=dev-python/filelock-3.8.0[${PYTHON_USEDEP}]
61 - >=dev-python/jsonschema-4.17.0[${PYTHON_USEDEP}]
62 - >=dev-python/packaging-21.3[${PYTHON_USEDEP}]
63 - >=dev-python/pyyaml-5.4.1[${PYTHON_USEDEP}]
64 - >=dev-python/rich-12.0.0[${PYTHON_USEDEP}]
65 - >=dev-python/ruamel-yaml-0.17.21[${PYTHON_USEDEP}]
66 - >=dev-python/wcmatch-8.3.2[${PYTHON_USEDEP}]
67 - >=dev-util/yamllint-1.26.3[${PYTHON_USEDEP}]
68 - dev-vcs/git"
69 -BDEPEND="
70 - >=dev-python/setuptools_scm-7.0.5[${PYTHON_USEDEP}]
71 - test? (
72 - dev-python/pytest-mock[${PYTHON_USEDEP}]
73 - >=dev-python/pytest-plus-0.2[${PYTHON_USEDEP}]
74 - >=dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}]
75 - )"
76 -
77 -# test_call_from_outside_venv doesn't play nicely with the sandbox
78 -# irrespective of whether Internet access is allowed or not
79 -EPYTEST_DESELECT=(
80 - test/test_main.py::test_call_from_outside_venv
81 -)
82 -
83 -distutils_enable_tests pytest
84 -
85 -# Test suite fails to start without this
86 -python_test() {
87 - epytest test
88 -}
89
90 diff --git a/app-admin/ansible-lint/ansible-lint-6.8.6.ebuild b/app-admin/ansible-lint/ansible-lint-6.8.6.ebuild
91 deleted file mode 100644
92 index b351ac69b126..000000000000
93 --- a/app-admin/ansible-lint/ansible-lint-6.8.6.ebuild
94 +++ /dev/null
95 @@ -1,79 +0,0 @@
96 -# Copyright 1999-2023 Gentoo Authors
97 -# Distributed under the terms of the GNU General Public License v2
98 -
99 -EAPI=8
100 -
101 -PYTHON_COMPAT=( python3_{10..11} )
102 -DISTUTILS_USE_PEP517=setuptools
103 -
104 -inherit distutils-r1
105 -
106 -DESCRIPTION="Checks ansible playbooks for practices and behaviour that can be improved"
107 -HOMEPAGE="https://github.com/ansible/ansible-lint"
108 -SRC_URI="https://github.com/ansible/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
109 -
110 -LICENSE="MIT"
111 -SLOT="0"
112 -KEYWORDS="~amd64 ~riscv"
113 -
114 -RDEPEND="
115 - >=app-admin/ansible-core-2.12.0[${PYTHON_USEDEP}]
116 - >=dev-python/ansible-compat-2.2.4[${PYTHON_USEDEP}]
117 - >=dev-python/black-22.1.0[${PYTHON_USEDEP}]
118 - dev-python/filelock[${PYTHON_USEDEP}]
119 - >=dev-python/jsonschema-4.9.0[${PYTHON_USEDEP}]
120 - dev-python/packaging[${PYTHON_USEDEP}]
121 - dev-python/pyyaml[${PYTHON_USEDEP}]
122 - >=dev-python/rich-9.5.1[${PYTHON_USEDEP}]
123 - >=dev-python/ruamel-yaml-0.15.37[${PYTHON_USEDEP}]
124 - >=dev-python/wcmatch-7.0[${PYTHON_USEDEP}]
125 - >=dev-util/yamllint-1.25.0[${PYTHON_USEDEP}]"
126 -BDEPEND="
127 - >=dev-python/setuptools_scm-3.5.0[${PYTHON_USEDEP}]
128 - >=dev-python/setuptools_scm_git_archive-1.0[${PYTHON_USEDEP}]
129 - test? (
130 - >=dev-python/flaky-3.7.0[${PYTHON_USEDEP}]
131 - dev-python/pytest-mock[${PYTHON_USEDEP}]
132 - >=dev-python/pytest-plus-0.2[${PYTHON_USEDEP}]
133 - >=dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}]
134 - )"
135 -
136 -PATCHES=(
137 - "${FILESDIR}"/${PN}-6.8.6_test-module-check.patch
138 -)
139 -
140 -# Skip problematic tests:
141 -# - test_rules_id_format has been giving an internal error since 6.5.4 or so (TODO: follow this up with upstream)
142 -# - similar problem with test_example_custom_module and 6.8.6
143 -# - test_call_from_outside_venv doesn't play nicely with the sandbox
144 -# - all the others require Internet access, mostly in order to access Ansible Galaxy
145 -EPYTEST_DESELECT=(
146 - test/test_ansiblesyntax.py::test_null_tasks
147 - test/test_cli_role_paths.py::test_run_playbook_github
148 - test/test_eco.py
149 - test/test_examples.py::test_example_custom_module
150 - test/test_examples.py::test_custom_kinds
151 - test/test_import_playbook.py::test_task_hook_import_playbook
152 - test/test_list_rules.py::test_list_rules_includes_opt_in_rules
153 - test/test_list_rules.py::test_list_rules_with_format_option
154 - test/test_list_rules.py::test_list_tags_includes_opt_in_rules
155 - test/test_main.py::test_call_from_outside_venv
156 - test/test_prerun.py::test_install_collection
157 - test/test_prerun.py::test_prerun_reqs_v1
158 - test/test_prerun.py::test_prerun_reqs_v2
159 - test/test_prerun.py::test_require_collection_wrong_version
160 - test/test_profiles.py::test_profile_listing
161 - test/test_rules_collection.py::test_rich_rule_listing
162 - test/test_rules_collection.py::test_rules_id_format
163 - test/test_skip_inside_yaml.py::test_role_meta
164 - test/test_utils.py::test_cli_auto_detect
165 - test/test_utils.py::test_template_lookup
166 - test/test_verbosity.py::test_default_verbosity
167 -)
168 -
169 -distutils_enable_tests pytest
170 -
171 -# Test suite fails to start without this. Bug in the eclass, maybe?
172 -python_test() {
173 - epytest test
174 -}