head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.10.28.05.09.43; author wiz; state Exp; branches; next ; commitid 83edb8H5rUQ7Bc1H; desc @@ 1.1 log @py-kivy: improve NetBSD support Based on https://codeberg.org/gnuhealth/mygnuhealth/wiki/MyGNUHealth-on-NetBSD-with-Kivy-Python While here, pull in upstream changes to fix compatibility with latest pytest-asyncio, and get the test suite to run. Bump PKGREVISION. @ text @$NetBSD$ https://github.com/kivy/kivy/commit/122596b656304aef81b53de2aebfc53bd24f0ecc --- kivy/tests/common.py.orig 2026-10-28 04:29:19.784039385 +0000 +++ kivy/tests/common.py @@@@ -498,7 +498,10 @@@@ def async_run(func=None, app_cls_func=None): if kivy_eventloop == 'asyncio': try: import pytest_asyncio - return pytest.mark.asyncio(pytest_asyncio.fixture(func)) + # In pytest 9, marks on fixtures have no effect. + # We only need to mark the async test function, + # not turn it into a fixture. + return pytest.mark.asyncio(func) except ImportError: return pytest.mark.skip( reason='KIVY_EVENTLOOP == "asyncio" but ' @