diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/stdio-mgr | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/stdio-mgr')
| -rw-r--r-- | dev-python/stdio-mgr/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/stdio-mgr/metadata.xml | 19 | ||||
| -rw-r--r-- | dev-python/stdio-mgr/stdio-mgr-1.0.1.1.ebuild | 26 |
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/stdio-mgr/Manifest b/dev-python/stdio-mgr/Manifest new file mode 100644 index 000000000000..fce059a5cbe8 --- /dev/null +++ b/dev-python/stdio-mgr/Manifest @@ -0,0 +1 @@ +DIST stdio_mgr-1.0.1.1.tar.gz 13263 BLAKE2B d976788e9688b362c4d8d92f975c07047ef9c01b54bcfeec6243ab5621eb9aad1e8aef7c151daedd6062055ece0feca7c9e787cce86337e92552fa0a5eb3f641 SHA512 bbd3501fc4871c70125d61cc66592feb06f3847a48fb6c7c8733e1344480a90126074f19784b6dd3f3a1897530b9343ed4723649a5d932fc1d8d21f143ec43ae diff --git a/dev-python/stdio-mgr/metadata.xml b/dev-python/stdio-mgr/metadata.xml new file mode 100644 index 000000000000..2c3ecf80b07c --- /dev/null +++ b/dev-python/stdio-mgr/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription lang="en"> +Have a CLI Python application? + +Want to automate testing of the actual console input & output of your user-facing components? + +stdio Manager can help. + +While some functionality here is more or less duplicative of redirect_stdout and redirect_stderr in contextlib within the standard library, it provides (i) a much more concise way to mock both stdout and stderr at the same time, and (ii) a mechanism for mocking stdin, which is not available in contextlib. + </longdescription> + <stabilize-allarches /> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/stdio-mgr/stdio-mgr-1.0.1.1.ebuild b/dev-python/stdio-mgr/stdio-mgr-1.0.1.1.ebuild new file mode 100644 index 000000000000..0c9f3113e53c --- /dev/null +++ b/dev-python/stdio-mgr/stdio-mgr-1.0.1.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Context manager for mocking/wrapping stdin/stdout/stderr" +HOMEPAGE=" + https://github.com/bskinn/stdio-mgr/ + https://pypi.org/project/stdio-mgr/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" + +RDEPEND=" + >=dev-python/attrs-17.1[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest |
