dev-python/awxkit: add 21.9.0

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2022-11-21 21:01:01 +02:00
parent 9b869fbafc
commit 7c8e7f95f0
2 changed files with 48 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}