1
0
mirror of synced 2024-12-22 12:50:33 +01:00

added ebuild for subprocess-tee

This commit is contained in:
Jimmy2027 2020-12-14 14:25:57 +01:00
parent 27ef48d0f8
commit 6eb976fffb
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST subprocess-tee-0.1.6.tar.gz 14003 SHA256 45f13c066d04df41d9fcf48148e64f02f233c332f35ee312576cd0a9818eb2fe SHA512 e8b29e95a6a8ca45780336ef5466e6d5ab28895bdfae840ab9ae5bcc4c0c545accabbf1e922ddb80818709757f054d4d702ed77c5b8a205e8a6972cfd1ebe14b WHIRLPOOL 39f87875c1270b0660ccf631848b8392ab179ec26705584cca9805d9909c3378a1c40e1b3cc60119fa87068b252e428ad6b771283be56b554706f966637f39fe

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>klugh@ethz.ch</email>
<name>Hendrik Klug</name>
</maintainer>
<longdescription>
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.
</longdescription>
<upstream>
<remote-id type="github">pycontribs/subprocess-tee</remote-id>
</upstream>
</pkgmetadata>

View File

@ -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=""