1 |
commit: b6e841f6e2e2a9e90caad27089e71cb77d69a66b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 17 05:07:42 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 17 06:54:21 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6e841f6 |
7 |
|
8 |
dev-python/ansible-compat: Bump to 2.0.4 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/ansible-compat/Manifest | 1 + |
13 |
.../ansible-compat/ansible-compat-2.0.4.ebuild | 61 ++++++++++++++++++++++ |
14 |
2 files changed, 62 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/ansible-compat/Manifest b/dev-python/ansible-compat/Manifest |
17 |
index 4ee1bfe9fd47..dd9e7faa3d5b 100644 |
18 |
--- a/dev-python/ansible-compat/Manifest |
19 |
+++ b/dev-python/ansible-compat/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ansible-compat-2.0.3.tar.gz 35328 BLAKE2B cd5a476eb23de667381c9a6667d6bd781821fc50e1aec65ca47e8bb9d47beccbea0ee62f763ed421c18c95d9f1d1c14f5cc2a62bcc77d664213eb614ccd568e4 SHA512 0887e5da23041d02be0371bfd9569256252c586f80cd92ab855b32172328989c8160e57169aff6d72f1c3c89c9d3a00b56293e3badc0dc4aad135b1992d06599 |
22 |
+DIST ansible-compat-2.0.4.tar.gz 35447 BLAKE2B 53aa93ef3144071c2d9022bce99c6d20a67650fa98a6896db4fd1c866ada292390cc8e6bb6e7bd3b2b05cef8b3cab2803522ca1bbb7dbacb7b9da29b16f1fbb7 SHA512 8fd6738cf2caf4cae3590e839edd76fdb21ebbb88f50bda470e6711fda4ac8ef18eded3ae4ff72e3b53925afc5649658892e434da943ebd7e986d18afe9cc6af |
23 |
|
24 |
diff --git a/dev-python/ansible-compat/ansible-compat-2.0.4.ebuild b/dev-python/ansible-compat/ansible-compat-2.0.4.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..5b3828e761ae |
27 |
--- /dev/null |
28 |
+++ b/dev-python/ansible-compat/ansible-compat-2.0.4.ebuild |
29 |
@@ -0,0 +1,61 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Contains functions that facilitate working with various versions of Ansible" |
41 |
+HOMEPAGE=" |
42 |
+ https://pypi.org/project/ansible-compat/ |
43 |
+ https://github.com/ansible/ansible-compat/ |
44 |
+" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~riscv" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=app-admin/ansible-base-2.9.0[${PYTHON_USEDEP}] |
53 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/subprocess-tee-0.3.5[${PYTHON_USEDEP}] |
55 |
+" |
56 |
+BDEPEND=" |
57 |
+ >=dev-python/setuptools_scm-6.3.1[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/setuptools_scm_git_archive-1.0[${PYTHON_USEDEP}] |
59 |
+ test? ( |
60 |
+ dev-python/flaky[${PYTHON_USEDEP}] |
61 |
+ dev-python/pytest-markdown[${PYTHON_USEDEP}] |
62 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
63 |
+ dev-python/pytest-plus[${PYTHON_USEDEP}] |
64 |
+ ) |
65 |
+" |
66 |
+ |
67 |
+# All these tests attempt to connect to galaxy.ansible.com |
68 |
+EPYTEST_DESELECT=( |
69 |
+ test/test_runtime.py::test_install_collection |
70 |
+ test/test_runtime.py::test_install_collection_dest |
71 |
+ test/test_runtime.py::test_prepare_environment_with_collections |
72 |
+ test/test_runtime.py::test_prerun_reqs_v1 |
73 |
+ test/test_runtime.py::test_prerun_reqs_v2 |
74 |
+ test/test_runtime.py::test_require_collection_no_cache_dir |
75 |
+ test/test_runtime.py::test_require_collection_wrong_version |
76 |
+ test/test_runtime.py::test_require_collection |
77 |
+ test/test_runtime.py::test_upgrade_collection |
78 |
+ test/test_runtime_example.py::test_runtime |
79 |
+) |
80 |
+ |
81 |
+distutils_enable_sphinx docs \ |
82 |
+ dev-python/ansible-pygments \ |
83 |
+ dev-python/myst_parser \ |
84 |
+ dev-python/sphinx_ansible_theme |
85 |
+ |
86 |
+distutils_enable_tests pytest |
87 |
+ |
88 |
+python_test() { |
89 |
+ epytest -p pytest_markdown.plugin |
90 |
+} |