From abe94be670296df12253471179e88335044b65c0 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 16 May 2022 10:34:25 -0400 Subject: [PATCH] python3-subprocess-tee: fix build --- srcpkgs/python3-subprocess-tee/template | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python3-subprocess-tee/template b/srcpkgs/python3-subprocess-tee/template index 39a0233dad7..e14060d2bff 100644 --- a/srcpkgs/python3-subprocess-tee/template +++ b/srcpkgs/python3-subprocess-tee/template @@ -4,8 +4,7 @@ version=0.3.5 revision=1 wrksrc="${pkgname/python3-/}-${version}" build_style=python3-pep517 -make_install_target="subprocess_tee-${version}-py3-none-any.whl" -hostmakedepends="python3-wheel python3-toml" +hostmakedepends="python3-wheel python3-setuptools_scm" depends="python3" short_desc="Replacement for subprocess.run capturing output while still printing it" maintainer="Jan Christian Grünhage " @@ -17,8 +16,7 @@ checksum=ff5cced589a4b8ac973276ca1ba21bb6e3de600cde11a69947ff51f696efd577 make_check=no post_patch() { - # scm versioning is broken in this release - vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg + vsed -e "/setuptools_scm_git_archive/d" -i pyproject.toml } post_install() {