dev-python/ansible-compat: add 4.1.11

Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
Marek Szuba
2024-02-02 13:35:12 +00:00
parent 401e56cc02
commit 801e1a746f
2 changed files with 55 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST ansible-compat-4.1.10.tar.gz 72127 BLAKE2B 1a3c172d30a68f14a163d2ad04180856d365424b99c593933c02c83afde7008f937a86f068fd4d09741eda731a0ae9801274764e349f56fd4a64ccdf1ff831b7 SHA512 f50d07d753fa2f3985efca4aa326d3608d55b3f8d00c42c3bd9ba95c6e40c7a717160220dd602374124ebbfc94c495819b4b738cb385875033876aee458d14b4
DIST ansible-compat-4.1.11.tar.gz 73021 BLAKE2B 4d62c6c6739ae5dcfe98347eac268f6976f12cabcf8706f89ebaed2a6750a47faaf53ce5585ee2d6a2cf8a92add9f8f74bd050e44fa6f5515a9b77a7f49979c5 SHA512 0e8de16ef0da9a036595dadbdfa5fd776f8edf0d2c16e8e2759a0e1b07f0d0fffc22a8c7be17aefb73312f3c8f56d48fdf097c527fa3b8919907923fffc44fa7

View File

@@ -0,0 +1,54 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1 pypi
DESCRIPTION="Contains functions that facilitate working with various versions of Ansible"
HOMEPAGE="
https://pypi.org/project/ansible-compat/
https://github.com/ansible/ansible-compat/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~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.5[${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
# pip, failing due to internets
test/test_runtime_scan_path.py::test_scan_sys_path
)
distutils_enable_tests pytest