mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
dev-python/ansible-compat: Bump to 25.12.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
fa3e5ddf83
commit
821a9f86bb
@ -1,3 +1,5 @@
|
||||
DIST ansible_compat-25.11.0.tar.gz 193024 BLAKE2B d4e802582911f04429823e4f5e66c0fa40a6ebd9c6a8cbaff6a56728ef772bb0ed558584d9b6ffcafa78e7d06070f6574b66cfc75aacd975d7fe9834deb04a5d SHA512 e8af788d69ef9aa532c0b2f5f6401df1c61a4bd1d90e269c8d7d1418048e5f6d78bbc116d704fb875dada7e2389d25b57385dae90af0cbaceeedd37c7d3d9665
|
||||
DIST ansible_compat-25.11.0.tar.gz.provenance 9485 BLAKE2B be19bf3dced5710bfd76a09c59ab05029c676a79c09325840f5ce3af98c120578177320ede09f45025279d10ca190d3d3e74d4d18f8633903957be416e30384c SHA512 db70483ecf37cdd29287e7cf5d6a37455537ce40ea0bcca1ad30b48d8eabdd9f384197862b50017a35a829028c1d1c56229e30ebf3b6d0d265d386303c8760db
|
||||
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.8.2.tar.gz 190581 BLAKE2B a20ebf6b595a8933d02b88c1f9f8efae8e7ffac3378bed3c50fd8fbf74a73663c5406fde7f05f0a923ba7ce75d920f3bf58e347cb7650cec77cb974ed805e45c SHA512 78beb54d3ad65e02e7009834b5690b118c6743274fa5fd31941e63a7f99d3b7ac2fcbce0fa80d45212a6bcf4365628e731cb139a6af14360c0552e9a759d6336
|
||||
|
||||
67
dev-python/ansible-compat/ansible-compat-25.12.0.ebuild
Normal file
67
dev-python/ansible-compat/ansible-compat-25.12.0.ebuild
Normal file
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2025 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=
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user