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/subprocess-tee | |
| 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/subprocess-tee')
| -rw-r--r-- | dev-python/subprocess-tee/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/subprocess-tee/metadata.xml | 17 | ||||
| -rw-r--r-- | dev-python/subprocess-tee/subprocess-tee-0.4.2.ebuild | 44 |
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/subprocess-tee/Manifest b/dev-python/subprocess-tee/Manifest new file mode 100644 index 000000000000..19c5841e2bbe --- /dev/null +++ b/dev-python/subprocess-tee/Manifest @@ -0,0 +1 @@ +DIST subprocess_tee-0.4.2.tar.gz 14951 BLAKE2B b94a8adc779bfbfd17046c4c85c9fb4020a0ca4de11735ec672a90e3be93d09d5f2ec60184e12bce86864b6ef22fedd0927dbb26267cb763d197c54bb4f342ed SHA512 acb0103b8a9ba6288e42148062e82b37b625f5c518e195c4d6e32efd2d5d9841ac6f2c2b240d223e7cdecc643daaa3d86c63a6bc34ca7b48e187cbf968e5dae5 diff --git a/dev-python/subprocess-tee/metadata.xml b/dev-python/subprocess-tee/metadata.xml new file mode 100644 index 000000000000..b71bb2f6f0a6 --- /dev/null +++ b/dev-python/subprocess-tee/metadata.xml @@ -0,0 +1,17 @@ +<?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> + <stabilize-allarches /> + <use> + <flag name="test-full"> + Enable full test mode. Pulls in many additional dependencies, + and requires having been emerged without this flag first + in order to avoid a circular dependency. + </flag> + </use> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/subprocess-tee/subprocess-tee-0.4.2.ebuild b/dev-python/subprocess-tee/subprocess-tee-0.4.2.ebuild new file mode 100644 index 000000000000..519e4cd5f29d --- /dev/null +++ b/dev-python/subprocess-tee/subprocess-tee-0.4.2.ebuild @@ -0,0 +1,44 @@ +# 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="subprocess.run replacement with tee(1)-like output" +HOMEPAGE=" + https://github.com/pycontribs/subprocess-tee/ + https://pypi.org/project/subprocess-tee/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~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-7.0.0[${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 +} |
