diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-25 07:12:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-25 07:12:05 +0000 |
commit | 14a74a5f982f25582974c2ee235027a041aec36d (patch) | |
tree | dc57c37e535d9d67af9a5034c4748ec3698923b9 /dev-python/subprocess-tee | |
parent | b1b0997aac1e7f68389ed3e0f95d3ea9d92277e2 (diff) |
gentoo auto-resync : 25:11:2022 - 07:12:04
Diffstat (limited to 'dev-python/subprocess-tee')
-rw-r--r-- | dev-python/subprocess-tee/Manifest | 2 | ||||
-rw-r--r-- | dev-python/subprocess-tee/subprocess-tee-0.4.0.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/subprocess-tee/Manifest b/dev-python/subprocess-tee/Manifest index 84501c7ed011..07ea9d7b6fad 100644 --- a/dev-python/subprocess-tee/Manifest +++ b/dev-python/subprocess-tee/Manifest @@ -1,3 +1,5 @@ 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 EBUILD subprocess-tee-0.3.5.ebuild 1176 BLAKE2B 7e724f5184690c88aac1794e920641f1bd459160804bff4e068ce5871eaaa1906242649dd0bf41fdf8e642e21981886eb7d569351e4f47b428f9da59db1a3440 SHA512 17d4b5b7d005639a153d815b6bb73c2699849ca4013c8cd15ee99dfa434d43f9ecb9582c5418816207b022dc0c85a3c3894f95c9a946a64f8efe5b67a4e438d1 +EBUILD subprocess-tee-0.4.0.ebuild 987 BLAKE2B 4cad90aed652102a33bb961a2adc30513da118687634db91221d93af8c9eac588957ad2346dd42b3c6d908b8b2541de35e9bba74d0e0a4a94ce93eca5ca1c7da SHA512 9fde4a511e531deb46b20ffb6b1519e37beaee9fd3340dce525b3bef320c8e02ec51799450be6003ffef55fa66457d189d9399b0d0b508a70c5170ea82b62a7e MISC metadata.xml 733 BLAKE2B b18b79649744580db9298cb069dbf3b4c23d10983f012206199f6049752a5a232ed7068daad0716add206cfbf811d3c30e61c90d465e9f2a7f5c444f415d5dad SHA512 a3458edf61b355dc98f05602aa0a98c56d553567f85644ce5157f6a36f8947f8fb11971992305074c1d00a00e38481d4b34048ccf2312f51b477f33498cd792f 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 +} |