python-platformdirs: bump to 4.9.4

Changelog: https://github.com/platformdirs/platformdirs/blob/main/CHANGELOG.md
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
Alexandru Ardelean
2026-04-01 12:37:35 +03:00
committed by Alexandru Ardelean
parent 68d15d9821
commit 22a7482758
2 changed files with 5 additions and 3 deletions

View File

@@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=python-platformdirs
PKG_VERSION:=4.1.0
PKG_VERSION:=4.9.4
PKG_RELEASE:=1
PYPI_NAME:=platformdirs
PKG_HASH:=906d548203468492d432bcb294d4bc2fff751bf84971fbb2c10918cc206ee420
PKG_HASH:=1ec356301b7dc906d83f371c8f487070e99d3ccf9e501686456394622a01a934
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE

View File

@@ -18,7 +18,9 @@ assert user_pictures_dir() == '/root/Pictures'
assert user_videos_dir() == '/root/Videos'
assert user_music_dir() == '/root/Music'
assert user_desktop_dir() == '/root/Desktop'
assert user_runtime_dir(appname, appauthor) == '/run/user/0/SuperApp'
# user_runtime_dir falls back to /tmp/runtime-{uid}/... if /run/user/{uid} is not writable
runtime_dir = user_runtime_dir(appname, appauthor)
assert 'SuperApp' in runtime_dir
assert site_data_dir(appname, appauthor) == '/usr/local/share/SuperApp'
assert site_data_dir(appname, appauthor, multipath=True) == '/usr/local/share/SuperApp:/usr/share/SuperApp'