From d58177e01e98f84e39c2c7edbddf719cbfccec7b Mon Sep 17 00:00:00 2001 From: Holger Jaekel Date: Thu, 12 Sep 2019 17:47:01 +0200 Subject: testing/libkml: new aport --- testing/libkml/40-dont-bytecompile.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 testing/libkml/40-dont-bytecompile.patch (limited to 'testing/libkml/40-dont-bytecompile.patch') diff --git a/testing/libkml/40-dont-bytecompile.patch b/testing/libkml/40-dont-bytecompile.patch new file mode 100644 index 0000000000..8fa4bff45d --- /dev/null +++ b/testing/libkml/40-dont-bytecompile.patch @@ -0,0 +1,16 @@ +Author: Holger Jaekel +Summary: Don't install bytecompiled python files +---- + +--- a/src/swig/CMakeLists.txt ++++ b/src/swig/CMakeLists.txt +@@ -36,7 +36,6 @@ if(WITH_PYTHON) + + install(FILES + ${CMAKE_CURRENT_BINARY_DIR}/${MODULE_NAME}.py +- ${CMAKE_CURRENT_BINARY_DIR}/${MODULE_NAME}.pyc + DESTINATION ${PYTHON_INSTALL_DIR}) + + endforeach() + + endif(WITH_PYTHON) -- cgit v1.2.3