commit:     50cfc7ef0af975aef1e6121c16809ae253a6ac73
Author:     Itai Ferber <itai <AT> itaiferber <DOT> net>
AuthorDate: Mon Oct 13 16:00:03 2025 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Mon Oct 13 16:07:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=50cfc7ef

app-backup/b2: match upstream dependency versions

Updates both RDEPEND and DEPEND to match the upstream dependency ranges;
notably, b2 doesn't build with docutils-0.22 because it removes the
deprecated `docutils.utils.error_reporting` module (see [1]), and it was
pinned out in version 4.4.1. (There's an upstream issue tracking
this[2], but it has yet to be addressed.)

The versions specified for the `test` USE flag aren't an exact match for
upstream (`>=` instead of `~`) because most of the exact versions
specified no longer have ebuilds matching them.

[1] https://github.com/Backblaze/B2_Command_Line_Tool/issues/1101
[1] https://github.com/Backblaze/B2_Command_Line_Tool/issues/1103

Signed-off-by: Itai Ferber <itai <AT> itaiferber.net>

 app-backup/b2/b2-4.4.2.ebuild | 30 ++++++++++++++++++++++--------
 1 file changed, 22 insertions(+), 8 deletions(-)

diff --git a/app-backup/b2/b2-4.4.2.ebuild b/app-backup/b2/b2-4.4.2.ebuild
index a4b3396c62..84ba461aa9 100644
--- a/app-backup/b2/b2-4.4.2.ebuild
+++ b/app-backup/b2/b2-4.4.2.ebuild
@@ -26,22 +26,36 @@ export PDM_BUILD_SCM_VERSION=${PV}
 
 RDEPEND="
        $(python_gen_cond_dep '
-               >=dev-python/argcomplete-3.6.2[${PYTHON_USEDEP}]
-               >=dev-python/arrow-1.3.0[${PYTHON_USEDEP}]
-               >=dev-python/b2sdk-2.8.1[${PYTHON_USEDEP}]
-               >=dev-python/docutils-0.19[${PYTHON_USEDEP}]
-               >=dev-python/phx-class-registry-4.0.6[${PYTHON_USEDEP}]
-               >=dev-python/rst2ansi-0.1.5[${PYTHON_USEDEP}]
-               >=dev-python/tabulate-0.9.0[${PYTHON_USEDEP}]
+               >=dev-python/argcomplete-3.5.2[${PYTHON_USEDEP}]
+               <dev-python/argcomplete-4[${PYTHON_USEDEP}]
+               >=dev-python/arrow-1.0.2[${PYTHON_USEDEP}]
+               <dev-python/arrow-2[${PYTHON_USEDEP}]
+               >=dev-python/b2sdk-2.9.4[${PYTHON_USEDEP}]
+               <dev-python/b2sdk-3[${PYTHON_USEDEP}]
+               >=dev-python/docutils-0.18.1[${PYTHON_USEDEP}]
+               <dev-python/docutils-0.22[${PYTHON_USEDEP}]
+               >=dev-python/phx-class-registry-4.0[${PYTHON_USEDEP}]
+               <dev-python/phx-class-registry-5[${PYTHON_USEDEP}]
+               ~dev-python/rst2ansi-0.1.5[${PYTHON_USEDEP}]
+               ~dev-python/tabulate-0.9.0[${PYTHON_USEDEP}]
                >=dev-python/tqdm-4.65.0[${PYTHON_USEDEP}]
+               <dev-python/tqdm-5[${PYTHON_USEDEP}]
+               >=dev-python/platformdirs-3.11.0[${PYTHON_USEDEP}]
+               <dev-python/platformdirs-5[${PYTHON_USEDEP}]
        ')
 "
 
 DEPEND="
        test? (
                $(python_gen_cond_dep '
-                       >=dev-python/backoff-2.2.1[${PYTHON_USEDEP}]
+                       >=dev-python/coverage-7.2.7[${PYTHON_USEDEP}]
                        >=dev-python/pexpect-4.9.0[${PYTHON_USEDEP}]
+                       >=dev-python/pytest-8.3.3[${PYTHON_USEDEP}]
+                       >=dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
+                       >=dev-python/pytest-forked-1.6.0[${PYTHON_USEDEP}]
+                       >=dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}]
+                       >=dev-python/tenacity-8.2.3[${PYTHON_USEDEP}]
+                       >=dev-python/more-itertools-8.13.0[${PYTHON_USEDEP}]
                ')
        )
 "

Reply via email to