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$ Support NetBSD. --- kivy/clock.py.orig 2026-10-27 17:57:38.893708086 +0000 +++ kivy/clock.py @@@@ -531,7 +531,7 @@@@ try: # 12: CLOCK_MONOTONIC_FAST (FreeBSD specific) Logger.debug('clock.py: {{{:s}}} clock ID {:d}'.format( platform, _clockid)) - elif 'openbsd' in platform: + elif platform == 'openbsd' or platform.startswith('netbsd'): _clockid = 3 # CLOCK_MONOTONIC else: _clockid = 1 # CLOCK_MONOTONIC @