commit:     596665449ba4fcdc92ef9944660b958aaacc0ac8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  1 04:42:35 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb  1 04:57:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59666544

dev-python/ansible-compat: Bump to 3.0.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/ansible-compat/Manifest                 |  1 +
 .../ansible-compat/ansible-compat-3.0.0.ebuild     | 52 ++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/ansible-compat/Manifest 
b/dev-python/ansible-compat/Manifest
index abac62b7dc19..52db35730641 100644
--- a/dev-python/ansible-compat/Manifest
+++ b/dev-python/ansible-compat/Manifest
@@ -1 +1,2 @@
 DIST ansible-compat-2.2.7.tar.gz 47378 BLAKE2B 
58f3b19400fb7646d37c585df07435e65a60f3e57d445c98e8089c6a2ed853cb5dbab682d85cee1a604e1b4de6dd137faa12bf78fe7913752839f95bd651435f
 SHA512 
9a3863be3d755eb5a1a61ba0c526786ea3df14bc6fcabd9196559eb625ab6dfc8de7a17fdb2cdd8ad71d7d61b5e2f0543b8b5908f39d5e7d9ea45e387aa625b1
+DIST ansible-compat-3.0.0.tar.gz 62265 BLAKE2B 
7a944fdf5fb419b95f9da0e28cc4e58f5a8fb969653bb74fa2a4103f7d367210bf86de95fa5f3493ef383db4d8ffcc2ab935c006450c2778cb10b256cd32c515
 SHA512 
af4e1de6b1c73f2c59ae6c7a209f401a9e7871b3674a06c1da48f00d1d508596c557f497cd07b2e32d09814de17c1bfbb0f208b4cef64b2a3457ec47aaed2824

diff --git a/dev-python/ansible-compat/ansible-compat-3.0.0.ebuild 
b/dev-python/ansible-compat/ansible-compat-3.0.0.ebuild
new file mode 100644
index 000000000000..c1d94be9be9e
--- /dev/null
+++ b/dev-python/ansible-compat/ansible-compat-3.0.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Contains functions that facilitate working with various versions 
of Ansible"
+HOMEPAGE="
+       https://pypi.org/project/ansible-compat/
+       https://github.com/ansible/ansible-compat/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="
+       >=app-admin/ansible-core-2.12[${PYTHON_USEDEP}]
+       >=dev-python/jsonschema-4.6.0[${PYTHON_USEDEP}]
+       dev-python/packaging[${PYTHON_USEDEP}]
+       dev-python/pyyaml[${PYTHON_USEDEP}]
+       >=dev-python/subprocess-tee-0.4.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       >=dev-python/setuptools_scm-7.0.0[${PYTHON_USEDEP}]
+       test? (
+               dev-python/flaky[${PYTHON_USEDEP}]
+               dev-python/pytest-mock[${PYTHON_USEDEP}]
+               dev-python/pytest-plus[${PYTHON_USEDEP}]
+       )
+"
+
+# All these tests attempt to connect to galaxy.ansible.com
+EPYTEST_DESELECT=(
+       test/test_runtime.py::test_install_collection
+       test/test_runtime.py::test_install_collection_dest
+       test/test_runtime.py::test_prepare_environment_with_collections
+       test/test_runtime.py::test_prerun_reqs_v1
+       test/test_runtime.py::test_prerun_reqs_v2
+       test/test_runtime.py::test_require_collection_no_cache_dir
+       test/test_runtime.py::test_require_collection_wrong_version
+       test/test_runtime.py::test_require_collection
+       test/test_runtime.py::test_upgrade_collection
+       test/test_runtime_example.py::test_runtime
+)
+
+distutils_enable_tests pytest

Reply via email to