From d47d4e628a0e649aec62a2bf55001a9bd7ac1070 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Mon, 14 Mar 2022 08:37:19 +0100 Subject: [PATCH] New package: python3-subprocess-tee-0.3.5 --- srcpkgs/python3-subprocess-tee/template | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/python3-subprocess-tee/template diff --git a/srcpkgs/python3-subprocess-tee/template b/srcpkgs/python3-subprocess-tee/template new file mode 100644 index 00000000000..39a0233dad7 --- /dev/null +++ b/srcpkgs/python3-subprocess-tee/template @@ -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 " +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 +}