diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-30 23:41:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-30 23:41:12 +0100 |
commit | acc3fd0021f478ed04cb72c7b46bc0d6fa315f29 (patch) | |
tree | 8726e6e532ae9df92dbcd93251f90014a3df99a2 /app-admin | |
parent | 3c78a1ce7924fbf571e133e697f8a29e18d2bf4b (diff) |
gentoo auto-resync : 30:09:2023 - 23:41:11
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/Manifest.gz | bin | 31694 -> 31686 bytes | |||
-rw-r--r-- | app-admin/clustershell/Manifest | 4 | ||||
-rw-r--r-- | app-admin/clustershell/clustershell-1.9.2.ebuild | 61 | ||||
-rw-r--r-- | app-admin/clustershell/metadata.xml | 1 |
4 files changed, 65 insertions, 1 deletions
diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz Binary files differindex dc42a923e826..33c7b6bf5bc1 100644 --- a/app-admin/Manifest.gz +++ b/app-admin/Manifest.gz diff --git a/app-admin/clustershell/Manifest b/app-admin/clustershell/Manifest index 2e36c8439d2e..73970c72eef6 100644 --- a/app-admin/clustershell/Manifest +++ b/app-admin/clustershell/Manifest @@ -1,3 +1,5 @@ +DIST ClusterShell-1.9.2.tar.gz 400880 BLAKE2B d10c78696268cabd001e1da1c28f1850d6b2fd9d20e73f9aeab378c855a0b937f32d706869e2d3fcdf109b2e98175abbec8f06fe0c6d2c4139d2da14f1c5b610 SHA512 852c9dcbe333965fa853e4360da7305c448dc037348ede18c0417d763e68d4bafad0a60480fce421f1815a86dd0a20e07d32fd8828aa185e7e1b88ed292014fc DIST clustershell-1.9.1.gh.tar.gz 383917 BLAKE2B 90d8c8390453a2c843bbb909a741d24d5f8e4b8eb03631bbe81b98973fce95d96dd3e68d0b951bc23d067057222c858e5041a3bafde200e0e2d14a0be995689f SHA512 32ee8b43d92e7ada8c81facc6a0609c39beee9189fa6fb9c2237387a58134f99fb2e6ab6e5de35c8e6fc8d3cef57f74f4c08b14968484546859071dff2594eb1 EBUILD clustershell-1.9.1-r1.ebuild 1132 BLAKE2B 37edb8ab47a6a48da13346a8828cfa96ebb5424821ca5516bfd7cc1484d0a09be213f9e0e2680b228278c0e4bec0ad3fc7156654713f75e5d3319657ac5ee792 SHA512 a3a788750c5e1279d1a7bc11f4dfb8ebf9898eaba002860e5cabbef48731b3402061aa0ddd9d844769f3aa115664ca7dcc8646282c772ae76cba0e221ef26bb9 -MISC metadata.xml 610 BLAKE2B 1baa68f298ccc1117524968f3ddef220f068e876cfe8d6e5243a5f3144bfa8db21aa93bdb92efd3e7082c0e32b2747d2b544687114b09b78f823636d9b9be5b7 SHA512 0e4a89c4ea24577e065ed6b1a5714cfabea0a3452d546a16824608d2fdbc97ac39fb43d49c7adb279342a774b6719d52707b54091fc30326cbef14755fc04e0f +EBUILD clustershell-1.9.2.ebuild 1216 BLAKE2B 50c9fc3cf904531c9755ce10e702b292435a957de681db8adbb59c40aaf06a11bd95a938d320f97cd16057126e592a5e567a9f2eff5d58824255be3a80a2c47a SHA512 b6dad5db33fee9595bc99fcc4ae89dcf1d309122f24ccb7e5f6df5c18c45a4f3e91c984113280b0fbd1ede28ae015e2936a868ecc2cb14dacb744986c47be779 +MISC metadata.xml 662 BLAKE2B 770b9bf9920b397300edc4be7a5d34c2f80c7236fb9ce49945da08fa2db3becc417287ad99c7b53efad4f3f071f9a05418f104fc5ad2173ade93b8e68870b78d SHA512 b27af126357a4c407816918fd0c2d54a3bfbde8e4cfc9d8bcb8f22727fc4bfcd0d4a77f02d353de6d5bddb9311cbb0545f7b8be693a211f9552188b93d1c2b31 diff --git a/app-admin/clustershell/clustershell-1.9.2.ebuild b/app-admin/clustershell/clustershell-1.9.2.ebuild new file mode 100644 index 000000000000..0b271c000c88 --- /dev/null +++ b/app-admin/clustershell/clustershell-1.9.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 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..12} ) +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 + sys-devel/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() { + cd tests || die + local runner=unittest_or_fail + if [[ ${EPYTHON} == python3.12 ]]; then + runner=unittest + fi + # Automatic discovery does not work + "${EPYTHON}" -m "${runner}" -v *.py || die "Tests failed with ${EPYTHON}" +} + +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}" +} diff --git a/app-admin/clustershell/metadata.xml b/app-admin/clustershell/metadata.xml index e2b4026b0bf5..b5460834c007 100644 --- a/app-admin/clustershell/metadata.xml +++ b/app-admin/clustershell/metadata.xml @@ -14,6 +14,7 @@ <name>Proxy Maintainers</name> </maintainer> <upstream> + <remote-id type="pypi">ClusterShell</remote-id> <remote-id type="github">cea-hpc/clustershell</remote-id> </upstream> </pkgmetadata> |