void-packages/srcpkgs/ansible-core/template
2022-02-12 17:47:10 +01:00

35 lines
1.1 KiB
Bash

# Template file for 'ansible-core'
pkgname=ansible-core
version=2.12.2
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="${hostmakedepends} python3-cryptography python3-Jinja2 python3-paramiko
python3-yaml python3-packaging python3-resolvelib"
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-core/ansible-core-${version}.tar.gz"
checksum=bc79e1723a5a92cbc105d581b25b66840d15bb5f4c98925c936ef5a71f92e7c3
conflicts="ansible<2.10.1_1"
replaces="ansible-base<2.11.0_1"
# Tests are currently broken for ansible on python 3.10
# See https://github.com/ansible/ansible/issues/74658
# and https://github.com/ansible/ansible/issues/74660
make_check=no
post_install() {
vsconf examples/ansible.cfg
vsconf examples/hosts
for m in docs/man/man1/*.1; do
vman ${m}
done
}
ansible-base_package() {
build_style=meta
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
}