commit:     f1df6368043cabffb9eb5cf97cc852ff0331db45
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Fri Jun 28 00:14:17 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 28 00:59:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1df6368

net-analyzer/notus-scanner: fix overdependency on tomli

Since 22.5.0, it has supported using the stdlib tomllib when available:

https://github.com/greenbone/notus-scanner/commit/73f429133f0f07855d4d0731b6547bc8d672b482

The versioned dependency is poetry semver paranoia. tomli is a stdlib
backport and will remain compatible with the stdlib (presumably by never
bumping to "semver major 3"). But don't argue since it was already in
the ebuild.

In principle, this overdependency could be fixed for 22.6.2 as well, but
going through stabilization for that isn't worth it. This version is
upcoming anyway.

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{notus-scanner-22.6.3.ebuild => notus-scanner-22.6.3-r1.ebuild}   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/notus-scanner/notus-scanner-22.6.3.ebuild 
b/net-analyzer/notus-scanner/notus-scanner-22.6.3-r1.ebuild
similarity index 96%
rename from net-analyzer/notus-scanner/notus-scanner-22.6.3.ebuild
rename to net-analyzer/notus-scanner/notus-scanner-22.6.3-r1.ebuild
index c14414c68226..9ac39d6372b9 100644
--- a/net-analyzer/notus-scanner/notus-scanner-22.6.3.ebuild
+++ b/net-analyzer/notus-scanner/notus-scanner-22.6.3-r1.ebuild
@@ -22,7 +22,9 @@ DEPEND="
        >=dev-python/python-gnupg-0.5.1[${PYTHON_USEDEP}]
        <dev-python/packaging-24.1[${PYTHON_USEDEP}]
        >=dev-python/paho-mqtt-1.5.1[${PYTHON_USEDEP}]
-       <dev-python/tomli-3[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               <dev-python/tomli-3[${PYTHON_USEDEP}]
+       ' 3.10)
 "
 
 RDEPEND="

Reply via email to