Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ansible-compat/
Date: Thu, 01 Dec 2022 07:09:27
Message-Id: 1669878550.90fe18d90389de0a7430828ad0dbf0016494781d.mgorny@gentoo
1 commit: 90fe18d90389de0a7430828ad0dbf0016494781d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 1 06:05:43 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 1 07:09:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90fe18d9
7
8 dev-python/ansible-compat: Bump to 2.2.6
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.2.6.ebuild | 56 ++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/dev-python/ansible-compat/Manifest b/dev-python/ansible-compat/Manifest
17 index 7fe1778c8f3d..031010392171 100644
18 --- a/dev-python/ansible-compat/Manifest
19 +++ b/dev-python/ansible-compat/Manifest
20 @@ -2,3 +2,4 @@ DIST ansible-compat-2.2.1.tar.gz 39126 BLAKE2B c4d0512606c99ba8f07e0287620c94af6
21 DIST ansible-compat-2.2.3.tar.gz 39603 BLAKE2B 16b88a1c669a74d858e4d47539811b33db77561f7e72088d5eece67ee1594e65a9328277bc65b96dce726180c29118b2b240b45541b6548b34584d643f836894 SHA512 4944ff97524734c445438c052aeedd0d526b58e91a56e0bcc32123fb3a9464c82f7718ea1897a09ef0dd33dfa36abdc6e0a0157e9a4eb8d341cbd712b2f538d1
22 DIST ansible-compat-2.2.4.tar.gz 39772 BLAKE2B a4874675086956e11de4df4068e3b17b65b4f9f7610bb88bfba308d880fe478e39a4450a362bb06a555a36a41731f336c51756893ebe65715fc022421c51a293 SHA512 ec30329b2aa07ea7685a8cd91438f0d0e9003644fb3d15a842277abc7f5f1eeed61bb606ca594d6496e1980be0109dd5e4021bc4aeb66d909a312bf02649a1b9
23 DIST ansible-compat-2.2.5.tar.gz 39794 BLAKE2B 25a5c858eb3e120b7f51b8800b01eff2482a03d0e5f5c049d4ff2bc96ab2c01e856284f3328d5c9e3621b2d769df4450c9427997b48a7ddd337b01aa777e0c28 SHA512 8029d6dbd093414fb5eccba1789c881601a3a1f45bf7779f9e2af886d457e9c57a4e6432eed73a1d387b4d82617e1677a857cf0d2dfdcebcefa0dc790b2ec2d4
24 +DIST ansible-compat-2.2.6.tar.gz 38890 BLAKE2B 5022676dca1c2cb24e8f3e3387de8ef214979124b6d4a819f6328b2ffa0b19bddc5ef60131eb0133d809a214ecdf39fb5c01b197a44111e05a23740d4955c00c SHA512 b02faeb0202839c01a777277cd077264b44fbadbef679e93cb4ac0be3b81df921bc8f000e27372446326976acd1b42f1f1f42896ff0af9ba0677e7a93d06b195
25
26 diff --git a/dev-python/ansible-compat/ansible-compat-2.2.6.ebuild b/dev-python/ansible-compat/ansible-compat-2.2.6.ebuild
27 new file mode 100644
28 index 000000000000..ea13f54d55c0
29 --- /dev/null
30 +++ b/dev-python/ansible-compat/ansible-compat-2.2.6.ebuild
31 @@ -0,0 +1,56 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=setuptools
38 +PYTHON_COMPAT=( python3_{9..11} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Contains functions that facilitate working with various versions of Ansible"
43 +HOMEPAGE="
44 + https://pypi.org/project/ansible-compat/
45 + https://github.com/ansible/ansible-compat/
46 +"
47 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
48 +
49 +LICENSE="MIT"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~riscv"
52 +
53 +RDEPEND="
54 + >=app-admin/ansible-core-2.9.0[${PYTHON_USEDEP}]
55 + >=dev-python/jsonschema-4.6.0[${PYTHON_USEDEP}]
56 + dev-python/packaging[${PYTHON_USEDEP}]
57 + dev-python/pyyaml[${PYTHON_USEDEP}]
58 + >=dev-python/subprocess-tee-0.3.5[${PYTHON_USEDEP}]
59 +"
60 +BDEPEND="
61 + >=dev-python/setuptools_scm-7.0.0[${PYTHON_USEDEP}]
62 + test? (
63 + dev-python/flaky[${PYTHON_USEDEP}]
64 + dev-python/pytest-mock[${PYTHON_USEDEP}]
65 + dev-python/pytest-plus[${PYTHON_USEDEP}]
66 + )
67 +"
68 +
69 +# All these tests attempt to connect to galaxy.ansible.com
70 +EPYTEST_DESELECT=(
71 + test/test_runtime.py::test_install_collection
72 + test/test_runtime.py::test_install_collection_dest
73 + test/test_runtime.py::test_prepare_environment_with_collections
74 + test/test_runtime.py::test_prerun_reqs_v1
75 + test/test_runtime.py::test_prerun_reqs_v2
76 + test/test_runtime.py::test_require_collection_no_cache_dir
77 + test/test_runtime.py::test_require_collection_wrong_version
78 + test/test_runtime.py::test_require_collection
79 + test/test_runtime.py::test_upgrade_collection
80 + test/test_runtime_example.py::test_runtime
81 +)
82 +
83 +distutils_enable_sphinx docs \
84 + dev-python/ansible-pygments \
85 + dev-python/myst_parser \
86 + dev-python/sphinx_ansible_theme
87 +distutils_enable_tests pytest