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/plumbum | |
| 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/plumbum')
| -rw-r--r-- | dev-python/plumbum/Manifest | 4 | ||||
| -rw-r--r-- | dev-python/plumbum/metadata.xml | 19 | ||||
| -rw-r--r-- | dev-python/plumbum/plumbum-1.10.0.ebuild | 56 | ||||
| -rw-r--r-- | dev-python/plumbum/plumbum-2.0.0.ebuild | 61 |
4 files changed, 140 insertions, 0 deletions
diff --git a/dev-python/plumbum/Manifest b/dev-python/plumbum/Manifest new file mode 100644 index 000000000000..7e5ea13077c9 --- /dev/null +++ b/dev-python/plumbum/Manifest @@ -0,0 +1,4 @@ +DIST plumbum-1.10.0.tar.gz 320039 BLAKE2B 6fa83c89d1585219a0a333929aefb52747d5f0bcd3eb3e890a8581607dda702ad71207226ce5007f7341b8d2105970d4aa237b0d7f59649bff8e991a9cecb150 SHA512 c290ae9bb4475380ae6cc32d801050642d1ef2806df6b1be9e45ed61f511ac5e3a4da2f45104d55b0eb34b6a73c649bab05b8ea9bb84d666adf8d921f8c503e2 +DIST plumbum-1.10.0.tar.gz.provenance 9486 BLAKE2B d25167ce4077f4704731cf9ed7bbd4ded0b2372c2328991514ab6d1bc720b86296787f8412e4e1168d27eb691ae8c1d33bbf774301fa7a9557698be215d94af9 SHA512 e85f298df0907fd8e7f343d56580059ab689c627db21989a4879d799eb1f07b3a31d8db67fbd72fcdb4e3fdbc6e18abf4dba7b9097bb7168c111ea23738d512d +DIST plumbum-2.0.0.tar.gz 378026 BLAKE2B 49ccbefb7e4bae7f85281c62e6c81207270dda7a1d6a587a782cbe34532c4698bf587da8f22b1c092592a3dd55e26d636d082f0e0af5884faf137c32c1ce2cfe SHA512 cc8e8ebaccee5ef7cc79eb0f65057a78f6b2caf946c27b9c8806814b9e50f8925ba7115c58fef8e6bfe7b0bda54c4c4d8985863b0ba214e6c09a07b9bfc4f081 +DIST plumbum-2.0.0.tar.gz.provenance 9484 BLAKE2B b6fe479624642e1b5d34b773efe8c2ec4435bef92f9939d4fc1e5457b4ca603ffa722f3b5546bda61d9b8dd2e146d67a6646e3f3035c658f5d2853ae31af9ba4 SHA512 c32c02f9aa3e2bb77d9eae169b9e92316e6308dc5c30a49108705c02ac194dc5fabfadedf307c45fd2bad5b3ee695d1cede73fdf08176b3f92c61e9624ccc7e3 diff --git a/dev-python/plumbum/metadata.xml b/dev-python/plumbum/metadata.xml new file mode 100644 index 000000000000..a3ab5ccd41d5 --- /dev/null +++ b/dev-python/plumbum/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="person"> + <email>grozin@gentoo.org</email> + <name>Andrey Grozin</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription> + A library for shell script-like programs in python, + attempting to mimic the shell syntax (shell combinators) where it makes sense, + while keeping it all Pythonic and cross-platform. + </longdescription> + <stabilize-allarches /> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/plumbum/plumbum-1.10.0.ebuild b/dev-python/plumbum/plumbum-1.10.0.ebuild new file mode 100644 index 000000000000..249610285fde --- /dev/null +++ b/dev-python/plumbum/plumbum-1.10.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/tomerfiliba/plumbum +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="A library for shell script-like programs in python" +HOMEPAGE=" + https://plumbum.readthedocs.io/en/latest/ + https://github.com/tomerfiliba/plumbum/ + https://pypi.org/project/plumbum/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm64 ~riscv x86" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{mock,timeout} ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Need sshd running + tests/test_remote.py + tests/test_utils.py + # Windows specific + tests/test_putty.py + # Needs sudo without password + tests/test_sudo.py + # Wrong assumptions about env handling + tests/test_env.py::TestEnv::test_change_env + tests/test_env.py::TestEnv::test_dictlike + tests/test_local.py::TestLocalPath::test_iterdir + ) + + epytest -o addopts= +} + +pkg_postinst() { + optfeature "remote commands via ssh" dev-python/paramiko + optfeature "progress bars in jupyter" dev-python/ipywidgets + optfeature "colored output in jupyter" dev-python/ipython + optfeature "images on the command line" dev-python/pillow +} diff --git a/dev-python/plumbum/plumbum-2.0.0.ebuild b/dev-python/plumbum/plumbum-2.0.0.ebuild new file mode 100644 index 000000000000..96b8fd152ab1 --- /dev/null +++ b/dev-python/plumbum/plumbum-2.0.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/tomerfiliba/plumbum +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="A library for shell script-like programs in python" +HOMEPAGE=" + https://plumbum.readthedocs.io/en/latest/ + https://github.com/tomerfiliba/plumbum/ + https://pypi.org/project/plumbum/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.12) +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{asyncio,mock,timeout} ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Need sshd running + tests/test_remote.py + tests/test_utils.py + # Windows specific + tests/test_putty.py + # Needs sudo without password + tests/test_sudo.py + # Wrong assumptions about env handling + tests/test_env.py::TestEnv::test_change_env + tests/test_env.py::TestEnv::test_dictlike + tests/test_local.py::TestLocalPath::test_iterdir + ) + + epytest -o addopts= +} + +pkg_postinst() { + optfeature "remote commands via ssh" dev-python/paramiko + optfeature "progress bars in jupyter" dev-python/ipywidgets + optfeature "colored output in jupyter" dev-python/ipython + optfeature "images on the command line" dev-python/pillow +} |
