void-packages/srcpkgs/ansible-base/template
Domagoj Stolfa a56dc05df2 ansible-base: add python3-packaging as a runtime dependency
Running the current ansible package results in a warning:

"[WARNING]: packaging Python module unavailable; unable to validate collection Ansible version requirements"

A simple web search leads to the Ansible developers stating that
python3-packaging is a dependency for ansible-base[1], and this commit
adds it.

[1]: https://github.com/ansible/ansible/issues/72117
2021-05-04 18:04:43 -03:00

24 lines
781 B
Bash

# Template file for 'ansible-base'
pkgname=ansible-base
version=2.10.8
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="${hostmakedepends} python3-cryptography python3-Jinja2 python3-paramiko
python3-yaml python3-packaging"
short_desc="Simple deployment, configuration management and execution framework"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="GPL-3.0-or-later"
homepage="https://www.ansible.com/"
distfiles="${PYPI_SITE}/a/ansible-base/ansible-base-${version}.tar.gz"
checksum=f45df824051339d8bec32d7ab4e9e676498c05e2d9cfce6d54c9698a577e15e2
conflicts="ansible<2.10.1_1"
make_check=no
post_install() {
vsconf examples/ansible.cfg
vsconf examples/hosts
for m in docs/man/man1/*.1; do
vman ${m}
done
}