# Template file for 'python3-ansible-compat'
pkgname=python3-ansible-compat
version=4.1.10
revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel python3-setuptools_scm"
depends="python3-subprocess-tee python3-yaml"
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=2be8c7b510d2e15eed1e9ef443209d67d9aec8f427026b88936d4535ff59863d

post_patch() {
	export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
}

post_install() {
	vlicense LICENSE
}
