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