commit: e9771b16e2bbfbf8ed9b05f47b60fd495179dfcf Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Tue Aug 23 23:53:12 2022 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Tue Aug 23 23:54:45 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9771b16
dev-python/ansible-runner: add 2.1.0 Bug: https://bugs.gentoo.org/866223 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> dev-python/ansible-runner/Manifest | 1 + .../ansible-runner/ansible-runner-2.1.0.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-python/ansible-runner/Manifest b/dev-python/ansible-runner/Manifest index 1db19f3ab0e0..f603597972fb 100644 --- a/dev-python/ansible-runner/Manifest +++ b/dev-python/ansible-runner/Manifest @@ -1 +1,2 @@ DIST ansible-runner-1.4.9.tar.gz 48022 BLAKE2B 9d413a3502450ad964301fb22c280e6474794604a4d8a2d3bbbc92a1d2e7568351feabce3e9e6790916032ffb72881812c0ef9456a589e7af7cab1dea3d3182c SHA512 198091472c74ab2641dd3a72afa90fcdb4b120c0a10518b55055933f3ae9934bfe229a6a006e84646ce491ce3eec828f9ffa692e6b215398e64aa55afbcb3bae +DIST ansible-runner-2.1.0.tar.gz 158798 BLAKE2B b6a1a50c1b66210c9a29b0b52e798fc6a922a840664c5924e5234a3f5ec2cea32a137e676bae732115cb10a99155df660281233fe5bd10c10282926d0ec92abe SHA512 c96a7a122e4fdc02d6ebab79bbf3f2d9f96eb6c966789deae5c36e9b4c55aa9fede994b22309bdb18a8a4f1c9a615f9b454f01c4170c4d0c1fb5e447da52cf00 diff --git a/dev-python/ansible-runner/ansible-runner-2.1.0.ebuild b/dev-python/ansible-runner/ansible-runner-2.1.0.ebuild new file mode 100644 index 000000000000..50bd03e9f739 --- /dev/null +++ b/dev-python/ansible-runner/ansible-runner-2.1.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="A tool and python library that helps when interfacing with Ansible" +HOMEPAGE="https://github.com/ansible/ansible-runner" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +# TODO: fix broken tests +RESTRICT+=" test" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/python-daemon[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + sed -e '/cov/d' -i pytest.ini || die + distutils-r1_python_prepare_all +}
