# Template file for 'python3-ansible-compat'
pkgname=python3-ansible-compat
version=3.0.1
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="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT"
homepage="https://github.com/ansible/ansible-compat"
distfiles="${PYPI_SITE}/a/ansible-compat/ansible-compat-${version}.tar.gz"
checksum=d7dc5e4b7fade9b7375c568a24475b7be81024cac2a20caef3260ef0b51287b4

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

post_install() {
	vlicense LICENSE
}
