head 1.3; access; symbols pkgsrc-2026Q3:1.1.0.2 pkgsrc-2026Q3-base:1.1; locks; strict; comment @# @; 1.3 date 2026.10.12.09.14.10; author adam; state Exp; branches; next 1.2; commitid er4N0rBuGN1ctaZG; 1.2 date 2026.10.03.09.20.18; author adam; state Exp; branches; next 1.1; commitid EWqVQ7HNHOglN0YG; 1.1 date 2026.08.28.10.34.23; author adam; state Exp; branches; next ; commitid H17WPeuh3bjmmoTG; desc @@ 1.3 log @py-nest-asyncio2: updated to 1.7.4 1.7.4 fix: run_until_complete() manage_asyncgens() Fix async generator hooks are not called during run() (but only in run_forever()), and can't get finalized. fix: manage_asyncgens() broken on Python 3.5 Fix run_forever() is broken on Python 3.5. @ text @# $NetBSD: Makefile,v 1.2 2026/10/03 09:20:18 adam Exp $ DISTNAME= nest_asyncio2-1.7.4 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=n/nest-asyncio2/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/Chaoses-Ib/nest-asyncio2 COMMENT= Patch asyncio to allow nested event loops LICENSE= modified-bsd TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=3.4.3:../../devel/py-setuptools_scm USE_LANGUAGES= # none .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.2 log @py-nest-asyncio2: updated to 1.7.3 1.7.3 Fix context may be re-entered and cause RuntimeError: cannot enter context @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2026/08/28 10:34:23 adam Exp $ d3 1 a3 1 DISTNAME= nest_asyncio2-1.7.3 @ 1.1 log @py-nest-asyncio2: added version 1.7.2 nest-asyncio2 is a fork of the unmaintained nest_asyncio, with the following changes: Support setting run_close_loop to avoid leaked event loop. Python 3.12 support loop_factory parameter support Python 3.14 support Fix broken asyncio.current_task() and others Fix DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16 To avoid potential bugs, apply() will warn if asyncio is already patched by nest_asyncio on Python 3.12+. You can also set error_on_mispatched=True to turn the warning into a RuntimeError, regardless of the Python version. There is no behavior change on Python < 3.12. All interfaces are kept as they are. To migrate, you just need to change the package and module name to nest_asyncio2. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2025/04/12 12:08:14 adam Exp $ d3 1 a3 1 DISTNAME= nest_asyncio2-1.7.2 @