23 lines
762 B
Bash
23 lines
762 B
Bash
# Template file for 'python3-ansible-compat'
|
|
pkgname=python3-ansible-compat
|
|
version=2.2.0
|
|
revision=1
|
|
wrksrc="${pkgname/python3-/}-${version}"
|
|
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-community/ansible-compat"
|
|
distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
|
|
checksum=676db8ec0449d1f07038625b8ebb8ceef5f8ad3a1af3ee82d4ed66b9b04cb6fa
|
|
|
|
post_patch() {
|
|
vsed -e "/setuptools_scm_git_archive/d" -i pyproject.toml
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|