diff options
Diffstat (limited to 'dev-python/awxkit')
-rw-r--r-- | dev-python/awxkit/Manifest | 2 | ||||
-rw-r--r-- | dev-python/awxkit/awxkit-21.12.0.ebuild | 47 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/awxkit/Manifest b/dev-python/awxkit/Manifest index 23ab5103aa5f..20e150ddf3b6 100644 --- a/dev-python/awxkit/Manifest +++ b/dev-python/awxkit/Manifest @@ -1,3 +1,5 @@ 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 EBUILD awxkit-21.11.0.ebuild 1039 BLAKE2B 9d765f458e49682f8d124c3c8dc7a95b913a1b7a5468ca6da8c32519df63dc75548f3003b7df69287db204b2db76c98d16d771b9bb7be241a9dbc5969a1c6c1c SHA512 599f0871853c6fb6577a437a1cb67f5feb35b96b601ef0f984458f311df661d6513b73fd6f134c77b1adaaf329e8f624c5b494b39b5151ea6594be0a401f95e8 +EBUILD awxkit-21.12.0.ebuild 1039 BLAKE2B 9d765f458e49682f8d124c3c8dc7a95b913a1b7a5468ca6da8c32519df63dc75548f3003b7df69287db204b2db76c98d16d771b9bb7be241a9dbc5969a1c6c1c SHA512 599f0871853c6fb6577a437a1cb67f5feb35b96b601ef0f984458f311df661d6513b73fd6f134c77b1adaaf329e8f624c5b494b39b5151ea6594be0a401f95e8 MISC metadata.xml 512 BLAKE2B be7f98bdaff6b814e03c9f6c816a0f1f59dc2e8763298f8a48107ea50b0534eddb314bb6d8b8a0f8c1d7c89c381916031544eea4a06068fb9acab4d2c8c48a57 SHA512 7322d992e1d67ea200df0cbf144d08fd387d7cd6ccb72191fc94dd605c9aeecb4b8083917760e2203296d5514fccd7ca621133aef6622658d1ef2c33171c8b7d 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 +} |