diff --git a/srcpkgs/python3-ansible-compat/template b/srcpkgs/python3-ansible-compat/template index 6b7f41a95e0..a70a780cfb2 100644 --- a/srcpkgs/python3-ansible-compat/template +++ b/srcpkgs/python3-ansible-compat/template @@ -1,16 +1,20 @@ # Template file for 'python3-ansible-compat' pkgname=python3-ansible-compat -version=4.1.10 +version=24.9.1 revision=1 build_style=python3-pep517 +# deselect unnecessary tests in venv +make_check_args="--deselect test/test_runtime_scan_path.py::test_scan_sys_path[scanF-raises_not_foundT] + --deselect test/test_runtime_scan_path.py::test_scan_sys_path[scanT-raises_not_foundF]" hostmakedepends="python3-wheel python3-setuptools_scm" -depends="python3-subprocess-tee python3-yaml" +depends="ansible-core python3-jsonschema python3-subprocess-tee python3-yaml" +checkdepends="${depends} python3-pytest python3-pytest-mock python3-cryptography" short_desc="Python package for working with various version of ansible" maintainer="Orphaned " license="MIT" homepage="https://github.com/ansible/ansible-compat" -distfiles="${PYPI_SITE}/a/ansible-compat/ansible-compat-${version}.tar.gz" -checksum=2be8c7b510d2e15eed1e9ef443209d67d9aec8f427026b88936d4535ff59863d +distfiles="${PYPI_SITE}/a/ansible-compat/ansible_compat-${version}.tar.gz" +checksum=9ff20245e1bd9de9b23a367902524ab0e11fbcfb741831996da5da5b60ab95df post_patch() { export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"