diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-11-25 05:45:50 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-11-25 06:14:23 +0100 |
commit | 3fa049ba9799de85d0b32c50157b791dcdaf4942 (patch) | |
tree | 8d8cee7e8cfde67c2f29be0b7c017080cf782931 /dev-python/subprocess-tee | |
parent | www-client/opera-beta: remove old (diff) | |
download | gentoo-3fa049ba9799de85d0b32c50157b791dcdaf4942.tar.gz gentoo-3fa049ba9799de85d0b32c50157b791dcdaf4942.tar.bz2 gentoo-3fa049ba9799de85d0b32c50157b791dcdaf4942.zip |
dev-python/subprocess-tee: Bump to 0.4.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/subprocess-tee')
-rw-r--r-- | dev-python/subprocess-tee/Manifest | 1 | ||||
-rw-r--r-- | dev-python/subprocess-tee/subprocess-tee-0.4.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/subprocess-tee/Manifest b/dev-python/subprocess-tee/Manifest index 34f583554fcf..e343a8b1fd30 100644 --- a/dev-python/subprocess-tee/Manifest +++ b/dev-python/subprocess-tee/Manifest @@ -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 diff --git a/dev-python/subprocess-tee/subprocess-tee-0.4.0.ebuild b/dev-python/subprocess-tee/subprocess-tee-0.4.0.ebuild new file mode 100644 index 000000000000..998ec933fddb --- /dev/null +++ b/dev-python/subprocess-tee/subprocess-tee-0.4.0.ebuild @@ -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 +} |