package/python-platformdirs: new package

Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fiona Klute (WIWA)
2025-08-11 18:18:06 +02:00
committed by Thomas Petazzoni
parent 38d3739b20
commit a8c7517320
5 changed files with 29 additions and 0 deletions

View File

@@ -1122,6 +1122,7 @@ F: package/panel-mipi-dbi-firmware/
F: package/python-aiomqtt/
F: package/python-markdown-it-py/
F: package/python-mdurl/
F: package/python-platformdirs/
F: package/python-pyasynchat/
F: package/python-pyasyncore/
F: support/testing/tests/package/sample_python_networkmanager_goi.py

View File

@@ -1272,6 +1272,7 @@ menu "External python modules"
source "package/python-pigpio/Config.in"
source "package/python-pillow/Config.in"
source "package/python-pip/Config.in"
source "package/python-platformdirs/Config.in"
source "package/python-pluggy/Config.in"
source "package/python-ply/Config.in"
source "package/python-portend/Config.in"

View File

@@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_PLATFORMDIRS
bool "python-platformdirs"
help
A small Python package for determining appropriate
platform-specific dirs, e.g. a "user data dir".
https://github.com/tox-dev/platformdirs

View File

@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/platformdirs/json
md5 90aef8202386996ce2e4b560a9f1d3e6 platformdirs-4.3.8.tar.gz
sha256 3d512d96e16bcb959a814c9f348431070822a6496326a4be0911c40b5a74c2bc platformdirs-4.3.8.tar.gz
# Locally computed sha256 checksums
sha256 29e0fd62e929850e86eb28c3fdccf0cefdf4fa94879011cffb3d0d4bed6d4db6 LICENSE

View File

@@ -0,0 +1,15 @@
################################################################################
#
# python-platformdirs
#
################################################################################
PYTHON_PLATFORMDIRS_VERSION = 4.3.8
PYTHON_PLATFORMDIRS_SOURCE = platformdirs-$(PYTHON_PLATFORMDIRS_VERSION).tar.gz
PYTHON_PLATFORMDIRS_SITE = https://files.pythonhosted.org/packages/fe/8b/3c73abc9c759ecd3f1f7ceff6685840859e8070c4d947c93fae71f6a0bf2
PYTHON_PLATFORMDIRS_SETUP_TYPE = hatch
PYTHON_PLATFORMDIRS_LICENSE = MIT
PYTHON_PLATFORMDIRS_LICENSE_FILES = LICENSE
PYTHON_PLATFORMDIRS_DEPENDENCIES = host-python-hatch-vcs
$(eval $(python-package))