commit:     0c4b67154e56913f1f3701e47abf64f6f39e9bba
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 20 06:24:20 2024 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Fri Sep 20 07:03:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c4b6715

net-im/synapse: add legacy-cgi rdep for py3.13

Synapse uses cgi module, which was removed from py3.13. The package is
py3.13 enabled and everything worked because legacy-cgi runtime
dependency was indirectly installed as a dependency of treq. The treq
was recently release with official py3.13 support and it no longer needs
the legacy-cgi, which triggered the error with missing cgi module.
The synapse needs to depend on legacy-cgi directly anyway.

Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 net-im/synapse/{synapse-1.115.0.ebuild => synapse-1.115.0-r1.ebuild} | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-im/synapse/synapse-1.115.0.ebuild 
b/net-im/synapse/synapse-1.115.0-r1.ebuild
similarity index 98%
rename from net-im/synapse/synapse-1.115.0.ebuild
rename to net-im/synapse/synapse-1.115.0-r1.ebuild
index 80fa2041d2b9..fa9b1d7b51fa 100644
--- a/net-im/synapse/synapse-1.115.0.ebuild
+++ b/net-im/synapse/synapse-1.115.0-r1.ebuild
@@ -159,6 +159,9 @@ RDEPEND="
        dev-python/twisted[${PYTHON_USEDEP}]
        dev-python/typing-extensions[${PYTHON_USEDEP}]
        dev-python/unpaddedbase64[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/legacy-cgi[${PYTHON_USEDEP}]
+       ' 3.13)
        postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
        systemd? ( dev-python/python-systemd[${PYTHON_USEDEP}] )
 "

Reply via email to