Date: Thursday, May 18, 2023 @ 15:27:35 Author: idevolder Revision: 1463076
archrelease: copy trunk to community-any Added: awxkit/repos/community-any/PKGBUILD (from rev 1463075, awxkit/trunk/PKGBUILD) Deleted: awxkit/repos/community-any/PKGBUILD ----------+ PKGBUILD | 110 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 55 insertions(+), 55 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-05-18 15:27:29 UTC (rev 1463075) +++ PKGBUILD 2023-05-18 15:27:35 UTC (rev 1463076) @@ -1,55 +0,0 @@ -# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com> - -pkgname=awxkit -_pkgname=awx -_commit=45c13c25a416421cd0736214787717e98c21c946 -pkgver=22.2.0 -pkgrel=1 -pkgdesc="The official command line interface for Ansible AWX" -arch=('any') -url="https://github.com/ansible/awx" -license=('Apache') -depends=( - 'python' - 'python-pytest' # unreferenced, required in awxkit/yaml_file.py - 'python-pyyaml' - 'python-requests' - 'python-setuptools' # unreferenced, required in awxkit/cli/client.py -) -makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-setuptools-scm' 'python-wheel') -checkdepends=( - 'jq' - 'python-pytest' - 'python-cryptography' - # 'python-websocket-client' # TODO: needs to be packaged -) -optdepends=( - 'jq: for formatting' - # 'python-websocket-client: for websockets support' # TODO: needs to be packaged - 'python-cryptography: for cryptography support' -) -options=(!emptydirs) -source=("${_pkgname}::git+https://github.com/ansible/${_pkgname}#tag=$_commit") -sha512sums=('SKIP') - -build() { - cd "${_pkgname}/${pkgname}" - python -m build --wheel --no-isolation -} - -check() { - local deselected=( - # NOTE: deselect tests that require python-websocket-client - --deselect test/test_ws.py::test_explicit_hostname - --deselect test/test_ws.py::test_urlparsing - # Python 3.11 test failure https://github.com/ansible/awx/issues/13820 - --deselect test/cli/test_options.py::TestOptions::test_actions_with_primary_key - ) - cd "${_pkgname}/${pkgname}" - pytest -vv "${deselected[@]}" -} - -package() { - cd "${_pkgname}/${pkgname}" - python -m installer --destdir="$pkgdir" dist/*.whl -} Copied: awxkit/repos/community-any/PKGBUILD (from rev 1463075, awxkit/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-05-18 15:27:35 UTC (rev 1463076) @@ -0,0 +1,55 @@ +# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com> + +pkgname=awxkit +_pkgname=awx +_commit=84f67c7f82f82a8fa9b47b7d64c4288a15f6772c +pkgver=22.3.0 +pkgrel=1 +pkgdesc="The official command line interface for Ansible AWX" +arch=('any') +url="https://github.com/ansible/awx" +license=('Apache') +depends=( + 'python' + 'python-pytest' # unreferenced, required in awxkit/yaml_file.py + 'python-pyyaml' + 'python-requests' + 'python-setuptools' # unreferenced, required in awxkit/cli/client.py +) +makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-setuptools-scm' 'python-wheel') +checkdepends=( + 'jq' + 'python-pytest' + 'python-cryptography' + # 'python-websocket-client' # TODO: needs to be packaged +) +optdepends=( + 'jq: for formatting' + # 'python-websocket-client: for websockets support' # TODO: needs to be packaged + 'python-cryptography: for cryptography support' +) +options=(!emptydirs) +source=("${_pkgname}::git+https://github.com/ansible/${_pkgname}#tag=$_commit") +sha512sums=('SKIP') + +build() { + cd "${_pkgname}/${pkgname}" + python -m build --wheel --no-isolation +} + +check() { + local deselected=( + # NOTE: deselect tests that require python-websocket-client + --deselect test/test_ws.py::test_explicit_hostname + --deselect test/test_ws.py::test_urlparsing + # Python 3.11 test failure https://github.com/ansible/awx/issues/13820 + --deselect test/cli/test_options.py::TestOptions::test_actions_with_primary_key + ) + cd "${_pkgname}/${pkgname}" + pytest -vv "${deselected[@]}" +} + +package() { + cd "${_pkgname}/${pkgname}" + python -m installer --destdir="$pkgdir" dist/*.whl +}