1 |
commit: c05b7fafd1538c89fe42a80c719657783f4824ca |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 11 16:04:12 2022 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 11 18:38:18 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c05b7faf |
7 |
|
8 |
app-admin/ansible-lint: add 5.3.2 |
9 |
|
10 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
11 |
|
12 |
app-admin/ansible-lint/Manifest | 1 + |
13 |
app-admin/ansible-lint/ansible-lint-5.3.2.ebuild | 49 ++++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/ansible-lint/Manifest b/app-admin/ansible-lint/Manifest |
17 |
index 90ad08f35644..f33314c9a685 100644 |
18 |
--- a/app-admin/ansible-lint/Manifest |
19 |
+++ b/app-admin/ansible-lint/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST ansible-lint-5.2.1.tar.gz 356071 BLAKE2B 70c54114a667ba63c1d285ec8a73a7c3332f89cbdf1b8d4866de86aa2c358e41759ac69188806c715cbd3893a2d0b1123e6b679ed208ce4c40141a40b9f54681 SHA512 9ae1aa775572485aaa68ef127cb2ea2d66cd1057878ac396b1644244a070f05b7920eceec3cdb16523f9fadcbcb5df971f3513d7e4d9cbd6ace1ec4f4d861451 |
22 |
DIST ansible-lint-5.3.1.tar.gz 356514 BLAKE2B 3ae30c357ed03c544773671af94763bf76d3544f30b1c7b7081db9a67feaeaecfb678d4b194c05b45fc8c7e75cc1c057ad9612ad4aaf364cfd4904200ac128f5 SHA512 2d46b1cf2605c68765c67e7d7e90a049e9253b058ac01c833ed0afc67ba553a8855f3d9315eec440bfc08c0d9e7b0b0f5e0151021708ad1e05fd895c7f679c43 |
23 |
+DIST ansible-lint-5.3.2.tar.gz 356870 BLAKE2B 4af11f760e30945e066a9d160438bbedd5a4d39799009bc6d30614baab0b88a21cad088c0b758529aaa5fbb54a9f2a1f636ab6d642a37297a27c8ba5240f53ef SHA512 4ff2d36de20b2e6982d0cd1bca6a3f886307701dfa0bf880d2d417387191d90adc9361afb57f8ed26239cbc110e5f05f52a186950d7d3b4b0a8e4406e4695acd |
24 |
|
25 |
diff --git a/app-admin/ansible-lint/ansible-lint-5.3.2.ebuild b/app-admin/ansible-lint/ansible-lint-5.3.2.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..bb484dbbc409 |
28 |
--- /dev/null |
29 |
+++ b/app-admin/ansible-lint/ansible-lint-5.3.2.ebuild |
30 |
@@ -0,0 +1,49 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+# TODO: py310 - blocked by <=dev-util/yamllint-1.26.3 |
37 |
+PYTHON_COMPAT=( python3_{8..9} ) |
38 |
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml |
39 |
+ |
40 |
+inherit distutils-r1 optfeature |
41 |
+ |
42 |
+DESCRIPTION="Checks ansible playbooks for practices and behaviour that can be improved" |
43 |
+HOMEPAGE="https://github.com/ansible-community/ansible-lint" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~riscv" |
49 |
+ |
50 |
+# 14 tests fail due to usersandbox denying the executable 'ansible' |
51 |
+# access to $HOME/.ansible. More importantly, some tests (6 as of 5.2.1) |
52 |
+# fail even when run manually with tox. |
53 |
+RESTRICT="test" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ >=app-admin/ansible-2.10[${PYTHON_USEDEP}] |
57 |
+ >=app-admin/ansible-base-2.11.4[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/enrich-1.2.6[${PYTHON_USEDEP}] |
59 |
+ dev-python/packaging[${PYTHON_USEDEP}] |
60 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/rich-9.5.1[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/ruamel-yaml-0.15.37[${PYTHON_USEDEP}] |
63 |
+ dev-python/tenacity[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/wcmatch-7.0[${PYTHON_USEDEP}]" |
65 |
+BDEPEND=" |
66 |
+ >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/setuptools_scm_git_archive-1.0[${PYTHON_USEDEP}] |
68 |
+ test? ( |
69 |
+ >=dev-python/flaky-3.7.0[${PYTHON_USEDEP}] |
70 |
+ >=dev-python/pytest-xdist-2.1.0[${PYTHON_USEDEP}] |
71 |
+ >=dev-util/yamllint-1.25.0[${PYTHON_USEDEP}] |
72 |
+ )" |
73 |
+ |
74 |
+distutils_enable_tests --install pytest |
75 |
+ |
76 |
+pkg_postinst() { |
77 |
+ optfeature_header "Consider installing the following optional packages:" |
78 |
+ optfeature "letting ${PN} run YAML checks" dev-util/yamllint |
79 |
+} |