summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@gentoo.org>2025-01-25 11:02:00 +0100
committerPetr Vaněk <arkamar@gentoo.org>2025-01-25 11:20:59 +0100
commit825b65226aee50ce3a1e30ae33d521f2c08ec8e4 (patch)
tree3cd526c1d2471c87e2dd292d8f1bb855d6e296f7 /app-admin/clustershell
parentdev-python/elastic-transport: Remove old (diff)
downloadgentoo-825b65226aee50ce3a1e30ae33d521f2c08ec8e4.tar.gz
gentoo-825b65226aee50ce3a1e30ae33d521f2c08ec8e4.tar.bz2
gentoo-825b65226aee50ce3a1e30ae33d521f2c08ec8e4.zip
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@gentoo.org>
Diffstat (limited to 'app-admin/clustershell')
-rw-r--r--app-admin/clustershell/Manifest1
-rw-r--r--app-admin/clustershell/clustershell-1.9.3.ebuild55
2 files changed, 56 insertions, 0 deletions
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}"
+}