diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/plumbum/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/plumbum/plumbum-1.10.0.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/plumbum/Manifest b/dev-python/plumbum/Manifest index a81fdff682d0..0ef92fefff5b 100644 --- a/dev-python/plumbum/Manifest +++ b/dev-python/plumbum/Manifest @@ -1 +1,3 @@ +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-1.9.0.tar.gz 319083 BLAKE2B eb155511c3726b7b7e564da05ab58294ffdbe9806599d8adbd0a05ffc9cf096a6c551f5d1ef0b9a781a13435e47a6598c90c04d90c852f8536c665d2bfbb58d9 SHA512 afa0436e19ddea192ac7d33a3cdede6a86c801288d6678c9d9daa110ea049b14bc388fe4eb27e172d66595de282648b966043bed8f4c282350753afdf38e14de 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..3f893a182674 --- /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_{11..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 +} |
