# Template file for 'python3-ansible-compat'
pkgname=python3-ansible-compat
version=2.2.7
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/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
checksum=08deddcd0a1dc6baabe674b07c6ff882118492c123d281f56f01905271a7ffc4

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

post_install() {
	vlicense LICENSE
}
