summaryrefslogtreecommitdiff
path: root/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs_4.13.5.bb
diff options
context:
space:
mode:
Diffstat (limited to 'upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs_4.13.5.bb')
-rw-r--r--upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs_4.13.5.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs_4.13.5.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs_4.13.5.bb
new file mode 100644
index 0000000000..a5bb41f283
--- /dev/null
+++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs_4.13.5.bb
@@ -0,0 +1,25 @@
+SUMMARY = "A small Python module for determining appropriate platform-specific dirs"
+HOMEPAGE = "https://github.com/platformdirs/platformdirs"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a"
+
+SRC_URI[sha256sum] = "05831adf87d392760f4b5c3a0a95579ab5a10b18b9b9bd43680dcb47544788a0"
+
+inherit pypi python_hatchling ptest-python-pytest
+
+SRC_URI += "file://run-ptest \
+ file://0001-test-unix-use-host-strerror-in-warning-tests-630.patch \
+ "
+
+DEPENDS += " \
+ python3-hatch-vcs-native \
+"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-appdirs \
+ python3-covdefaults \
+ python3-pytest-cov \
+ python3-pytest-mock \
+"
+
+BBCLASSEXTEND = "native nativesdk"