Diff clustershell-1.9.1-r1 with a clustershell-1.9.2

/usr/portage/app-admin/clustershell/clustershell-1.9.2.ebuild 2023-10-09 14:52:28.140368316 +0300
4 4
EAPI=8
5 5

  
6 6
DISTUTILS_USE_PEP517=setuptools
7
PYTHON_COMPAT=( python3_{9..11} )
7
PYPI_NO_NORMALIZE=1
8
PYPI_PN=ClusterShell
9
PYTHON_COMPAT=( python3_{10..12} )
8 10
PYTHON_REQ_USE="xml(+)"
9 11

  
10
inherit distutils-r1
12
inherit distutils-r1 pypi
11 13

  
12 14
DESCRIPTION="Python framework for efficient cluster administration"
13
HOMEPAGE="https://github.com/cea-hpc/clustershell/"
14
SRC_URI="
15
	https://github.com/cea-hpc/clustershell/archive/v${PV}.tar.gz
16
		-> ${P}.gh.tar.gz
15
HOMEPAGE="
16
	https://github.com/cea-hpc/clustershell/
17
	https://pypi.org/project/ClusterShell/
17 18
"
18 19

  
19 20
LICENSE="LGPL-2.1+"
20 21
SLOT="0"
21
KEYWORDS="amd64 ~x86"
22
KEYWORDS="~amd64 ~x86"
22 23

  
24
RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
23 25
BDEPEND="
24 26
	test? (
25 27
		app-shells/pdsh
......
28 30
	)
29 31
"
30 32

  
31
RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
32

  
33 33
distutils_enable_tests unittest
34 34

  
35 35
src_prepare() {
......
41 41

  
42 42
python_test() {
43 43
	cd tests || die
44
	local runner=unittest_or_fail
45
	if [[ ${EPYTHON} == python3.12 ]]; then
46
		runner=unittest
47
	fi
44 48
	# Automatic discovery does not work
45
	"${EPYTHON}" -m unittest_or_fail -v *.py || die "Tests failed with ${EPYTHON}"
49
	"${EPYTHON}" -m "${runner}" -v *.py || die "Tests failed with ${EPYTHON}"
46 50
}
47 51

  
48 52
src_install() {
Thank you!