summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-06-27 20:26:25 -0400
committerSam James <sam@gentoo.org>2024-06-28 01:59:44 +0100
commit15e9e9a9e7fc0b74a9dc3d386ebc402b876fba02 (patch)
tree7f1f0877986b97692143fb10f16c9eaa89d75f4e /net-analyzer/greenbone-feed-sync
parentnet-analyzer/notus-scanner: fix overdependency on tomli (diff)
downloadgentoo-15e9e9a9e7fc0b74a9dc3d386ebc402b876fba02.tar.gz
gentoo-15e9e9a9e7fc0b74a9dc3d386ebc402b876fba02.tar.bz2
gentoo-15e9e9a9e7fc0b74a9dc3d386ebc402b876fba02.zip
net-analyzer/greenbone-feed-sync: fix mysterious overdependency on tomli
Since the original implementation of config file parsing, which introduced a dependency on tomli, that dependency was conditional on python <3.11, and used the stdlib tomllib where possible: https://github.com/greenbone/greenbone-feed-sync/commit/25c50918e337c2bd77f277e6a946a46715656eec And similarly reflected in the commit that added it as a dependency: https://github.com/greenbone/greenbone-feed-sync/commit/e9d729030f1066c0bf9a273fc8d7b4397cd5dde0 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/greenbone-feed-sync')
-rw-r--r--net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild (renamed from net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild)4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild
index a29bec692a29..c5178e60a3c3 100644
--- a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild
+++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild
@@ -20,7 +20,9 @@ COMMON_DEPEND="
acct-user/gvm
net-misc/rsync
>=net-analyzer/gvmd-22.5.0
- >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ >dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
+ ' 3.10)
>=dev-python/rich-13.2.0[${PYTHON_USEDEP}]
>=dev-python/shtab-1.7.0[${PYTHON_USEDEP}]
"