From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/clustershell/
Date: Sat, 30 Sep 2023 18:12:00 +0000 (UTC) [thread overview]
Message-ID: <1696097515.db4563ee526564b78e2b9a1c02ea5c84e93a06c5.arthurzam@gentoo> (raw)
commit: db4563ee526564b78e2b9a1c02ea5c84e93a06c5
Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Sat Sep 30 06:42:56 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 30 18:11:55 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db4563ee
app-admin/clustershell: add 1.9.2
- Switch to PyPI sources
- Enable py3.12
- Move RDEPEND before BDEPEND, which is more common ordering.
- Use unittest module instead of unittest_or_fail for py3.12, where
unittest_or_fail does not exist.
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-admin/clustershell/Manifest | 1 +
app-admin/clustershell/clustershell-1.9.2.ebuild | 58 ++++++++++++++++++++++++
2 files changed, 59 insertions(+)
diff --git a/app-admin/clustershell/Manifest b/app-admin/clustershell/Manifest
index 4f24250d57e5..fc0275cc9a2c 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.1.gh.tar.gz 383917 BLAKE2B 90d8c8390453a2c843bbb909a741d24d5f8e4b8eb03631bbe81b98973fce95d96dd3e68d0b951bc23d067057222c858e5041a3bafde200e0e2d14a0be995689f SHA512 32ee8b43d92e7ada8c81facc6a0609c39beee9189fa6fb9c2237387a58134f99fb2e6ab6e5de35c8e6fc8d3cef57f74f4c08b14968484546859071dff2594eb1
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..b232e41774fa
--- /dev/null
+++ b/app-admin/clustershell/clustershell-1.9.2.ebuild
@@ -0,0 +1,58 @@
+# 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/"
+
+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}"
+}
next reply other threads:[~2023-09-30 18:12 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-30 18:12 Arthur Zamarin [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-18 15:39 [gentoo-commits] repo/gentoo:master commit in: app-admin/clustershell/ Petr Vaněk
2025-02-25 7:28 Sam James
2025-01-25 10:22 Petr Vaněk
2024-09-04 15:01 Sebastian Pipping
2023-12-04 12:36 Petr Vaněk
2023-10-31 0:06 Sam James
2023-09-30 18:12 Arthur Zamarin
2023-07-12 7:00 Sam James
2023-03-31 7:14 Joonas Niilola
2023-02-25 11:03 Joonas Niilola
2023-01-07 18:09 Arthur Zamarin
2022-12-06 11:51 Sam James
2022-12-06 9:45 Sam James
2022-12-06 9:45 Sam James
2022-10-04 11:51 Sam James
2021-11-19 18:25 Patrice Clement
2021-11-19 18:25 Patrice Clement
2021-04-29 19:20 Mikle Kolyada
2020-06-20 8:43 Patrice Clement
2020-06-20 8:43 Patrice Clement
2020-06-20 8:43 Patrice Clement
2019-02-16 9:45 Pacho Ramos
2019-02-15 18:09 Mikle Kolyada
2017-05-11 12:54 Manuel Rüger
2016-03-21 21:38 Anthony G. Basile
2015-12-26 0:54 Anthony G. Basile
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1696097515.db4563ee526564b78e2b9a1c02ea5c84e93a06c5.arthurzam@gentoo \
--to=arthurzam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox