1 |
commit: 596665449ba4fcdc92ef9944660b958aaacc0ac8 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 1 04:42:35 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 1 04:57:08 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59666544 |
7 |
|
8 |
dev-python/ansible-compat: Bump to 3.0.0 |
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-3.0.0.ebuild | 52 ++++++++++++++++++++++ |
14 |
2 files changed, 53 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/ansible-compat/Manifest b/dev-python/ansible-compat/Manifest |
17 |
index abac62b7dc19..52db35730641 100644 |
18 |
--- a/dev-python/ansible-compat/Manifest |
19 |
+++ b/dev-python/ansible-compat/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ansible-compat-2.2.7.tar.gz 47378 BLAKE2B 58f3b19400fb7646d37c585df07435e65a60f3e57d445c98e8089c6a2ed853cb5dbab682d85cee1a604e1b4de6dd137faa12bf78fe7913752839f95bd651435f SHA512 9a3863be3d755eb5a1a61ba0c526786ea3df14bc6fcabd9196559eb625ab6dfc8de7a17fdb2cdd8ad71d7d61b5e2f0543b8b5908f39d5e7d9ea45e387aa625b1 |
22 |
+DIST ansible-compat-3.0.0.tar.gz 62265 BLAKE2B 7a944fdf5fb419b95f9da0e28cc4e58f5a8fb969653bb74fa2a4103f7d367210bf86de95fa5f3493ef383db4d8ffcc2ab935c006450c2778cb10b256cd32c515 SHA512 af4e1de6b1c73f2c59ae6c7a209f401a9e7871b3674a06c1da48f00d1d508596c557f497cd07b2e32d09814de17c1bfbb0f208b4cef64b2a3457ec47aaed2824 |
23 |
|
24 |
diff --git a/dev-python/ansible-compat/ansible-compat-3.0.0.ebuild b/dev-python/ansible-compat/ansible-compat-3.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..c1d94be9be9e |
27 |
--- /dev/null |
28 |
+++ b/dev-python/ansible-compat/ansible-compat-3.0.0.ebuild |
29 |
@@ -0,0 +1,52 @@ |
30 |
+# Copyright 1999-2023 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_{10..11} ) |
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-core-2.12[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/jsonschema-4.6.0[${PYTHON_USEDEP}] |
54 |
+ dev-python/packaging[${PYTHON_USEDEP}] |
55 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/subprocess-tee-0.4.1[${PYTHON_USEDEP}] |
57 |
+" |
58 |
+BDEPEND=" |
59 |
+ >=dev-python/setuptools_scm-7.0.0[${PYTHON_USEDEP}] |
60 |
+ test? ( |
61 |
+ dev-python/flaky[${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_tests pytest |