Browse Source

python3-typing-inspection: Add recipe

This is needed by new versions of lief and pydantic python modules

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj 2 months ago
parent
commit
52138d7faf

+ 1 - 0
meta-python/conf/include/ptest-packagelists-meta-python.inc

@@ -84,6 +84,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-tomlkit \
     python3-trustme \
     python3-typeguard \
+    python3-typing-inspection \
     python3-tzdata \
     python3-ujson \
     python3-u-msgpack-python \

+ 15 - 0
meta-python/recipes-devtools/python/python3-typing-inspection_0.4.0.bb

@@ -0,0 +1,15 @@
+SUMMARY = "Runtime typing introspection tools"
+HOMEPAGE = "https://github.com/pydantic/typing-inspection"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=07cbaa23fc9dd504fc1ea5acc23b0add"
+
+DEPENDS = "python3-hatchling-native"
+SRC_URI[sha256sum] = "9765c87de36671694a67904bf2c96e395be9c6439bb6c87b5142569dcdd65122"
+
+inherit pypi python_hatchling ptest-python-pytest
+
+RDEPENDS:${PN}-ptest += "python3-typing-extensions"
+
+PYPI_PACKAGE = "typing_inspection"
+
+BBCLASSEXTEND += "native nativesdk"