24 lines
759 B
Bash
24 lines
759 B
Bash
# Template file for 'python3-subprocess-tee'
|
|
pkgname=python3-subprocess-tee
|
|
version=0.3.5
|
|
revision=2
|
|
build_style=python3-pep517
|
|
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>"
|
|
license="MIT"
|
|
homepage="https://github.com/pycontribs/subprocess-tee"
|
|
distfiles="${PYPI_SITE}/s/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
|
|
checksum=ff5cced589a4b8ac973276ca1ba21bb6e3de600cde11a69947ff51f696efd577
|
|
# requires molecule, which isn't packaged yet
|
|
make_check=no
|
|
|
|
post_patch() {
|
|
vsed -e "/setuptools_scm_git_archive/d" -i pyproject.toml
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|