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

22 lines
711 B
Bash

# Template file for 'python3-ansible-compat'
pkgname=python3-ansible-compat
version=2.2.4
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=6a2c3ade5005530cdfdd8e961c784b1718f17ad480a1be5a8014bff89c9c9c2e
post_patch() {
vsed -e "/setuptools_scm_git_archive/d" -i pyproject.toml
}
post_install() {
vlicense LICENSE
}