From 15c59d777eb01c7be8304d874d148c2bdc6d9636 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Mon, 14 Mar 2022 08:38:01 +0100 Subject: [PATCH] New package: python3-ansible-compat-2.0.0 --- srcpkgs/python3-ansible-compat/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/python3-ansible-compat/template diff --git a/srcpkgs/python3-ansible-compat/template b/srcpkgs/python3-ansible-compat/template new file mode 100644 index 00000000000..bf03fe221d0 --- /dev/null +++ b/srcpkgs/python3-ansible-compat/template @@ -0,0 +1,24 @@ +# Template file for 'python3-ansible-compat' +pkgname=python3-ansible-compat +version=2.0.0 +revision=1 +wrksrc="${pkgname/python3-/}-${version}" +build_style=python3-pep517 +make_install_target="ansible_compat-${version}-py3-none-any.whl" +hostmakedepends="python3-wheel python3-toml" +depends="python3-subprocess-tee" +short_desc="Python package for working with various version of ansible" +maintainer="Jan Christian Grünhage " +license="MIT" +homepage="https://github.com/ansible-community/ansible-compat" +distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz" +checksum=4027da4ec2b524c263a801cc2dc6da2b98c2996cec258cef118a30c790467ed2 + +post_patch() { + # scm versioning is broken in this release + vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg +} + +post_install() { + vlicense LICENSE +}