deleted file mode 100644
@@ -1,14 +0,0 @@
-SUMMARY = "Send file to trash natively under Mac OS X, Windows and Linux"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a02659c2d5f4cc626e4dcf6504b865eb"
-
-inherit pypi python_setuptools_build_meta ptest-python-pytest
-
-SRC_URI += "file://run-ptest"
-SRC_URI[sha256sum] = "1c72b39f09457db3c05ce1d19158c2cbef4c32b8bedd02c155e49282b7ea7459"
-
-
-RDEPENDS:${PN} += "\
- python3-io \
- python3-datetime \
-"
new file mode 100644
@@ -0,0 +1,19 @@
+SUMMARY = "Send file to trash natively under Mac OS X, Windows and Linux"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=05faa35ba1ca10b723f19d286c9d5237"
+
+inherit pypi python_setuptools_build_meta ptest-python-pytest
+
+SRC_URI += "file://run-ptest"
+SRC_URI[sha256sum] = "e0ac412073f7984288908d9d8b8d13c82be69a615bb513d948fa2f053447970a"
+
+# the macOS backend selection tests run send2trash/mac/__init__.py from the
+# source tree, which isn't installed
+do_install_ptest:append() {
+ rm -f ${D}${PTEST_PATH}/tests/test_plat_mac.py
+}
+
+RDEPENDS:${PN} += "\
+ python3-io \
+ python3-datetime \
+"
Drop tests/test_plat_mac.py from the ptest; it runs send2trash/mac/__init__.py from the source tree, which isn't installed. License-Update: Line endings only. Changes: - Security: fix path traversal on file restoration due to incorrect path when trashing (CVE-2026-55788, GHSA-fgv9-r74r-hqmx). - Handle unavailable macOS version during backend selection. - Resolve symlinked home directories when choosing the trash device. - Improve legacy Windows error diagnostics; more Python 2 cleanup. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> --- .../send2trash/python3-send2trash_2.1.0.bb | 14 -------------- .../send2trash/python3-send2trash_2.2.0.bb | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 14 deletions(-) delete mode 100644 meta-python/recipes-extended/send2trash/python3-send2trash_2.1.0.bb create mode 100644 meta-python/recipes-extended/send2trash/python3-send2trash_2.2.0.bb