dev-python/awxkit: Bump to 23.5.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-11-22 08:04:11 +01:00
parent d9ee5fee9e
commit 3cd649c67c
2 changed files with 51 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST awx-23.4.0.gh.tar.gz 69984966 BLAKE2B d82f0f8d14627cdd3bcb178e9c44f245b15c7ba84c6ffab2ef915ad0eceed9c0cacd5ef69ec96bd8fe2509423e617a47923072d15ee1ca2ab7f8c76ffd903626 SHA512 ab1ed729b40ca82febfe99ab2e2c8c84e1632243cc78484268225fce4cf7c545f2078df0517bade7b2ff3d12d7ad4b152a3a24dd8e0d5601cd2033b9f3cd3dd5
DIST awx-23.5.0.gh.tar.gz 70044941 BLAKE2B cd52d733e681b5c60f12af917dc17f33f921cdd31e5410580d499e216e4ac4fe4d11b7eb995f081b12f2308f135c765c6a09ec15a3f1defc6cc521104848ff5a SHA512 3b44a48911772f1c90bbd4d3c768c88aa9453c2171b58d7ad52d2ec7016009966016532fde3f2c44f7990f9428cec02ce408d51f0d45e98d141210b137ba8077

View File

@@ -0,0 +1,50 @@
# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_10 )
inherit distutils-r1
MY_P=awx-${PV}
DESCRIPTION="Command line interface for Ansible AWX"
HOMEPAGE="
https://github.com/ansible/awx/
https://pypi.org/project/awxkit/
"
# no sdist, as of 22.0.0
SRC_URI="
https://github.com/ansible/awx/archive/${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S="${WORKDIR}/${MY_P}/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}
printf '%s\n' "${PV}" > VERSION || die
sed -e 's|websocket-client==[[:digit:]\.]*|websocket-client|' \
-e "/'clean'/d" \
-i setup.py || die
distutils-r1_src_prepare
}