dev-python/subprocess-tee: Bump to 0.4.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-11-25 05:45:50 +01:00
parent 19643fde8f
commit 3fa049ba97
2 changed files with 47 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST subprocess-tee-0.3.5.tar.gz 16887 BLAKE2B 6eb25085eb2b2ee4557efd556d8035ab8f6b781b47783f24f227db04b3f82fffcfa29d69f0e3588c3fa6188446a3d96d4421e6b1ea5b3292f42635e19a404bab SHA512 47de075e7b6c75598dac0ad1899e1cce9dc1131b49c35ccade2b67c8d2a2d0248ce22a20c336519ff00bfd57269613bc663012e48cf0afa087c93ee74e18e4d4
DIST subprocess-tee-0.4.0.tar.gz 12815 BLAKE2B 0a536daca56dd441848eaaeb3d53384349debdfe7b83458a89ff9e9d44cf63d4cae9eb6436705494cbb15282594a3ad0ce1c8dd51bfb6f79128c6855ab3b2c82 SHA512 944f978c87d612a7846709106b7857761288ef9e6923bf0b69e20cc493b7dbcf51c16867ed7b3038a1d2f180108972c35e8d9fe380542b56c7c68320caf9321b

View File

@@ -0,0 +1,46 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="subprocess.run replacement with tee(1)-like output"
HOMEPAGE="
https://github.com/pycontribs/subprocess-tee/
https://pypi.org/project/subprocess-tee/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~riscv"
IUSE="test-full"
REQUIRED_USE="test-full? ( test )"
# ansible-molecule is invoked as an executable so no need for PYTHON_USEDEP
BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]
dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
test? (
dev-python/enrich[${PYTHON_USEDEP}]
test-full? ( app-admin/ansible-molecule )
)
"
distutils_enable_tests pytest
python_test() {
local EPYTEST_DESELECT=()
if ! use test-full; then
EPYTEST_DESELECT+=(
test/test_func.py::test_molecule
)
fi
epytest
}