mirror of
https://git.yoctoproject.org/poky
synced 2026-02-22 01:19:41 +01:00
The project did not publish release notes, but the list of changes is available at [0]. The new release brings a fix for [1] and ships the patch to build with CMake 4+. [0]: https://github.com/rpm-software-management/libcomps/compare/0.1.21...0.1.22 [1]: https://bugzilla.redhat.com/show_bug.cgi?id=2331665 (From OE-Core rev: c780e8a17d80de4d2845092874153a4bb29f7493) Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25 lines
1.4 KiB
Diff
25 lines
1.4 KiB
Diff
From 159ad0e19f4c5d7fe357378c00db19c1106e62c4 Mon Sep 17 00:00:00 2001
|
|
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
Date: Fri, 30 Dec 2016 18:22:09 +0200
|
|
Subject: [PATCH] Do not set PYTHON_INSTALL_DIR by running python.
|
|
|
|
Upstream-Status: Inappropriate [oe-core specific]
|
|
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
---
|
|
libcomps/src/python/src/CMakeLists.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/libcomps/src/python/src/CMakeLists.txt b/libcomps/src/python/src/CMakeLists.txt
|
|
index d22b84e..ad67309 100644
|
|
--- a/libcomps/src/python/src/CMakeLists.txt
|
|
+++ b/libcomps/src/python/src/CMakeLists.txt
|
|
@@ -85,7 +85,7 @@ IF (SKBUILD)
|
|
INSTALL(FILES libcomps/__init__.py DESTINATION libcomps/src/python/src/libcomps)
|
|
INSTALL(TARGETS pycomps LIBRARY DESTINATION libcomps/src/python/src/libcomps)
|
|
ELSE ()
|
|
- EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from sysconfig import get_path; stdout.write(get_path('platlib'))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
|
|
+ #EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from sysconfig import get_path; stdout.write(get_path('platlib'))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
|
|
|
|
INSTALL(FILES ${pycomps_SRCDIR}/libcomps/__init__.py DESTINATION ${PYTHON_INSTALL_DIR}/libcomps)
|
|
#INSTALL(FILES ${pycomps_SRCDIR}/tests/__test.py DESTINATION
|