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

22 lines
692 B
Bash

# Template file for 'python3-ansible-compat'
pkgname=python3-ansible-compat
version=4.1.0
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=bcc6b3cf4bb102e1b1b36a8639fee7ad18ddb1d99fb055d208c8a0f650a51621
post_patch() {
export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
}
post_install() {
vlicense LICENSE
}