# Maintainer: Alexandre Ferreira pkgname=ansible pkgver=9.1.0 pkgrel=1 pkgdesc='Official assortment of Ansible collections' arch=('any') url='https://pypi.org/project/ansible/' msys2_references=( "cpe: cpe:/a:ansible:ansible" "cpe: cpe:/a:redhat:ansible" "cpe: cpe:/a:redhat:ansible_engine" "pypi:ansible" ) license=('spdx:GPL-3.0-or-later') depends=( 'python' 'ansible-core' ) makedepends=( 'python-setuptools' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel' ) source=("https://pypi.python.org/packages/source/a/ansible/ansible-${pkgver}.tar.gz") sha512sums=('ec6d86b3d05e66053001720b6b7d7bd1dba8bd50917c913e1f08a63b0c94f76a5d69732c78e793d038622a0b8c652860290a89cee1dfb22491a81763923ef843') build() { cd ansible-${pkgver} python -m build --wheel --skip-dependency-check --no-isolation } package() { cd ansible-${pkgver} python -m installer --destdir="${pkgdir}" dist/*.whl install -Dm644 COPYING "${pkgdir}"/usr/share/doc/${pkgname}/COPYING }