commit:     d01709f3a9ac2649a5267fa06274b1535ef936eb
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Wed Jun 26 03:30:05 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 26 09:03:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d01709f3

app-misc/check-jsonschema: fix overdependency on tomli

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

https://github.com/python-jsonschema/check-jsonschema/commit/615ff8a11cfb2e00a42ab7d13350ddf82d474841

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

 ...eck-jsonschema-0.28.4.ebuild => check-jsonschema-0.28.4-r1.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-misc/check-jsonschema/check-jsonschema-0.28.4.ebuild 
b/app-misc/check-jsonschema/check-jsonschema-0.28.4-r1.ebuild
similarity index 95%
rename from app-misc/check-jsonschema/check-jsonschema-0.28.4.ebuild
rename to app-misc/check-jsonschema/check-jsonschema-0.28.4-r1.ebuild
index 6a978782fceb..7bd7ebde5d74 100644
--- a/app-misc/check-jsonschema/check-jsonschema-0.28.4.ebuild
+++ b/app-misc/check-jsonschema/check-jsonschema-0.28.4-r1.ebuild
@@ -24,7 +24,9 @@ RDEPEND="
        dev-python/regress[${PYTHON_USEDEP}]
        dev-python/requests[${PYTHON_USEDEP}]
        dev-python/click[${PYTHON_USEDEP}]
-       dev-python/tomli[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/tomli[${PYTHON_USEDEP}]
+       ' 3.10)
 "
 BDEPEND="
        test? (

Reply via email to