Сравнение gvm-tools-21.10.0-r1 с gvm-tools-23.9.0
/usr/portage/net-analyzer/gvm-tools/gvm-tools-23.9.0.ebuild 2023-10-09 14:52:33.316368447 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
PYTHON_COMPAT=( python3_{9..11} ) |
|
6 |
PYTHON_COMPAT=( python3_{10..11} ) |
|
7 | 7 |
DISTUTILS_USE_PEP517=poetry |
8 | 8 |
inherit distutils-r1 |
9 | 9 | |
... | ... | |
14 | 14 |
SLOT="0" |
15 | 15 |
LICENSE="GPL-3" |
16 | 16 |
KEYWORDS="~amd64 ~x86" |
17 |
IUSE="" |
|
18 | 17 | |
19 | 18 |
RDEPEND=" |
20 |
>=net-analyzer/python-gvm-21.11.0[${PYTHON_USEDEP}] |
|
21 |
!net-analyzer/openvas-cli |
|
22 |
!net-analyzer/openvas-tools |
|
19 |
>=net-analyzer/python-gvm-23.4.2[${PYTHON_USEDEP}] |
|
23 | 20 |
" |
24 | 21 |
DEPEND="${RDEPEND}" |
25 | 22 | |
26 | 23 |
distutils_enable_tests unittest |
27 | ||
28 |
src_prepare() { |
|
29 |
distutils-r1_src_prepare |
|
30 | ||
31 |
# Fixing tests |
|
32 |
# Use correct socket path |
|
33 |
sed -i "s/\/usr\/local\/var\/run\/gvmd.sock/\/var\/run\/gvmd.sock/g" tests/test_parser.py || die |
|
34 |
# ignore help formating |
|
35 |
sed -i "s/class HelpFormatting/@unittest.skip('ignoring help formatting')\nclass HelpFormatting/g" tests/test_parser.py || die |
|
36 |
} |