python3-subprocess-tee: fix build

This commit is contained in:
Andrew J. Hesford 2022-05-16 10:34:25 -04:00
parent 37d9bcf2f9
commit abe94be670
1 changed files with 2 additions and 4 deletions

View File

@ -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 <jan.christian@gruenhage.xyz>"
@ -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() {