diff options
| author | BaldEagleOS Migration <dev@baldeagleos.com> | 2026-06-04 02:18:54 -0500 |
|---|---|---|
| committer | BaldEagleOS Migration <dev@baldeagleos.com> | 2026-06-04 02:18:54 -0500 |
| commit | 3f9cf298e89cd5037b982abba06091224ee76daf (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/plumbum | |
| parent | df30352066a4373a912bc395b250b0b1fa2cf696 (diff) | |
| download | baldeagleos-repo-3f9cf298e89cd5037b982abba06091224ee76daf.tar.gz baldeagleos-repo-3f9cf298e89cd5037b982abba06091224ee76daf.tar.xz baldeagleos-repo-3f9cf298e89cd5037b982abba06091224ee76daf.zip | |
Adding metadata
Diffstat (limited to 'dev-python/plumbum')
| -rw-r--r-- | dev-python/plumbum/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/plumbum/plumbum-2.0.0.ebuild | 61 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/plumbum/Manifest b/dev-python/plumbum/Manifest index b4eac123af91..7e5ea13077c9 100644 --- a/dev-python/plumbum/Manifest +++ b/dev-python/plumbum/Manifest @@ -1,2 +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/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 +} |
