[packages/ka5-step] - /usr/bin/python was found instead of python3

witekfl witekfl at pld-linux.org
Thu Dec 8 23:04:00 CET 2022


commit 870cbf7e762cc82aa631abe8e0cb54f35a9c357d
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Thu Dec 8 23:02:54 2022 +0100

    - /usr/bin/python was found instead of python3

 python.patch | 12 ++++++++++++
 1 file changed, 12 insertions(+)
---
diff --git a/python.patch b/python.patch
new file mode 100644
index 0000000..e0ede15
--- /dev/null
+++ b/python.patch
@@ -0,0 +1,12 @@
+diff -up step-22.12.0/step/data/CMakeLists.txt.ddd step-22.12.0/step/data/CMakeLists.txt
+--- step-22.12.0/step/data/CMakeLists.txt.ddd
++++ step-22.12.0/step/data/CMakeLists.txt
+@@ -37,7 +37,7 @@
+         separate_arguments(_extractxml_args_copy)
+         file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${_lang})
+         add_custom_command(OUTPUT ${_xmlfile_tr}
+-            COMMAND ${PYTHON_EXECUTABLE} ${EXTRACTXML_EXECUTABLE} --translate --mo-file=${_mo_file} --output-dir=${CMAKE_CURRENT_BINARY_DIR}/${_lang} ${_extractxml_args_copy} ${_xmlfile}
++            COMMAND ${EXTRACTXML_EXECUTABLE} --translate --mo-file=${_mo_file} --output-dir=${CMAKE_CURRENT_BINARY_DIR}/${_lang} ${_extractxml_args_copy} ${_xmlfile}
+             WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
+             DEPENDS ${_xmlfile} ${_mo_file}
+         )
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka5-step.git/commitdiff/4161fbde347ba0c3eb36ad66c9ed99e8462fcbdd



More information about the pld-cvs-commit mailing list