mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: python3-subprocess-tee-0.3.5
This commit is contained in:
parent
7d1cb49a6d
commit
d47d4e628a
1 changed files with 26 additions and 0 deletions
26
srcpkgs/python3-subprocess-tee/template
Normal file
26
srcpkgs/python3-subprocess-tee/template
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'python3-subprocess-tee'
|
||||||
|
pkgname=python3-subprocess-tee
|
||||||
|
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"
|
||||||
|
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() {
|
||||||
|
# scm versioning is broken in this release
|
||||||
|
vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue