summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/awxkit/Manifest1
-rw-r--r--dev-python/awxkit/awxkit-21.7.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/awxkit/Manifest b/dev-python/awxkit/Manifest
index 934bc7c2f4dc..4b812be81e2e 100644
--- a/dev-python/awxkit/Manifest
+++ b/dev-python/awxkit/Manifest
@@ -4,3 +4,4 @@ DIST awxkit-21.3.0.gh.tar.gz 15808522 BLAKE2B 0c8f563601e8140af763ef88d9c69232b1
DIST awxkit-21.4.0.gh.tar.gz 16058858 BLAKE2B 215b18809bd1050c6e93a03711fd8cb1b96299c2f335d01e7c40ea54ee9aaefab652f86826914e908ff4a19a02e79a61fc13edd5533c6b619366f76aa7fcfa46 SHA512 fc4513e7adcbf75aa801dfedb1f92a08e1dbe804a0a8b18809ec5ef98dd42bdf08856c486a9781cc6d34a932a86d587a90eac28099016e956c7468078d44d3ba
DIST awxkit-21.5.0.gh.tar.gz 16077945 BLAKE2B 06e4b67fd49f9f11d65c4209ef70732e4dc33613c1875f4827421da200d2e7a7eaf8774c14a8f7713ce9227fc477103b114f6d2c170ed180e1cd101c59ca4c4a SHA512 7d90e1cc8133c3e5dca3a73e718c6449fc75e85fe7a1e1e28c971bc4883d249ed2e17124b5d1de06fd0adac358e49a3987620cc5d274bd666a78bc5cd75577fc
DIST awxkit-21.6.0.gh.tar.gz 16088139 BLAKE2B f23c0fb89380e6d716fe5e36afd6cf9f79ab07aedb6ed7dc081a21f09fa8f8e2ed5fd6199f26759c4fdd08db6459b6cd80affa00d18e06ea5bc897957bb65edc SHA512 87c6ba1343a17faa4e4d70b76b9ec4b04b74a6f1ff02e44b02838a21d5242ebb25daaa379e0e1d3ff8d59782f7ce0d30c17cf3984d34d74ed8fd3f9dac316097
+DIST awxkit-21.7.0.gh.tar.gz 16131338 BLAKE2B 32d29f16071ae75b26d0effaac51c70d773aef6e7ab53b0db9857922da019108439565079e538280bdc0fcc88bab03bdadcc46f32c1d12a41dc3c65d8d3ed6f2 SHA512 7a8212049983c09680de6a76d87a71b4bee735014cee72d8c3f4aa4000812ea701972214585dbc22d0d5ff6ada094d58dbff4001b332a4c0c8ac7ddc2f31fdaa
diff --git a/dev-python/awxkit/awxkit-21.7.0.ebuild b/dev-python/awxkit/awxkit-21.7.0.ebuild
new file mode 100644
index 000000000000..ff1d3d22146c
--- /dev/null
+++ b/dev-python/awxkit/awxkit-21.7.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
+}