dev-python/ansible-compat: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-04-07 12:09:36 +02:00
parent 9f6931920b
commit de9560404e
2 changed files with 0 additions and 69 deletions

View File

@@ -1,5 +1,3 @@
DIST ansible_compat-25.12.0.tar.gz 193698 BLAKE2B f3eb02d8257a2a3136182d1338359cab0d7c0f2e3a7f77ee26d52e3e3af8105445a3937e836821b4eedaa203f25230625ff0ff779e8c4e78eb8d85a498794be3 SHA512 a2ecf54a3c3324f5be8c10475aca1b528ee186ac402f841be6d7a8ae379019ae3d3486fcec7e433744f9d2053471ae219c0977c93073dc67029cad3f44868229
DIST ansible_compat-25.12.0.tar.gz.provenance 9250 BLAKE2B ebe215a01b27030246fcda815e286d827b8bc148e4c6095a76f233628fbd77512b1f9cbdc88f65998c2431a915b7ccc78b35862e2d23147f6af73d416ef450de SHA512 f6097b1f729c67e5129366a8bd2c79386234622a91108ffe1d5f71a7b7b215e726893ba6237e121e43f9b90970c5b0ad61094fcb8a13eca88c76e95a2eb95a06
DIST ansible_compat-25.12.1.tar.gz 214925 BLAKE2B 2ab6caf21cfd8f4a5991822d7371c4f13cd62da87d0a2caaa0d454ad149a93f7fe75954b2d897ab6997018db3390c6e5f8625fecece4a838d797f896f6219af7 SHA512 bce02d153c8ebf93127b347a639c67973b94c706942bbc7c12a63a354275a2f364d3e5852d4b914b3ea13bac291da163087b9e1d37757638e1e2e1363f7c647f
DIST ansible_compat-25.12.1.tar.gz.provenance 9440 BLAKE2B 388ba058403e64fc20bc03d194b0b233c1c7fbfe77691456f969294105530e7f3f19b97ffe44ff3a2c9b1d07c9be4c0f07ae62b327dc2a528001db989c3fbd67 SHA512 0673c4d928637061fb9a7e1474eb1549b3b7aae173c1ced862e7f8119a816a0786b063915bcf0050ec9d3672ac574bcdae3682f1808755a564a4ff026d12fdb8
DIST ansible_compat-26.3.0.tar.gz 216754 BLAKE2B d5dde4ec191b8a9a824b877226927991c94fdd86db33e0b30fb33118566199611323268bc87b0fc436fddffb443270c2277628e3e275addca575a4e3558bb6a0 SHA512 f1dd3703d1eb7dffa5a052ab30099df416278bd13c2c5e41a6628b9bf375de4aaa2e973bae1472a4da721c67301b6b49586ff5939f506103a8bfaae86d234f09

View File

@@ -1,67 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517="setuptools"
PYPI_VERIFY_REPO=https://github.com/ansible/ansible-compat
PYTHON_COMPAT=( python3_{12..14} )
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.18.6[${PYTHON_USEDEP}]
>=dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}]
>=dev-python/packaging-22.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
>=dev-python/subprocess-tee-0.4.1[${PYTHON_USEDEP}]
"
BDEPEND="
>=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}]
"
EPYTEST_PLUGINS=( pytest-{mock,plus} )
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
# remove stupid upstream version block
sed -i -e 's:2.20.0dev0:0:' src/ansible_compat/prerun.py || die
}
python_test() {
local EPYTEST_DESELECT=(
# All these tests attempt to connect to galaxy.ansible.com
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
'test/test_runtime.py::test_load_plugins[modules]'
# pip, failing due to internets
test/test_runtime_scan_path.py::test_scan_sys_path
test/test_runtime_scan_path.py::test_ro_venv
# internets?
test/test_runtime.py::test_runtime_has_playbook
# TODO
test/test_prerun.py::test_get_cache_dir_relative
)
epytest -o addopts=
}