diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-06 04:27:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-06 04:27:04 +0100 |
commit | d6106fb0c1ab8f79024ab6a9ac2062ddc85d4e07 (patch) | |
tree | f3a4ad4dcf443e9351fa5dec88afeeec86c9b642 /dev-python/plumbum | |
parent | f3f72d0d5f1ae9ee74acaa63ccb7a247468e73bf (diff) |
gentoo auto-resync : 06:10:2024 - 04:27:04
Diffstat (limited to 'dev-python/plumbum')
-rw-r--r-- | dev-python/plumbum/Manifest | 2 | ||||
-rw-r--r-- | dev-python/plumbum/plumbum-1.9.0.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/plumbum/Manifest b/dev-python/plumbum/Manifest index 4ef75867e7a3..22a04a892f27 100644 --- a/dev-python/plumbum/Manifest +++ b/dev-python/plumbum/Manifest @@ -1,3 +1,5 @@ DIST plumbum-1.8.3.tar.gz 318895 BLAKE2B 7c3df70e5bcaf5dfd9c6898f0d2044c647f08a4eaa0eb6bcb616c9971edfc20aa7651dc70a193e06c1d1f97b155a86a6d93d14622ff40da1328b1aa0e6534e6b SHA512 e59dd98939739636c3f1541e24f3c5a4b0c9bbe54b77d378875a57f167ca1916adbca6b33c7779d37e5daebd949c9a9d77bfffc404e55d319027658b5a504088 +DIST plumbum-1.9.0.tar.gz 319083 BLAKE2B eb155511c3726b7b7e564da05ab58294ffdbe9806599d8adbd0a05ffc9cf096a6c551f5d1ef0b9a781a13435e47a6598c90c04d90c852f8536c665d2bfbb58d9 SHA512 afa0436e19ddea192ac7d33a3cdede6a86c801288d6678c9d9daa110ea049b14bc388fe4eb27e172d66595de282648b966043bed8f4c282350753afdf38e14de EBUILD plumbum-1.8.3.ebuild 1437 BLAKE2B 842741f52540518c66a176d24caf3a8704cff3b4ef884ff4d6a616fc81304943375982f06038f09be3aaa8f55285c2701287e5e20d1498ccfe887a74ce0e3fcb SHA512 db72e00b77c700a344d2b2fc27f1027f207d36e08f06f261e455ddfebf3c16f8929cb42aa507ffdd377bd8227dd41016636ddc1d782158bed8475fccf6d9e120 +EBUILD plumbum-1.9.0.ebuild 1440 BLAKE2B 6c0a354b158af3546dd3eac740eec5c6c0bcf30310e5d6fb26a14ba7c1a4fa2bbeed2baaa746ebeddbc05cf9be14a9ab60a6a8ac7ac02df3fc7217f78ed034da SHA512 a81ab749801aa1862162235e79c69ca5c0a7ea299f630200f2e60a575a975eb143ab8be7bc3730132eff7a5202762a46e7edbfd862f25df05b7335a9dda96b71 MISC metadata.xml 754 BLAKE2B b6d00fe0747da15445953a29abdd6f14112d02f2162746992f2fca80a321cd10f3cad40294e4bdbcf3f04d432b4d81902667296a0a5b8f99da2df2a5c58b18c1 SHA512 fbadbb7e5edd1573994cfc843e4a254ae5d12be5a3372f4fb061647983e360c2b0ea4a9e41ea8c9ff26028db75ad9cd5de881b8fdd9bf35864442e215aa42175 diff --git a/dev-python/plumbum/plumbum-1.9.0.ebuild b/dev-python/plumbum/plumbum-1.9.0.ebuild new file mode 100644 index 000000000000..feaba73825a3 --- /dev/null +++ b/dev-python/plumbum/plumbum-1.9.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} ) + +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}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p pytest_mock -p timeout +} + +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 +} |