new file mode 100644
@@ -0,0 +1,21 @@
+SUMMARY = "Pure python implementation of magic file detection"
+DESCRIPTION = "puremagic identifies a file by its magic numbers, like \
+libmagic, but in pure Python without external dependencies."
+HOMEPAGE = "https://github.com/cdgriffith/puremagic"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ac85ec1f210835a5806bc00df0be30d7"
+
+SRC_URI[sha256sum] = "b54e4a69dd37c50bacc879380f132382ab4e9a935529628c8975abcc73e10640"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += "python3-setuptools-scm-native"
+
+RDEPENDS:${PN} += " \
+ python3-compression \
+ python3-core \
+ python3-json \
+ python3-netclient \
+"
+
+BBCLASSEXTEND = "native nativesdk"
puremagic identifies files by their magic numbers, like libmagic, in pure Python. psutils 3 uses it to tell PDF from PostScript input. setuptools build with setuptools-scm for the version. Native variant is needed because psutils imports it while generating man pages. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> --- .../python/python3-puremagic_2.3.0.bb | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-puremagic_2.3.0.bb