From aeb10e2e8135ec39d8ea98964bec0ef71a2e7c7a Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 16 May 2022 10:34:25 -0400 Subject: [PATCH] python3-ansible-compat: fix build --- srcpkgs/python3-ansible-compat/template | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/srcpkgs/python3-ansible-compat/template b/srcpkgs/python3-ansible-compat/template index 919455b7e64..5b5b64154f3 100644 --- a/srcpkgs/python3-ansible-compat/template +++ b/srcpkgs/python3-ansible-compat/template @@ -1,12 +1,11 @@ # Template file for 'python3-ansible-compat' pkgname=python3-ansible-compat version=2.0.2 -revision=1 +revision=2 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" +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 " license="MIT" @@ -15,8 +14,7 @@ distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.t checksum=c651995dc323ef145bab857fee6540febc881fb71b7feafe8163d49e273163a5 post_patch() { - # scm versioning is broken in this release - vsed -e "/name =/a version = ${version}" -i setup.cfg + vsed -e "/setuptools_scm_git_archive/d" -i pyproject.toml } post_install() {