24 lines
740 B
Bash
24 lines
740 B
Bash
# Template file for 'python3-subprocess-tee'
|
|
pkgname=python3-subprocess-tee
|
|
version=0.4.1
|
|
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/subprocess-tee/subprocess-tee-${version}.tar.gz"
|
|
checksum=b3c124993f8b88d1eb1c2fde0bc2069787eac720ba88771cba17e8c93324825d
|
|
# requires molecule, which isn't packaged yet
|
|
make_check=no
|
|
|
|
post_patch() {
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|