summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-10-11 05:19:56 +0200
committerMichał Górny <mgorny@gentoo.org>2023-10-11 05:22:06 +0200
commitcd8d4dfafc12f399ce39781d006382582bf49cc1 (patch)
treef0c3b6dfaf46a2fde86851043952228bdb753957 /dev-python
parentdev-python/pypdf: Bump to 3.16.4 (diff)
downloadgentoo-cd8d4dfafc12f399ce39781d006382582bf49cc1.tar.gz
gentoo-cd8d4dfafc12f399ce39781d006382582bf49cc1.tar.bz2
gentoo-cd8d4dfafc12f399ce39781d006382582bf49cc1.zip
dev-python/awxkit: Bump to 23.3.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/awxkit/Manifest1
-rw-r--r--dev-python/awxkit/awxkit-23.3.0.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/awxkit/Manifest b/dev-python/awxkit/Manifest
index e3481682cd1e..272a6f524f3c 100644
--- a/dev-python/awxkit/Manifest
+++ b/dev-python/awxkit/Manifest
@@ -4,3 +4,4 @@ DIST awx-22.7.0.gh.tar.gz 17645480 BLAKE2B 06d4da9090db221ab23e86c8a8fc3e548437d
DIST awx-23.0.0.gh.tar.gz 17657491 BLAKE2B 0dbd00f45f4c5dfb0f1d74c81a726401375b9eb389622b54a72567e2863dfc76b329b19853802096cd7a7cbc75170003da405e13d26db4ed1b3e8b025cc36dc5 SHA512 bdd5d7644e6b1d01d52c02c26084f0f3c66b2423969d4277bade4b13dbdb614a6a62c408160a95848ecfdbace75e02635c8667ab2033a1f6b36fdf41dbee90c9
DIST awx-23.1.0.gh.tar.gz 70704479 BLAKE2B dc0e920b2036e71825afda5b65aa6e2326364589d82464d48ccc17e886fd9dfa1eebee005439cb6e628a50be65959208e3e9b02716881833b343e556fd90d8ca SHA512 85e4e8298789f6886b6e63eba90b0af30fe7c78804fe5df187c79af928c05637f4cdac6b69db511e5a37480488bc542b913fd73f2a5cbd0490b1b941fbd4dced
DIST awx-23.2.0.gh.tar.gz 70711100 BLAKE2B 5159c7231f085c01d543cf3c8be9ad22428f158911ae1941fde71a6988dbdc9e7e57a5990c4d616f0ceb1f156a707913fb7c74198df1c4de7d655151e2c39f9f SHA512 9d100ee05130cab5da63272c2f7b2bf8d729a7c2ca4c77a68b12dd282c94c657c38b217985f12c566b3c360d0d9d5fec506dcb1c2b306ef6b7aa63154b6c9840
+DIST awx-23.3.0.gh.tar.gz 70716121 BLAKE2B 90172efb44e20287b4729bc9afa445d6d914b83c1c4c8c5c598ac74f3b89d8e91917ab10934973a88332590751cbfbc9ce8565f0c7ee84de6dea9d8a59ce9fa8 SHA512 4f25e56bf8b16fd5f1f1c4771c939c8604db3bf39a6110487ce95d5d0591a303771228776773eec78f917bf03a298d67ec475813aea97e7170ae09920f17cac5
diff --git a/dev-python/awxkit/awxkit-23.3.0.ebuild b/dev-python/awxkit/awxkit-23.3.0.ebuild
new file mode 100644
index 000000000000..52670ed68dde
--- /dev/null
+++ b/dev-python/awxkit/awxkit-23.3.0.ebuild
@@ -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
+}