meta-openembedded/meta-oe/recipes-connectivity/libtorrent-rasterbar/files/0001-Fix-Python3-site-packages-path-to-fix-package-QA-Iss.patch
Liu Yiding 96fdcdd16a
libtorrent-rasterbar: upgrade 2.0.11 -> 2.0.12
1.Changelog
  https://github.com/arvidn/libtorrent/releases/tag/v2.0.12

2. Add 0001-Fix-Python3-site-packages-path-to-fix-package-QA-Iss.patch to fix package QA Issue:
libtorrent-rasterbar-2.0.12-r0 do_package: QA Issue: libtorrent-rasterbar: Files/directories were installed but not shipped in any package:
  /lib/python3.14/site-packages/libtorrent.so

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-01 13:16:40 -07:00

28 lines
979 B
Diff

Subject: [PATCH] Fix Python3 site packages path to fix package QA Issue
libtorrent-rasterbar-2.0.12-r0 do_package: QA Issue: libtorrent-rasterbar: Files/directories were installed but not shipped in any package:
/lib/python3.14/site-packages/libtorrent.so
Upstream-Status: Inappropriate [ OE specific ]
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
---
bindings/python/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bindings/python/CMakeLists.txt b/bindings/python/CMakeLists.txt
index 4e8ee816b..ee9566afc 100644
--- a/bindings/python/CMakeLists.txt
+++ b/bindings/python/CMakeLists.txt
@@ -96,7 +96,7 @@ else()
execute_process(
COMMAND "${Python3_EXECUTABLE}" -c [=[
import sysconfig
-print(sysconfig.get_path('platlib', vars={'platbase': '', 'base': ''}))
+print(sysconfig.get_path('platlib', vars={'platbase': '/usr', 'base': ''}))
]=]
OUTPUT_VARIABLE _PYTHON3_SITE_ARCH
OUTPUT_STRIP_TRAILING_WHITESPACE
--
2.43.0