diff options
author | Marek Szuba <marecki@gentoo.org> | 2023-02-01 22:56:51 +0000 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2023-02-01 23:08:16 +0000 |
commit | 092135ae0eb6df7ab07e74efe38fb99a6d326646 (patch) | |
tree | 157426e956153ffd6db4d5c98ebb6a39d749f220 /dev-python/ansible-compat/ansible-compat-3.0.1.ebuild | |
parent | sys-apps/flashrom: add 1.2.1 (diff) | |
download | gentoo-092135ae0eb6df7ab07e74efe38fb99a6d326646.tar.gz gentoo-092135ae0eb6df7ab07e74efe38fb99a6d326646.tar.bz2 gentoo-092135ae0eb6df7ab07e74efe38fb99a6d326646.zip |
dev-python/ansible-compat: add 3.0.1, drop 3.0.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-python/ansible-compat/ansible-compat-3.0.1.ebuild')
-rw-r--r-- | dev-python/ansible-compat/ansible-compat-3.0.1.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/ansible-compat/ansible-compat-3.0.1.ebuild b/dev-python/ansible-compat/ansible-compat-3.0.1.ebuild new file mode 100644 index 000000000000..c1d94be9be9e --- /dev/null +++ b/dev-python/ansible-compat/ansible-compat-3.0.1.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 |