void-packages/srcpkgs/python3-ansible-compat/template

26 lines
1015 B
Bash

# Template file for 'python3-ansible-compat'
pkgname=python3-ansible-compat
version=24.9.1
revision=1
build_style=python3-pep517
# deselect unnecessary tests in venv
make_check_args="--deselect test/test_runtime_scan_path.py::test_scan_sys_path[scanF-raises_not_foundT]
--deselect test/test_runtime_scan_path.py::test_scan_sys_path[scanT-raises_not_foundF]"
hostmakedepends="python3-wheel python3-setuptools_scm"
depends="ansible-core python3-jsonschema python3-subprocess-tee python3-yaml"
checkdepends="${depends} python3-pytest python3-pytest-mock python3-cryptography"
short_desc="Python package for working with various version of ansible"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/ansible/ansible-compat"
distfiles="${PYPI_SITE}/a/ansible-compat/ansible_compat-${version}.tar.gz"
checksum=9ff20245e1bd9de9b23a367902524ab0e11fbcfb741831996da5da5b60ab95df
post_patch() {
export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
}
post_install() {
vlicense LICENSE
}