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/core/text/__init__.py.orig 2026-10-27 17:58:45.353122636 +0000 +++ kivy/core/text/__init__.py @@@@ -433,6 +433,11 @@@@ class LabelBase(object): '/usr/share/fonts', '/usr/local/share/fonts', os.path.expanduser('~/.fonts'), os.path.expanduser('~/.local/share/fonts')] + elif platform == 'netbsd': + fdirs = [ + '/usr/X11R7/lib/X11/fonts', '@@PREFIX@@/share/fonts/X11', + os.path.expanduser('~/.fonts'), + os.path.expanduser('~/.local/share/fonts')] elif platform == 'macosx': fdirs = ['/Library/Fonts', '/System/Library/Fonts', os.path.expanduser('~/Library/Fonts')] @