mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
app-admin/clustershell: drop 1.9.2
Closes: https://bugs.gentoo.org/924601 Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
parent
2ad0e10437
commit
5bada51c9a
@ -1,2 +1 @@
|
||||
DIST ClusterShell-1.9.2.tar.gz 400880 BLAKE2B d10c78696268cabd001e1da1c28f1850d6b2fd9d20e73f9aeab378c855a0b937f32d706869e2d3fcdf109b2e98175abbec8f06fe0c6d2c4139d2da14f1c5b610 SHA512 852c9dcbe333965fa853e4360da7305c448dc037348ede18c0417d763e68d4bafad0a60480fce421f1815a86dd0a20e07d32fd8828aa185e7e1b88ed292014fc
|
||||
DIST ClusterShell-1.9.3.tar.gz 417135 BLAKE2B 8b70b1ef8b8a2c0f148cc35b23397d4ccff642b7921e09940143bdc74df7ac1f38ebd10a0cbaa4385803a4ee109908e8946fea0ac7f3d573011d0a81ea057a1e SHA512 80f32b629f652d412030936e345da93a0fb82859b00d6670d69546c87b6d317a6ea0910fbcfe3c3cc3613a9f8f53c72fadf513beac5cbdf1f3877e36597b6a48
|
||||
|
||||
@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2024 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? (
|
||||
!!>=dev-libs/expat-2.6.0
|
||||
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() {
|
||||
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}"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user