commit: 7c8e7f95f03bc2c194c85e336726b9a0c6c8eeb8 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Mon Nov 21 19:01:01 2022 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Mon Nov 21 19:15:46 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c8e7f95
dev-python/awxkit: add 21.9.0 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> dev-python/awxkit/Manifest | 1 + dev-python/awxkit/awxkit-21.9.0.ebuild | 47 ++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-python/awxkit/Manifest b/dev-python/awxkit/Manifest index a603d1e2c36b..4e975bfdb858 100644 --- a/dev-python/awxkit/Manifest +++ b/dev-python/awxkit/Manifest @@ -1 +1,2 @@ DIST awxkit-21.8.0.gh.tar.gz 17809968 BLAKE2B 9c8b22630886d131787c4d664baaa9078cb01125789d340b89aba04a6dae8319b4cbdccb1a2668ca0625e313ddb782c615a93fc7438ec4f5f884ae8d927c191e SHA512 cf7ce080c34bac3c9949e2093b83b7b96c734b1f1d093be31422c8a59b9768716ed20f1a5f96282dae43d433ea3848aae48a636b935ebc0d15ddcc6412a3a067 +DIST awxkit-21.9.0.gh.tar.gz 16155930 BLAKE2B 1e119a214d0587711d55b72cfa2dec48ec09e14f8d3266fcd6266451edc4a9311b9daff44db09b480199a767b4c940d7781a5b9c1eabf71522c9da62f1094838 SHA512 a63e575a0d00cc089e8f4121e2d9f99019c151f7b929e0c5ce843026d29b73adf2685c3b7a99f80bec89bf81821aaece4f15c20396632cb668a1e90e9440ae09 diff --git a/dev-python/awxkit/awxkit-21.9.0.ebuild b/dev-python/awxkit/awxkit-21.9.0.ebuild new file mode 100644 index 000000000000..ff1d3d22146c --- /dev/null +++ b/dev-python/awxkit/awxkit-21.9.0.ebuild @@ -0,0 +1,47 @@ +# 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="Command line interface for Ansible AWX" +HOMEPAGE=" + https://github.com/ansible/awx/ + https://pypi.org/project/awxkit/ +" +SRC_URI=" + https://github.com/ansible/awx/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/awx-${PV}/awxkit" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] + dev-python/pyjwt[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + + sed -e 's|websocket-client==[[:digit:]\.]*|websocket-client|' \ + -e "/'clean'/d" \ + -i setup.py || die + distutils-r1_src_prepare +}