summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-14 05:58:31 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-14 05:58:31 +0100
commit3a9b727d24aca0155e1e6b4c04631f50cd93cd94 (patch)
treee84872113893942699a6c918834ba1ba7c0fe361 /dev-python/awxkit
parentdev-python/sh: Bump to 2.0.2 (diff)
downloadgentoo-3a9b727d24aca0155e1e6b4c04631f50cd93cd94.tar.gz
gentoo-3a9b727d24aca0155e1e6b4c04631f50cd93cd94.tar.bz2
gentoo-3a9b727d24aca0155e1e6b4c04631f50cd93cd94.zip
dev-python/awxkit: Bump to 21.12.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/awxkit')
-rw-r--r--dev-python/awxkit/Manifest1
-rw-r--r--dev-python/awxkit/awxkit-21.12.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/awxkit/Manifest b/dev-python/awxkit/Manifest
index 04e08c5d5204..88d65b03fc6e 100644
--- a/dev-python/awxkit/Manifest
+++ b/dev-python/awxkit/Manifest
@@ -1 +1,2 @@
DIST awxkit-21.11.0.gh.tar.gz 16206681 BLAKE2B 738fae8028f4b576c36860002f802280263ec2731e91047b9f5f1a7aba28b5548b2a8add4659f9021c805a4bda0361e96c310c63b6bdf33c47705fbc222a3a5e SHA512 7c2e07f2951738bc04ce7cdc8c3e6fba3becaa70daa3de5c31fa931a7240b76001af791e819005b7c651c781e3b42c17850a79da059b2fc260efb8029f29033f
+DIST awxkit-21.12.0.gh.tar.gz 16218917 BLAKE2B 6e017bfb5707d6ec4107ec151311b133323c816da1aac1fe2441e639fcf22fe19e38f6c4dd81e29c63d5c7ff8f81ee62d6c4cfbc1500c0827e5b68b6e9f7187c SHA512 be1db2e5c51649910fa09659d2f1072f55c39a95f28c8a5ebd9490c43123ae90fbff242914c803e3882fa60ea07b39009dec9d27c56d005ab6333431e62a0576
diff --git a/dev-python/awxkit/awxkit-21.12.0.ebuild b/dev-python/awxkit/awxkit-21.12.0.ebuild
new file mode 100644
index 000000000000..f6c6509cb933
--- /dev/null
+++ b/dev-python/awxkit/awxkit-21.12.0.ebuild
@@ -0,0 +1,47 @@
+# 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_{9..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
+}