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@itaiferber.net>
This commit is contained in:
Itai Ferber
2025-10-13 12:00:03 -04:00
parent 02bea0f1fc
commit 50cfc7ef0a

View File

@@ -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}]
')
)
"