void-packages/srcpkgs/python3-subprocess-tee/template

24 lines
759 B
Bash

# Template file for 'python3-subprocess-tee'
pkgname=python3-subprocess-tee
version=0.4.0
revision=1
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=7ea885ff32cdb2b2d3b2a6c464492f2ee1ebbf324e50598d75de4f6f3ea0f149
# requires molecule, which isn't packaged yet
make_check=no
post_patch() {
vsed -e "/setuptools_scm_git_archive/d" -e "/pip/d" -i pyproject.toml
}
post_install() {
vlicense LICENSE
}