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

View File

@ -4,8 +4,7 @@ version=0.3.5
revision=1 revision=1
wrksrc="${pkgname/python3-/}-${version}" wrksrc="${pkgname/python3-/}-${version}"
build_style=python3-pep517 build_style=python3-pep517
make_install_target="subprocess_tee-${version}-py3-none-any.whl" hostmakedepends="python3-wheel python3-setuptools_scm"
hostmakedepends="python3-wheel python3-toml"
depends="python3" depends="python3"
short_desc="Replacement for subprocess.run capturing output while still printing it" short_desc="Replacement for subprocess.run capturing output while still printing it"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>" maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
@ -17,8 +16,7 @@ checksum=ff5cced589a4b8ac973276ca1ba21bb6e3de600cde11a69947ff51f696efd577
make_check=no make_check=no
post_patch() { post_patch() {
# scm versioning is broken in this release vsed -e "/setuptools_scm_git_archive/d" -i pyproject.toml
vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
} }
post_install() { post_install() {