diff --git a/dev-python/subprocess-tee/Manifest b/dev-python/subprocess-tee/Manifest new file mode 100644 index 0000000..7951724 --- /dev/null +++ b/dev-python/subprocess-tee/Manifest @@ -0,0 +1 @@ +DIST subprocess-tee-0.1.6.tar.gz 14003 SHA256 45f13c066d04df41d9fcf48148e64f02f233c332f35ee312576cd0a9818eb2fe SHA512 e8b29e95a6a8ca45780336ef5466e6d5ab28895bdfae840ab9ae5bcc4c0c545accabbf1e922ddb80818709757f054d4d702ed77c5b8a205e8a6972cfd1ebe14b WHIRLPOOL 39f87875c1270b0660ccf631848b8392ab179ec26705584cca9805d9909c3378a1c40e1b3cc60119fa87068b252e428ad6b771283be56b554706f966637f39fe diff --git a/dev-python/subprocess-tee/metadata.xml b/dev-python/subprocess-tee/metadata.xml new file mode 100644 index 0000000..e239504 --- /dev/null +++ b/dev-python/subprocess-tee/metadata.xml @@ -0,0 +1,18 @@ + + + + + klugh@ethz.ch + Hendrik Klug + + + This package provides an drop-in alternative to subprocess.run that captures the output while still printing + it in real time, just the way tee does. + + Printing output in real-time while still capturing is important for any tool that executes long running child + processes, as you may not want to deprive user from getting instant feedback related to what is happening. + + + pycontribs/subprocess-tee + + diff --git a/dev-python/subprocess-tee/subprocess-tee-0.1.6.ebuild b/dev-python/subprocess-tee/subprocess-tee-0.1.6.ebuild new file mode 100644 index 0000000..ee73075 --- /dev/null +++ b/dev-python/subprocess-tee/subprocess-tee-0.1.6.ebuild @@ -0,0 +1,30 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +inherit distutils-r1 + +DESCRIPTION="An drop-in alternative to subprocess.run that captures the output +while still printing it in real time, just the way tee does." +HOMEPAGE="https://github.com/pycontribs/subprocess-tee" +#SRC_URI="https://github.com/pycontribs/${PN}/archive/${PV}.tar.gz" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT License" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" +RDEPEND="${DEPEND}" +BDEPEND=""