public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/clustershell/
Date: Tue,  6 Dec 2022 09:45:18 +0000 (UTC)	[thread overview]
Message-ID: <1670319908.69df4a3fff49a191e6e9a981c472cca9e3e438e7.sam@gentoo> (raw)

commit:     69df4a3fff49a191e6e9a981c472cca9e3e438e7
Author:     Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Sun Nov 27 15:16:32 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec  6 09:45:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69df4a3f

app-admin/clustershell: add 1.9

Patches are not needed anymore. Upstream have fixed reported issue [1]
and also worked in conditional unittest skips for hostname set to
localhost [2], thus TreeWrokerTest.py does not need to be removed in
prepare phase.

[1] https://github.com/cea-hpc/clustershell/issues/488
[2] https://github.com/cea-hpc/clustershell/commit/aae7bc7ed0e25f612e2adf95d28ae909346a8d53

Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-admin/clustershell/Manifest                |  1 +
 app-admin/clustershell/clustershell-1.9.ebuild | 59 ++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/app-admin/clustershell/Manifest b/app-admin/clustershell/Manifest
index d0d4d2bb3011..51e3fee161e3 100644
--- a/app-admin/clustershell/Manifest
+++ b/app-admin/clustershell/Manifest
@@ -1 +1,2 @@
 DIST clustershell-1.8.4.gh.tar.gz 367622 BLAKE2B 1487697a49d37902f9763094da1a156f5e7cc2ab0487814207bb9da03b1109f1ce55034fc92e72262d4b9920d5c52b9f6de84ce1ff04b06d042b0a6d005f1049 SHA512 582393e56d94e62e126d91f8af074a7b57d0e781a5c929cfc374e61324c412c32fcf9a8e063a78cb805c2ff34641887a1adfc7ef9f377b881077f719dbc2adc3
+DIST clustershell-1.9.gh.tar.gz 382574 BLAKE2B 031eb9683db330f3b90ac06fa9a0409ea72c1be3d83c8d0519e0080ead715386043c925a6dbaeafdb38351c54f1508c050279603cd81bc2de60ba2df5733f636 SHA512 9eb4e9663a6381fa27311d1d70002ba64066ee6e2e08aaf772974d8097c6ca2d020563fc8478064e76bc6e56d37ed7eefc2919db99a2f5b26bd878fa7b764a15

diff --git a/app-admin/clustershell/clustershell-1.9.ebuild b/app-admin/clustershell/clustershell-1.9.ebuild
new file mode 100644
index 000000000000..4524a4f95ed9
--- /dev/null
+++ b/app-admin/clustershell/clustershell-1.9.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Python framework for efficient cluster administration"
+HOMEPAGE="https://github.com/cea-hpc/clustershell/"
+SRC_URI="
+	https://github.com/cea-hpc/clustershell/archive/v${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+	test? (
+		app-shells/pdsh
+		net-misc/openssh
+		sys-devel/bc
+	)
+"
+
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
+
+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
+	# Automatic discovery does not work
+	"${EPYTHON}" -m unittest_or_fail -v *.py || die "Tests failed with ${EPYTHON}"
+}
+
+src_install() {
+	distutils-r1_src_install
+
+	doman doc/man/man*/*
+
+	mv "${ED}/usr/etc" "${ED}/etc" || die
+}
+
+pkg_postinst() {
+	einfo "Some default system-wide config files have been installed into"
+	einfo "/etc/${PN}"
+}


             reply	other threads:[~2022-12-06  9:45 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-06  9:45 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-04 15:01 [gentoo-commits] repo/gentoo:master commit in: app-admin/clustershell/ 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-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-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=1670319908.69df4a3fff49a191e6e9a981c472cca9e3e438e7.sam@gentoo \
    --to=sam@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