commit: 825b65226aee50ce3a1e30ae33d521f2c08ec8e4 Author: Petr Vaněk <arkamar <AT> gentoo <DOT> org> AuthorDate: Sat Jan 25 10:02:00 2025 +0000 Commit: Petr Vaněk <arkamar <AT> gentoo <DOT> org> CommitDate: Sat Jan 25 10:20:59 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=825b6522
app-admin/clustershell: add 1.9.3 - enable py3.13 - remove >=expat-2.6.0 blocker, the issue was fixed upstream, this version does not hang anymore, see [1] - take advantage of eunittest, because automatic discovery works with properly set parameters [1] https://github.com/cea-hpc/clustershell/pull/556 Bug: https://bugs.gentoo.org/924601 Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org> app-admin/clustershell/Manifest | 1 + app-admin/clustershell/clustershell-1.9.3.ebuild | 55 ++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/app-admin/clustershell/Manifest b/app-admin/clustershell/Manifest index 6a70beb978ec..44f741c12ea8 100644 --- a/app-admin/clustershell/Manifest +++ b/app-admin/clustershell/Manifest @@ -1 +1,2 @@ DIST ClusterShell-1.9.2.tar.gz 400880 BLAKE2B d10c78696268cabd001e1da1c28f1850d6b2fd9d20e73f9aeab378c855a0b937f32d706869e2d3fcdf109b2e98175abbec8f06fe0c6d2c4139d2da14f1c5b610 SHA512 852c9dcbe333965fa853e4360da7305c448dc037348ede18c0417d763e68d4bafad0a60480fce421f1815a86dd0a20e07d32fd8828aa185e7e1b88ed292014fc +DIST ClusterShell-1.9.3.tar.gz 417135 BLAKE2B 8b70b1ef8b8a2c0f148cc35b23397d4ccff642b7921e09940143bdc74df7ac1f38ebd10a0cbaa4385803a4ee109908e8946fea0ac7f3d573011d0a81ea057a1e SHA512 80f32b629f652d412030936e345da93a0fb82859b00d6670d69546c87b6d317a6ea0910fbcfe3c3cc3613a9f8f53c72fadf513beac5cbdf1f3877e36597b6a48 diff --git a/app-admin/clustershell/clustershell-1.9.3.ebuild b/app-admin/clustershell/clustershell-1.9.3.ebuild new file mode 100644 index 000000000000..386b0f217013 --- /dev/null +++ b/app-admin/clustershell/clustershell-1.9.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=ClusterShell +PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Python framework for efficient cluster administration" +HOMEPAGE=" + https://github.com/cea-hpc/clustershell/ + https://pypi.org/project/ClusterShell/ +" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + app-shells/pdsh + virtual/openssh + app-alternatives/bc + ) +" + +distutils_enable_tests unittest + +src_prepare() { + default + + # remove test sets that require working ssh connection + rm tests/{CLIClush,TaskDistant*}Test.py || die +} + +python_test() { + eunittest -s tests -p '*.py' +} + +src_install() { + distutils-r1_src_install + + mv "${ED}/usr/etc" "${ED}/etc" || die +} + +pkg_postinst() { + einfo "Some default system-wide config files have been installed into" + einfo "/etc/${PN}" +}
