Created attachment 260722 [details] wait-for2.patch Description: wait_for2 is an alternate implementation of asyncio.wait_for(). It handles several edge cases like simultaneous cancellation of wait and completion of future differently and consistently across Python versions 3.7+. WWW: https://github.com/Traktormaster/wait-for2 QA: * portlint: - WARN: Makefile: using hyphen in PORTNAME. consider using PKGNAMEPREFIX and/or PKGNAMESUFFIX. * testport: OK (poudriere: 14.2-RELEASE, amd64)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=39e75f7802a14126715b2a70007dc107c9954f0b commit 39e75f7802a14126715b2a70007dc107c9954f0b Author: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org> AuthorDate: 2025-05-27 22:03:23 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2025-05-27 22:14:43 +0000 devel/py-wait-for2: New port: Handle simultaneous cancellation and future completion Alternate implementation of asyncio.wait_for(). It handles several edge cases like simultaneous cancellation of wait and completion of future differently and consistently across Python versions 3.7+. https://github.com/Traktormaster/wait-for2 Required for www/py-nicegui 2.18.0. PR: 287082 devel/Makefile | 1 + devel/py-wait-for2/Makefile (new) | 21 +++++++++++++++++++++ devel/py-wait-for2/distinfo (new) | 3 +++ devel/py-wait-for2/pkg-descr (new) | 4 ++++ 4 files changed, 29 insertions(+)
Thanks.