From 4fe7eecaf9e1a2ebd2bd000389d1ecdf0e7e02f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 23 Jul 2026 04:03:46 +0200 Subject: [PATCH] dev-python/plumbum: Bump to 2.0.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/plumbum/Manifest | 2 + dev-python/plumbum/plumbum-2.0.2.ebuild | 61 +++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 dev-python/plumbum/plumbum-2.0.2.ebuild diff --git a/dev-python/plumbum/Manifest b/dev-python/plumbum/Manifest index 26ec0679649da..87d883e07aaf4 100644 --- a/dev-python/plumbum/Manifest +++ b/dev-python/plumbum/Manifest @@ -1,2 +1,4 @@ DIST plumbum-2.0.1.tar.gz 377668 BLAKE2B 8a961808fdb3ce3efcec79604e9f74cd099056b63cfb77f5f9ee6feb824c1b6ad0db8cb0ad2c394ca85210c0e05be1f0ae9bf2560528e6ac9d86e94cc046f2e1 SHA512 251e6e4f960c353c3c482f3c82598d001a9ca62a8f2cad38621c7789813b91404034541c92758e2cb88148964e13983643c78b61b72e1cf3f1d06ad219bb2f7f DIST plumbum-2.0.1.tar.gz.provenance 9684 BLAKE2B 557e4df62962015d6d722bce116236d9bd8ad7bc544ad9376ab41ddb6eaef66ebf723d5a06885c1b06f054cd520f05d6131518007c8a5875f9fda3fb0bfc6b84 SHA512 f9ff4463bf590d85c0e341c975766f59f5bba67c0bb1b99cb7fb28f508cc84f9a6b55085783a2499a389ce46b45639b8972c95df5c0602503fbcde2bf793666c +DIST plumbum-2.0.2.tar.gz 390799 BLAKE2B c52ea1f20f899dbe89c1b2499510fdee3082739f9ac4f44f2d08c8fbba57a7d8e2ebfd64b1a459db853a94c612f370fc8b75f1788853f8de3989cf5af7aa6e48 SHA512 49a4234ddc6e94289dff23ee0186dffb87b10500c30ebf2cf9867ff9487ba08a19e12dce5e0740ddb90aebe9f42f7283f4cd8aabaa79d95fcb969bce0dc8de24 +DIST plumbum-2.0.2.tar.gz.provenance 9543 BLAKE2B 2c640ed876b77335c5c6b9990d0407b631e988f832fcc50f0ce068bfdf4f0e5b7fb61d00507d92beeab86a4856cbd7a73832e760435bda0d8f0bd3b6c799a6be SHA512 d21073c3d9499157d2099de2f4d28e0a28e2eb3b360a73b5206bdad6b3537dad24014bcc39d54b144b36d053a582498bd245b13b7356d6c8183f32b8fa8953c2 diff --git a/dev-python/plumbum/plumbum-2.0.2.ebuild b/dev-python/plumbum/plumbum-2.0.2.ebuild new file mode 100644 index 0000000000000..3cf72e8718691 --- /dev/null +++ b/dev-python/plumbum/plumbum-2.0.2.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_{12..15} ) + +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 +}