47 lines
1.4 KiB
Bash
47 lines
1.4 KiB
Bash
# Template file for 'ansible-core'
|
|
pkgname=ansible-core
|
|
version=2.15.0
|
|
revision=2
|
|
hostmakedepends="python3-setuptools python3-wheel python3-packaging
|
|
python3-straight.plugin python3-docutils python3-Jinja2 python3-yaml"
|
|
depends="python3-cryptography python3-Jinja2 python3-paramiko python3-yaml
|
|
python3-packaging python3-resolvelib python3-pytz git"
|
|
checkdepends="${depends} python3-pytest python3-pytest-xdist
|
|
python3-pytest-forked unzip openssh python3-pytest-mock libselinux
|
|
python3-passlib"
|
|
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/"
|
|
changelog="https://raw.githubusercontent.com/ansible/ansible/stable-${version%.*}/changelogs/CHANGELOG-v${version%.*}.rst"
|
|
distfiles="${PYPI_SITE}/a/ansible-core/ansible-core-${version}.tar.gz"
|
|
checksum=cf690fd4ebb40590e00c5acdc0624758ca4c58d1e4b2b02ec026a034070ebf4d
|
|
conflicts="ansible<2.10.1_1"
|
|
replaces="ansible-base<2.11.0_1"
|
|
|
|
do_build() {
|
|
python setup.py build
|
|
}
|
|
|
|
do_check() {
|
|
bin/ansible-test units
|
|
}
|
|
|
|
do_install() {
|
|
python setup.py install --root="${DESTDIR}"
|
|
|
|
make docs
|
|
for page in docs/man/man1/*.1; do
|
|
vman ${page}
|
|
done
|
|
|
|
vsconf examples/ansible.cfg
|
|
vsconf examples/hosts
|
|
}
|
|
|
|
ansible-base_package() {
|
|
build_style=meta
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" (transitional dummy package)"
|
|
}
|